Quantum Gibbs state
For a finite quantum system, the Gibbs state is the normalized exponential of minus inverse temperature times the Hamiltonian.
Let be a Hamiltonian on a finite-dimensional Hilbert space and let . The quantum Gibbs state at inverse temperature is
It is a density operator, and its expectation functional is .
Spectral form
If is the spectral decomposition into distinct eigenvalues and their spectral projections, then
Thus the probability assigned to the -eigenspace is proportional to .
Variational characterization
Remarks
The state commutes with , hence is stationary. On the full matrix algebra it is also the unique state satisfying the KMS condition for the dynamics generated by .