{'fraction_non_alphanumeric': 0.0229459659511473, 'fraction_numerical': 0.0, 'mean_word_length': 5.2304147465437785, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Work extraction in an isolated quantum lattice system: Grand canonical and generalized Gibbs ensemble predictions.

We study work extraction (defined as the difference between the initial and the final energy) in noninteracting and (effectively) weakly interacting isolated fermionic quantum lattice systems in one dimension, which undergo a sequence of quenches and equilibration. The systems are divided in two parts, which we identify as the subsystem of interest and the bath. We extract work by quenching the on-site potentials in the subsystem, letting the entire system equilibrate, and returning to the initial parameters in the subsystem using a quasistatic process (the bath is never acted upon). We select initial states that are direct products of thermal states of the subsystem and the bath, and consider equilibration to the generalized Gibbs ensemble (GGE, noninteracting case) and to the Gibbs ensemble (GE, weakly interacting case). We identify the class of quenches that, in the thermodynamic limit, results in GE and GGE entropies after the quench that are identical to the one in the initial state (quenches that do not produce entropy). Those quenches guarantee maximal work extraction when thermalization occurs. We show that the same remains true in the presence of integrable dynamics that results in equilibration to the GGE.