Thermal Density Operators
For a quantum system with Hamiltonian in equilibrium at absolute temperature , the canonical thermal state is the Gibbs density operator
where
The partition function normalizes the operator:
This page is the canonical home for the general operator structure of Gibbs states. Density operators as quantum states belong to Core Formalism. The later canonical-ensemble page develops fixed-temperature thermodynamics, and the grand-canonical page replaces by when particle number can fluctuate.
Assumptions Behind the Formula
Section titled “Assumptions Behind the Formula”In a finite-dimensional Hilbert space, is well defined for every self-adjoint and every finite real . For the usual positive-temperature state, .
In an infinite-dimensional Hilbert space, more is required:
- must be self-adjoint.
- The exponential must be trace class.
- The partition function must satisfy
A Hamiltonian bounded below with a sufficiently fast-growing discrete spectrum often satisfies these conditions for . They can fail for an unconfined continuum system in infinite volume or for spectra with excessive degeneracy.
When diverges, the formal ratio is not a density operator. One must regulate the system, work in finite volume, use densities per volume, or adopt an infinite-system equilibrium formalism.
Operator Exponential
Section titled “Operator Exponential”The notation is defined by functional calculus. In finite dimension it can be represented by the convergent series
The spectral theorem gives the more useful form. If
where projects onto the eigenspace with energy , then
Therefore
The formula is basis independent. The energy eigenbasis merely makes its probabilities visible.
Energy-Basis Representation
Section titled “Energy-Basis Representation”For a nondegenerate discrete spectrum,
the thermal state is
with
Thus an energy measurement returns with Boltzmann probability .
The state is generally mixed:
whenever more than one energy eigenstate has nonzero weight. At finite positive temperature in finite dimension, every energy eigenstate has nonzero weight and has full rank.
Degeneracy
Section titled “Degeneracy”Let the energy have degeneracy
Every normalized vector in that eigenspace receives the same weight per basis state:
The probability of measuring the energy is
The factor belongs to the probability of the energy value, not to the weight of each orthonormal microstate.
Because is proportional to the identity within a degenerate eigenspace, it does not choose a preferred basis there. A basis rotation within that eigenspace cannot create physical thermal coherence.
Basic Operator Properties
Section titled “Basic Operator Properties”Positivity
Section titled “Positivity”For every ,
After normalization,
Hermiticity
Section titled “Hermiticity”Since and is real,
Commutation with the Hamiltonian
Section titled “Commutation with the Hamiltonian”The Gibbs state is a function of , so
Stationarity
Section titled “Stationarity”Under the same time-independent Hamiltonian,
Stationarity is necessary for equilibrium but not sufficient. Any density operator diagonal in the energy basis is stationary, and many stationary states are not Gibbs states.
Invariance Under an Energy-Zero Shift
Section titled “Invariance Under an Energy-Zero Shift”Replace the Hamiltonian by
Then
The scalar factor cancels:
Thermal probabilities do not depend on the arbitrary zero of energy. Thermodynamic potentials such as do shift by the corresponding extensive energy constant, so one must distinguish state invariance from potential conventions.
Thermal Expectation Values
Section titled “Thermal Expectation Values”For any observable ,
In a discrete energy basis,
Only the energy-basis diagonal matrix elements of enter this one-time expectation, even when . Off-diagonal matrix elements remain essential for time-dependent correlations and response functions.
For a function ,
The quantum trace has reduced the calculation to a weighted spectral sum.
Energy Moments from the Partition Function
Section titled “Energy Moments from the Partition Function”Differentiating gives
so the mean energy is
A second derivative gives the energy variance:
Thus
For a temperature-independent Hamiltonian,
These identities are canonical-ensemble statements. They appear here because they reveal what information is encoded by the operator normalization; the canonical-ensemble page develops their thermodynamic interpretation and qualifications.
Entropy of a Gibbs State
Section titled “Entropy of a Gibbs State”The von Neumann entropy with thermodynamic units is
For the Gibbs state,
so
Using gives
This entropy is the entropy of the full thermal mixed state. It should not be confused with the entanglement entropy of a subsystem in a pure state, though reduced thermal states can also carry entanglement and classical correlations.
Relation to Maximum Entropy
Section titled “Relation to Maximum Entropy”Among density operators with fixed normalization and fixed mean energy,
the Gibbs state uniquely maximizes the von Neumann entropy under standard finite-dimensional full-rank assumptions.
Introduce multipliers and and vary
Stationarity gives
Exponentiating and imposing unit trace yields
The multiplier is identified thermodynamically as . The maximum-entropy statement does not claim that the system dynamically reaches the Gibbs state. It identifies the least-biased state consistent with the stated constraints. Maximum Entropy Principle gives the general relative-entropy proof, multiplier duality, and boundary cases.
Relative-Entropy Characterization
Section titled “Relative-Entropy Characterization”The Gibbs state also minimizes the nonequilibrium free-energy functional
at fixed and . Using quantum relative entropy,
one finds
This identity concerns an equilibrium variational principle. Claims about extractable work, thermal operations, or irreversible entropy production require an operational or dynamical framework and belong in quantum thermodynamics.
High-Temperature Limit
Section titled “High-Temperature Limit”For a finite -dimensional Hilbert space,
The state becomes maximally mixed. To first order,
where
The subtraction of preserves normalization at first order.
In an infinite-dimensional space, the formal maximally mixed state does not exist. The limit can make diverge, so high-temperature statements must be made for regulated systems or appropriate observables.
Zero-Temperature Limit
Section titled “Zero-Temperature Limit”Let the ground energy be and the ground-space projector be with degeneracy .
As ,
For a nondegenerate ground state,
For a degenerate ground space, the Gibbs limit without additional fields or boundary conditions is the equal mixture on that space, not a selected pure ground state.
If the first excited energy is separated by a gap
low-temperature corrections are suppressed by factors of order
In a thermodynamic limit the gap can close, degeneracies can grow, and the order of , volume, and source limits can matter.
Negative Temperatures
Section titled “Negative Temperatures”The formula permits only when
remains finite. This typically requires a spectrum bounded above as well as below.
For , higher-energy states receive larger Boltzmann weights. Such a state is hotter than every positive-temperature Gibbs state in the thermodynamic sense associated with population inversion; it is not colder than zero.
An unbounded-above Hamiltonian such as the harmonic oscillator does not admit a normalizable negative-temperature Gibbs state. Population inversion in a subsystem is not by itself enough; the equilibrium constraints and bounded spectrum must be specified.
Imaginary-Time Interpretation
Section titled “Imaginary-Time Interpretation”Real-time evolution is generated by
After the formal substitution
the propagator becomes
Setting
produces the unnormalized Gibbs operator . The partition function is its trace:
In path-integral language, the trace identifies the endpoints and produces an imaginary-time circle of circumference . Bosonic and fermionic fields obey different imaginary-time boundary conditions.
This relation is structural, not a claim that a physical system literally evolves for imaginary time. Imaginary Time owns the operator semigroup, trace-class conditions, ensemble generator, and open-versus-closed boundary dictionary. The full path-integral construction lives in Euclidean and Imaginary-Time Path Integrals.
Thermal State Versus Thermalization
Section titled “Thermal State Versus Thermalization”The Gibbs operator specifies an equilibrium state. It does not specify how that state is prepared or reached.
A closed isolated system evolves unitarily:
Its full spectrum as a density operator is conserved, so generic unitary evolution cannot turn an arbitrary pure global state into the mixed state . Thermalization of an isolated many-body system concerns local observables, reduced states, dephasing, and ensembles, not literal convergence of the full pure state in trace norm.
An open system can relax toward a Gibbs state under appropriate bath, weak-coupling, Markovian, and detailed-balance assumptions. A thermal fixed point is a dynamical conclusion, not part of the definition of .
Quantum Annealing may use a Gibbs distribution only as a declared equilibrium comparator or as a consequence of a licensed dynamical model; it owns the schedule-dependent endpoint and freeze-out record. This page retains the definition and thermodynamic interpretation of equilibrium density operators.
Reduced Equilibrium at Strong Coupling
Section titled “Reduced Equilibrium at Strong Coupling”Let a system interact with a bath :
The joint equilibrium state is
The reduced system state is
When is not negligible, this need not equal
It can be written using a Hamiltonian of mean force, which depends on temperature and coupling. The bare Gibbs state of is an approximation whose regime must be stated.
The canonical open-system caveats live in Strong-Coupling Open-System Effects.
Generalized Exponential States
Section titled “Generalized Exponential States”If several commuting conserved quantities are constrained, maximum entropy gives
The grand-canonical state is the important example
Integrable systems may require a generalized Gibbs ensemble involving many conserved charges. These states are not ordinary canonical Gibbs states unless the additional multipliers vanish or the charges are redundant.
For noncommuting constraints, the variational problem is still meaningful but its operational interpretation and parameterization require care. One should not import classical joint-distribution intuition without checking the operator structure. The general construction and Kubo–Mori response matrix are developed in Maximum Entropy Principle.
Example: Two-Level System
Section titled “Example: Two-Level System”Choose the ground energy to be zero and let
Then
and
The excited-state population is
The mean energy is
As , the state approaches . As , both levels have probability .
The plus sign in this two-level expression does not make it a Fermi–Dirac gas. It follows from a partition function with exactly two available levels for one finite system.
Example: Harmonic Oscillator
Section titled “Example: Harmonic Oscillator”For
the partition function is
The thermal state is diagonal in number states:
The zero-point factor cancels from the normalized state. The mean occupation is
For , the geometric sum converges. For , it diverges, illustrating why an unbounded-above spectrum cannot support a negative-temperature Gibbs state.
Example: Free Particle and Volume Regularization
Section titled “Example: Free Particle and Volume Regularization”For a free particle on all of ,
the position volume is infinite and the canonical trace diverges. Place the particle in a finite box of volume first. In the large-box continuum approximation,
where
is the thermal de Broglie wavelength.
The divergence proportional to is physical state counting. It is handled by finite-volume normalization and the thermodynamic limit, not by pretending that is trace class on infinite-volume one-particle space.
Canonical Boundaries
Section titled “Canonical Boundaries”This page owns:
- the definition and spectral form of ;
- normalization, positivity, stationarity, and energy-shift invariance;
- general thermal expectation values;
- the fixed-mean-energy Gibbs variation and relative-entropy free-energy characterization;
- high-, low-, and negative-temperature state limits;
- the imaginary-time interpretation;
- trace-class and strong-coupling caveats.
Other pages own:
- density operators as general quantum states: Core Formalism;
- trace, spectral-sum, factorization, and cumulant properties of : Partition Functions;
- canonical free energies, heat capacity, and fixed-temperature thermodynamics: Canonical Ensemble;
- variable particle number and chemical potential: Grand-Canonical Ensemble;
- suppression of Bose and Fermi exchange corrections in the dilute regime: Classical Limit of Quantum Statistics;
- general constrained-entropy inference and exponential families: Maximum Entropy Principle;
- the thermodynamic-potential network and Legendre transforms: Thermodynamic Potentials;
- equilibrium entropy identification and coarse-graining caveats: Entropy in Quantum Statistical Mechanics;
- closed-system dynamical approach to equilibrium: Relaxation and Thermalization;
- work, heat, resource theories, and fluctuation relations: Quantum Thermodynamics;
- the shared imaginary-time, KMS, spectral, and path-integral roadmap: Finite-Temperature QM Overview;
- the compact-time transform and discrete frequency-sum workflow: Matsubara Formalism Preview;
- full imaginary-time path-integral construction: dynamics and finite-temperature field-theory pages.
Common Mistakes
Section titled “Common Mistakes”- Forgetting the normalization .
- Treating as trace class without checking the spectrum or volume.
- Calling every energy-diagonal stationary state thermal.
- Assuming a Gibbs state is a pure energy eigenstate at finite temperature.
- Multiplying each degenerate microstate by the degeneracy factor .
- Interpreting basis rotations within a degenerate eigenspace as thermal coherence.
- Thinking that shifting the energy zero changes .
- Replacing thermal expectation values by unweighted averages over eigenstates.
- Confusing the maximally mixed high-temperature limit with an infinite-dimensional identity state.
- Claiming a selected pure ground state when the zero-temperature Gibbs limit has a degenerate ground space.
- Using negative temperature for a spectrum unbounded above.
- Treating imaginary time as literal laboratory time.
- Assuming the reduced state of a strongly coupled subsystem is the bare Gibbs state of .
- Confusing the definition of a thermal state with a proof of thermalization.
- Confusing thermal entropy with entanglement entropy.
Exercises
Section titled “Exercises”Energy-shift invariance
Section titled “Energy-shift invariance”Show directly that replacing by leaves every thermal expectation value unchanged.
Solution
The shifted partition function is
Therefore
For every observable ,
Degenerate ground space
Section titled “Degenerate ground space”A finite Hamiltonian has a threefold-degenerate ground energy and a gap to all excited states. Find the positive-temperature Gibbs limit as .
Solution
Let project onto the three-dimensional ground space. Factoring from numerator and denominator shows that excited-state terms vanish exponentially relative to the ground terms. Hence
The limit is an equal mixture on the ground space. A pure symmetry-broken or boundary-selected ground state requires an additional selection procedure and a specified order of limits.
Two-level purity
Section titled “Two-level purity”For the two-level Hamiltonian
compute and its limits as and .
Solution
The probabilities are
Therefore
As , the purity tends to . As , it tends to , the purity of the maximally mixed qubit state.
Entropy identity
Section titled “Entropy identity”Starting from , derive the Gibbs-state entropy and Helmholtz free energy.
Solution
Substitute into the von Neumann entropy:
Since ,
Bare Gibbs state at strong coupling
Section titled “Bare Gibbs state at strong coupling”Explain why
need not equal .
Solution
When is non-negligible, the exponential generally does not factor:
The joint equilibrium contains system–bath correlations and interaction-energy contributions. Tracing over the bath therefore produces a reduced state governed by a Hamiltonian of mean force rather than necessarily by the bare .
The bare Gibbs approximation can become accurate in a suitable weak-coupling regime, but it is an approximation with assumptions, not an operator identity.
Cross-Links
Section titled “Cross-Links”References
Section titled “References”- R. K. Pathria and P. D. Beale, Statistical Mechanics, 3rd ed., Elsevier (2011).
- K. Huang, Statistical Mechanics, 2nd ed., Wiley (1987).
- M. Kardar, Statistical Physics of Particles, Cambridge University Press (2007).
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press (2020), chapter on identical particles and statistical mechanics.
- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press (1955).
- H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press (2002).
- H. B. Callen and T. A. Welton, “Irreversibility and generalized noise,” Physical Review 83, 34–40 (1951).