Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Gibbs states

A Gibbs state is the equilibrium density operator proportional to the exponential of minus inverse temperature times a specified Hamiltonian.

Also called thermal Gibbs state, canonical thermal state

Edition released Coverage: Overview · Technical · Research
On this page

Definition and normalization

For Hamiltonian H with energy levels Ej, the canonical Gibbs state is rho_beta=exp(-beta H)/Z, where Z=sum_j exp(-beta Ej). The partition function Z ensures trace one. In the energy basis, populations follow Boltzmann weights. The density operator is not generally proportional to the identity except at infinite temperature or within a degenerate, specially restricted setting.

Solved two-level state

Choose energies 0 and epsilon and beta epsilon=ln 3. The unnormalized weights are 1 and 1/3, so Z=4/3. Ground and excited populations are 3/4 and 1/4. Mean energy is epsilon/4. Entropy in bits is -0.75 log2(0.75)-0.25 log2(0.25)=0.8112781 bits. The state is mixed even though the Hamiltonian is exactly known.

Temperature and energy shifts

Adding a constant c to every energy multiplies numerator and Z by exp(-beta c), leaving rho unchanged. Mean energy shifts by c, but observable energy differences and equilibrium populations remain the same. This is a useful check on formulas. Changing the gap epsilon, by contrast, changes the population ratio exp(-beta epsilon) and therefore the state at fixed temperature.

Limits and ensemble choice

A system can fail to reach a Gibbs state because it is isolated, driven, integrable, constrained or coupled to a nonthermal environment. Conserved quantities can require a generalized ensemble. Negative inverse temperatures are meaningful only for suitable bounded spectra and should not be described as colder than absolute zero. The phrase thermal state must identify the Hamiltonian, temperature and relevant constraints.

Relation to quantum computation

Thermal populations matter for initialization errors, noise and some sampling algorithms. Preparing a Gibbs state of an interacting Hamiltonian can itself be computationally difficult. A simple product of local thermal states is not generally the Gibbs state of a strongly interacting many-body system. Quantum algorithms for thermal properties must include state-preparation and partition-function or observable-estimation assumptions.

Normalization produces the partition function

For a finite system with Hamiltonian H and inverse temperature beta=1/(k_B T), the Gibbs state is rho_beta=exp(-beta H)/Z, where Z=Tr[exp(-beta H)] normalizes the state. If H has energy eigenvalues E_j, the population of level j is exp(-beta E_j)/Z. Degeneracy contributes one term for each orthogonal state at that energy, so a degenerate energy level can have a larger total population than one nondegenerate state with the same Boltzmann factor.

Adding a constant cI to H multiplies numerator and partition function by exp(-beta c), leaving the normalized Gibbs state unchanged. The energy origin changes the reported internal energy by c but not the relative thermal populations. This is a useful consistency check when comparing Hamiltonian conventions across records.

A fully solved two-level thermal state

Let energies be 0 and Delta>0. Then Z=1+exp(-beta Delta), the excited-state probability is p=1/[1+exp(beta Delta)], and U=Delta p. At beta Delta=ln 3, the excited population is 1/4 and the ground population is 3/4. The entropy in bits is h2(1/4), approximately 0.811278. Physical entropy uses natural logarithms and is k_B times approximately 0.562335.

As T increases without bound for this finite spectrum, beta tends to zero and both populations tend to one half. As T approaches zero from above, the excited population tends to zero. For a degenerate ground subspace, the limiting Gibbs state is uniform on that subspace within this equilibrium construction; it is not automatically one chosen pure ground state.

The heat capacity depends on fluctuations

Differentiating U with respect to T gives C/k_B=(beta Delta)^2 p(1-p) for the two-level system. More generally, for a fixed Hamiltonian in the canonical ensemble, C=Var(H)/(k_B T^2). This relates a response coefficient to equilibrium energy fluctuations. The derivation assumes the Hamiltonian itself is not changing with temperature through a separately modeled control or effective parameter.

For the two-level case, C tends to zero at very low temperature because excitations are rare, and also at very high temperature because populations are nearly equal and change slowly with T. The intermediate peak reflects the temperature range in which thermal population redistribution is most responsive. A plot should use the dimensionless variable beta Delta or an explicitly stated energy scale.

A thermal-looking marginal need not prove global equilibrium

A subsystem can have a density operator that matches a Gibbs form while the larger system is in a pure entangled state. The reduced state predicts local measurements, but it does not specify all system-environment correlations or the dynamical route that produced it. Conversely, a driven open system may reach a stationary state that is not Gibbs with respect to its bare Hamiltonian.

An experimental fit of populations to a temperature therefore has a defined evidentiary scope. It may characterize a local distribution without proving that every degree of freedom shares a common equilibrium temperature. The relevant Hamiltonian, accessible observables and possible correlations should be stated.

Degeneracy changes total level populations

Suppose a ground level of energy zero is nondegenerate and an excited energy Delta has degeneracy g. The partition function is Z=1+g exp(-beta Delta). The total excited-level probability is g exp(-beta Delta)/[1+g exp(-beta Delta)], although each individual excited eigenstate has probability exp(-beta Delta)/Z.

For g=3 and beta Delta=ln 3, the excited level has total probability one half, while each of its three states has probability one sixth. The ground state also has probability one half. By contrast, the nondegenerate two-level example at the same beta Delta has excited probability one quarter. The Boltzmann factor alone does not determine a level's total population without its multiplicity.

An individual eigenstate and a degenerate energy level count differently. Multiple independent states can share one energy. A plot that combines several states into one bar must state that the bar represents their summed probability. This is especially relevant when comparing a simplified qubit thermal model with a physical device that has leakage levels, degeneracies or additional modes.

Sources

  • John Goold; Marcus Huber; Arnau Riera; Lidia del Rio; Paul Skrzypczyk · Review article · Peer-reviewed publication recorded · DOI link · DOI 10.1088/1751-8113/49/14/143001
    Verification scope

    Metadata and abstract checked ·

    Publisher metadata and abstract verified; original preprint arXiv:1505.07835 submitted 2015-05-28. Scope is a topical review, not a complete treatment of all thermodynamic conventions.

  • Pritam Chattopadhyay; Avijit Misra; Tanmoy Pandit; Goutam Paul · Research paper · Preprint recorded · arXiv · DOI 10.1088/1361-6633/add6b3
    Verification scope

    Recorded source check ·

    First date is preprint submission. Journal reference Rep. Prog. Phys. 88, 086001 (2025); abstract and version history checked. General erasure bounds require their thermodynamic assumptions.