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
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.
- 1Thermal states describe materials at temperature
- 2Classical Monte Carlo hits sign problem
- 3Quantum sampler mimics a heat bath
- 4Cost set by how fast it settles
- 5Fast settling proven only when hot
Thermal states. At temperature , a quantum system with Hamiltonian is described by the Gibbs state , with and the partition function. It weights each energy level by the Boltzmann factor , as in first-year thermodynamics. Low temperature (large ) favours low energies.
Classical Monte Carlo. The Metropolis algorithm proposes a random change and accepts it with probability ; 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 . 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 .
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 to 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 on qubits and an inverse temperature , prepare the Gibbs state to accuracy 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 . 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 , 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)
- 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)
- Markov chain Monte Carlo (Wikipedia)The classical method quantum samplers imitate.
- Numerical sign problem (Wikipedia)Why classical methods fail for many quantum materials.
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.
- Start with
- Step 2
- Step 3
- Then
Open problems & questions
Progress timeline
- Nov 6, 2024Slow mixing examplesRelated to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting modelsource
Gamarnik, Kiani and Zlokapa proved slow mixing for some quantum Gibbs samplers at low temperature.
- Apr 23, 2024Constant-temperature advantage for a designed modelsource
Bergamaschi, Chen and Liu proved a sampling advantage for commuting Hamiltonians at constant temperature.
- Apr 23, 2024Designed constant-temperature advantageRelated to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting modelsource
Bergamaschi, Chen and Liu proved a quantum advantage for sampling commuting Gibbs states at constant temperature.
- Mar 25, 2024High-temperature states are separablesource
Bakshi, Liu, Moitra and Tang showed Gibbs states above a constant temperature are unentangled and classically samplable.
- Mar 19, 2024High-temperature fast mixingsource
Rouzé, Stilck França and Alhambra proved polynomial mixing at high temperature.
- Mar 19, 2024High-temperature mixing and low-temperature universalityRelated to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting modelsource
Rouzé, Stilck França and Alhambra proved fast mixing at high temperature and BQP-universality at polynomial β.
- Nov 15, 2023Exact noncommutative samplerRelated to: Provably fast quantum Gibbs sampling at low constant temperature for a natural non-commuting modelsource
Chen, Kastoryano and Gilyén constructed an efficient exactly detailed-balanced Lindbladian.
- Nov 15, 2023Exact detailed-balance samplersource
Chen, Kastoryano and Gilyén gave an efficiently implementable exactly detailed-balanced Lindbladian.
- Sep 11, 2014Commuting Gibbs samplerssource
Kastoryano and Brandão tied the spectral gap of commuting samplers to correlation decay.
- Nov 18, 2009Quantum Metropolis samplingsource
Temme et al. proposed a quantum Metropolis algorithm (Nature 2011).