Quantum Gibbs state
For a finite quantum system, the Gibbs state is exp(-beta H) normalized by its trace.
Let be a Hamiltonian on a finite-dimensional Hilbert space and let . The quantum Gibbs state at inverse temperature is the density operator
Its expectation functional is .
Spectral form
If , then
Thus the Gibbs weight of an energy eigenspace is proportional to times its degeneracy.
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 .