The paper deals with "quantization" and "second quantization" of phenomenological thermodynamics with respect to the Boltzmann's constant. It is suggested to perceive the quasithermodynamic parameter (corresponding to the Boltzmann's constant) as a mathematical analogue of the semiclassical parameter (corresponding to the Planck's constant), and to introduce a new concept of a "thermocorpuscle" (a thermodynamic analogue of a particle where the coordinates are replaced by the nonequilibrium thermodynamic forces and the momenta are replaced by the corresponding flows). The semiclassical quantization of phenomenological thermodynamic Lagrangian manifolds yields a new system of equations for the quasithermodynamic fluctuations along a curve of evolution of a nonequilibrium physical system. This leads to a quasithermodynamic analogue of Bell's inequalities and their violation is a new effect that can be tested experimentally. The generating function of the quasithermodynamic fluctuations (the nonequilibrium analogue of a partition function) is interpreted as an expectation value of a second quantized operator expressed via the density of thermocorpuscles. An analogue of the BBGKY chain of equations defines a deformation of the fluctuations by an interaction between the thermocorpuscles. In place of an interaction parameter in mechanics (the "external" Planck's constant), one introduces the "external" Boltzmann's constant for an asymptotic expansion of the thermodynamic collision integral.
Equilibrium thermodynamics emerges because a vast number of microscopic states become indistinguishable at the level of local observables. We start from the observation that a nonequilibrium quantum state can also be represented by an ensemble of pure states that minimizes the average energy variance. We show that varying the statistical weights within this optimal family organizes state space into ``minimum-variance leaves'', which generalize the space of stationary states underlying equilibrium. We observe thermodynamic compression on the leaves, which in the simplest scenario manifests itself in the indistinguishability of states with the same energy density. We call this ``leaf typicality''; at equilibrium it reduces to eigenstate thermalization or its generalizations. Numerical tests support leaf typicality on some leaves and indicate a breakdown of its stronger forms on others, suggesting a rich thermodynamic organization beyond equilibrium. These results open a route to a unified statistical mechanics of equilibrium and nonequilibrium quantum states.
The purpose of this work is to discuss recent progress in deriving the fundamental laws of thermodynamics (0th, 1st and 2nd-law) from nonequilibrium quantum statistical mechanics. Basic thermodynamic notions are clarified and different reversible and irreversible thermodynamic processes are studied from the point of view of quantum statistical mechanics. Special emphasis is put on new adiabatic theorems for steady states close to and far from equilibrium, and on investigating cyclic thermodynamic processes using an extension of Floquet theory.