Skip to content
DAH
Wiki/Quantum SimulationAlgorithmEmerging

Quantum Gibbs sampling and thermal state preparation

Quantum analogues of Markov chain Monte Carlo that prepare thermal states e^(−βH)/Z on a quantum computer; efficient samplers now exist, but fast mixing is proven only at high temperature or for special models.

On this page14 sections
Why other work relies on it

Thermal states give the finite-temperature properties of materials and starting states for ground-state algorithms, and low-temperature Gibbs sampling is a candidate route to useful quantum advantage if its mixing can be proven fast.

Using a quantum computer to prepare a material's state at a given temperature, as Monte Carlo does on ordinary computers.

  1. 1Thermal states describe materials at temperature
  2. 2Classical Monte Carlo hits sign problem
  3. 3Quantum sampler mimics a heat bath
  4. 4Cost set by how fast it settles
  5. 5Fast settling proven only when hot

Thermal states. At temperature TT, a quantum system with Hamiltonian HH is described by the Gibbs state ρβ=e−βH/Z\rho_\beta=e^{-\beta H}/Z, with β=1/(kBT)\beta=1/(k_BT) and Z=Tr e−βHZ=\mathrm{Tr}\,e^{-\beta H} the partition function. It weights each energy level EE by the Boltzmann factor e−βEe^{-\beta E}, as in first-year thermodynamics. Low temperature (large β\beta) favours low energies.

Classical Monte Carlo. The Metropolis algorithm proposes a random change and accepts it with probability min⁡(1,e−βΔE)\min(1,e^{-\beta\Delta E}); after enough steps (the mixing time) the configurations follow the Boltzmann distribution. Quantum Monte Carlo extends this to some quantum systems, but for many fermionic and frustrated systems some weights become negative (the sign problem) and the averages need exponentially many samples.

Quantum samplers. A quantum computer can run a Lindbladian, an equation for an open system that loses and gains energy from a bath, designed so its only resting point is ρβ\rho_\beta. The 2023 construction of Chen, Kastoryano and Gilyén is efficient to implement: its cost is Hamiltonian simulation for a time proportional to the mixing time times β\beta.

What is proven. At high temperature the mixing is fast, but there Gibbs states are also unentangled and classically samplable. At temperatures that fall as the system grows, the problem is as hard as any quantum computation. For specially designed commuting models, constant-temperature sampling is fast and classically hard. The missing case is realistic materials models at low but fixed temperature.

Detailed balance. Classical samplers are designed so that, in equilibrium, the flow from state aa to bb equals the flow back; this guarantees the Boltzmann distribution is a resting point. Quantum samplers use a quantum version of the same condition, which is hard to satisfy exactly when the Hamiltonian's terms do not commute, and this was the main obstacle solved in 2023.

Go deeper

The full technical text.

The task

Given a local Hamiltonian HH on nn qubits and an inverse temperature β\beta, prepare the Gibbs state ρβ=e−βH/Tr e−βH\rho_\beta=e^{-\beta H}/\mathrm{Tr}\,e^{-\beta H} to accuracy ε\varepsilon in trace distance, or sample measurement outcomes from it. Classically, Markov chain Monte Carlo handles Hamiltonians without a sign problem through quantum Monte Carlo, but fails for many fermionic and frustrated systems where the sign problem appears.

Algorithms

Early quantum algorithms were either expensive in general, such as the method of Poulin and Wocjan (2009) whose cost involves the dimension divided by the partition function, or hard to analyse, such as the quantum Metropolis algorithm of Temme et al. (Nature 2011). The modern approach mimics a system coupled to a bath with a Lindbladian (a continuous-time quantum Markov chain) whose fixed point is ρβ\rho_\beta. Kastoryano and Brandão (2016) analysed commuting Hamiltonians and showed that the spectral gap is tied to decay of correlations in the Gibbs state. Chen, Kastoryano, Brandão and Gilyén (2023) gave an efficiently implementable approximate construction, and Chen, Kastoryano and Gilyén (2023) gave the first efficiently implementable Lindbladian with exact detailed balance for non-commuting Hamiltonians, a quantum analogue of Metropolis–Hastings; its cost is Hamiltonian simulation for time proportional to the mixing time times β\beta, up to polylogarithmic factors. Ding, Li and Lin (2025) generalised the construction through the Kubo–Martin–Schwinger detailed-balance condition.

What is known about mixing

The cost of all these samplers is the mixing time. Rouzé, Stilck França and Alhambra (Nat. Phys. 2026) proved polynomial mixing at high enough temperature for any Hamiltonian with a Lieb–Robinson bound, and showed that at inverse temperatures growing polynomially with system size the dynamics can encode any polynomial-time quantum computation. At high temperature, however, quantum computers are not needed: Bakshi, Liu, Moitra and Tang (2024) proved that Gibbs states of local Hamiltonians are unentangled above a constant temperature and can be sampled with depth-one circuits plus classical computation, and cluster-expansion methods (Harrow, Mehraban and Soleimanifar, STOC 2020) compute high-temperature partition functions classically. In the other direction, Bergamaschi, Chen and Liu (FOCS 2024) designed commuting Hamiltonians whose Gibbs states at constant temperature mix rapidly yet are classically hard to sample, a quantum advantage for a designed model. Slow mixing at low temperature has been proven for some families (Gamarnik, Kiani and Zlokapa, 2024).

The gap

What is missing is a proof of fast mixing at low constant temperature for a physically motivated, non-commuting model, in a regime where classical methods fail. That is the open problem attached to this entry.

Words on this page (7)
Words on this page
Gibbs state
The thermal state e^(−βH)/Z, weighting each energy by its Boltzmann factor.
partition function
The normalising sum Z of Boltzmann factors over all states.
Markov chain Monte Carlo
Sampling from a distribution by a random walk that settles into it.
mixing time
How long a random process takes to settle into its steady distribution.
sign problem
Negative or complex weights that make quantum Monte Carlo averages exponentially noisy.
Lindbladian
The generator of an open quantum system's evolution when it exchanges energy with an environment.
quantum Monte Carlo
Classical Monte Carlo methods for quantum systems.
New to this? Read first (2)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before Quantum Gibbs sampling and thermal state preparation (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Nov 6, 2024
    Slow mixing examples
    Related to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting model

    Gamarnik, Kiani and Zlokapa proved slow mixing for some quantum Gibbs samplers at low temperature.

    source
  2. Apr 23, 2024
    Constant-temperature advantage for a designed model

    Bergamaschi, Chen and Liu proved a sampling advantage for commuting Hamiltonians at constant temperature.

    source
  3. Apr 23, 2024
    Designed constant-temperature advantage
    Related to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting model

    Bergamaschi, Chen and Liu proved a quantum advantage for sampling commuting Gibbs states at constant temperature.

    source
  4. Mar 25, 2024
    High-temperature states are separable

    Bakshi, Liu, Moitra and Tang showed Gibbs states above a constant temperature are unentangled and classically samplable.

    source
  5. Mar 19, 2024
    High-temperature fast mixing

    Rouzé, Stilck França and Alhambra proved polynomial mixing at high temperature.

    source
  6. Mar 19, 2024
    High-temperature mixing and low-temperature universality
    Related to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting model

    Rouzé, Stilck França and Alhambra proved fast mixing at high temperature and BQP-universality at polynomial β.

    source
  7. Nov 15, 2023
    Exact noncommutative sampler
    Related to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting model

    Chen, Kastoryano and Gilyén constructed an efficient exactly detailed-balanced Lindbladian.

    source
  8. Nov 15, 2023
    Exact detailed-balance sampler

    Chen, Kastoryano and Gilyén gave an efficiently implementable exactly detailed-balanced Lindbladian.

    source
  9. Sep 11, 2014
    Commuting Gibbs samplers

    Kastoryano and Brandão tied the spectral gap of commuting samplers to correlation decay.

    source
  10. Nov 18, 2009
    Quantum Metropolis sampling

    Temme et al. proposed a quantum Metropolis algorithm (Nature 2011).

    source