Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Gibbs Sampler

Updated 6 July 2026
  • Quantum Gibbs samplers are quantum algorithms that prepare thermal Gibbs states of Hamiltonians using open-system dynamics and circuit-based methods.
  • They leverage techniques like Lindbladian evolution, phase estimation, and amplitude amplification to control error and mixing time.
  • Applications include estimating thermodynamic quantities, benchmarking quantum hardware, and demonstrating quantum computational advantage.

A quantum Gibbs sampler is a quantum algorithm or open-system dynamics for preparing the Gibbs state of a Hamiltonian HH at inverse temperature β\beta, typically written as ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z with Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]. For a many-body Hamiltonian H=ihiH=\sum_i h_i on Hilbert-space dimension DD, the operational task is to output a state ρ\rho such that ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon while controlling implementation cost, locality, and mixing time (Zhang et al., 2023). In the dissipative formulation, a quantum Gibbs sampler is a local, primitive, reversible Lindblad generator whose unique steady state is the Gibbs state; in more recent noncommutative formulations, the sampler is engineered to satisfy exact Kubo–Martin–Schwinger detailed balance for arbitrary Hamiltonians (Kastoryano et al., 2014, Chen et al., 2023).

1. Formal setting and target objects

The central object is the thermal state

ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},

which describes equilibrium at temperature T=β1T=\beta^{-1}. In algorithmic settings, one asks either for a mixed-state preparation procedure, for a sampler that outputs measurement results distributed according to β\beta0, or for a purified preparation of the thermofield-double state

β\beta1

whose partial trace returns β\beta2 (1603.02940, Leng et al., 24 Apr 2026).

Two notions of “sampler” coexist. In the semigroup viewpoint, one studies β\beta3 for a Lindbladian β\beta4 with β\beta5, and convergence is governed by spectral gap, log-Sobolev behavior, or related mixing parameters. In the circuit viewpoint, one prepares β\beta6 or a purification directly using Hamiltonian simulation, phase estimation, linear combinations of unitaries, adiabatic continuation, or measurement-based updates. This suggests that “quantum Gibbs sampler” is not a single algorithmic template but a family of constructions sharing a common equilibrium target.

The distinction between state preparation and sample generation is not merely terminological. Some works target the density operator itself, some target computational-basis samples from a Gibbs state, and some exploit the sampler to estimate thermodynamic quantities such as β\beta7 or the free energy. That breadth is already visible in early phase-estimation-based algorithms, dissipative Lindbladians, and recent continuous-variable constructions (1603.02940, Becker et al., 16 Apr 2026).

2. Detailed balance, Lindbladians, and equilibrium structure

For open-system samplers, the basic object is a Gorini–Kossakowski–Sudarshan–Lindblad generator. In the Heisenberg picture, a general KMS-detailed-balanced form can be written as

β\beta8

with the KMS condition β\beta9, equivalently

ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z0

A structural characterization states that ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z1 satisfies ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z2-KMS detailed balance iff it admits such a representation with a coherent term ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z3 that commutes with ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z4 (Ding et al., 2024).

This framework generalizes the older commuting-Hamiltonian theory. For commuting local Hamiltonians, the Davies generator and the heat-bath generator are both local, primitive, reversible, frustration-free Gibbs samplers. Their convergence is governed by the spectral gap

ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z5

and a central equivalence states that the gap is independent of system size iff the Gibbs state satisfies a strong clustering property. In one dimension at any temperature, and in any dimension at high enough temperature, the samplers are gapped, so the Gibbs state can be prepared in polynomial time on a quantum computer (Kastoryano et al., 2014).

For arbitrary noncommutative Hamiltonians, Chen, Kastoryano, and Gilyén construct an exact detailed-balanced Lindbladian

ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z6

where ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z7 are frequency-filtered Heisenberg evolutions of local scrambling operators and ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z8 is a coherent correction chosen so that exact quantum detailed balance holds. For lattice Hamiltonians, Lieb–Robinson bounds imply that the dressed jump operators are quasi-local with radius ρβ=eβH/Z\rho_\beta=e^{-\beta H}/Z9, so the algorithm inherits a local-update interpretation even for noncommuting systems (Chen et al., 2023).

A later extension replaces the continuous family of jumps by a finite set of jump operators, possibly as few as one. The jump operators are built from user-chosen Hermitian couplings Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]0, weighting functions Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]1 supported on a finite interval, and inverse Fourier transforms Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]2 with super-polynomial decay when Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]3 is chosen from a compact-support Gevrey class. The resulting time-domain integrals can be truncated at Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]4 and discretized efficiently (Ding et al., 2024).

3. Major algorithmic paradigms

One major family uses coherent block-encodings and purification. Chowdhury and Somma prepare the maximally entangled thermofield seed state, apply an approximation of Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]5 using the Hubbard–Stratonovich transform and Hamiltonian simulation of Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]6, and then use amplitude amplification. For local or sparse Hamiltonians this yields gate complexity

Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]7

with polylogarithmic dependence on Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]8 rather than polynomial dependence, and with a quadratic improvement in the dependence on Z=Tr[eβH]Z=\mathrm{Tr}[e^{-\beta H}]9 over earlier approaches (1603.02940).

A distinct line aims at exact or near-exact sampling rather than approximate equilibration. Quantum “Coupling from the Past” adapts the Propp–Wilson perfect-sampling paradigm to energy eigenstates. It assumes an eigenbasis-preserving primitive quantum channel whose transition probabilities depend only on energies and uses phase estimation plus a classical coalescence structure to output perfect Gibbs samples without prior knowledge of the mixing time. The expected runtime depends strongly on degeneracy: for highly degenerate spectra it is polylogarithmic in the dimension and linear in the mixing time, while for non-degenerate spectra it is linear in the mixing time and quadratic in the dimension up to a logarithmic factor (França, 2017).

Metropolis-style constructions remain an active theme, but the technical route has shifted. A recent weak-measurement scheme replaces Marriott–Watrous rewinding by a weak accept/reject measurement and uses boosted quantum phase estimation based on medians of repeated QPE runs. One iteration defines a channel H=ihiH=\sum_i h_i0 with expansion

H=ihiH=\sum_i h_i1

where H=ihiH=\sum_i h_i2 generates a continuous-time semigroup with a unique full-rank fixed point. If that semigroup mixes in time H=ihiH=\sum_i h_i3, then H=ihiH=\sum_i h_i4 discrete iterations suffice to reach H=ihiH=\sum_i h_i5 up to controlled error. The construction was motivated in part by the observation that the earlier analysis of the Temme–Osborne–Vollbrecht–Poulin–Verstraete algorithm relied on a boosted and shift-invariant version of QPE that may not exist (Jiang et al., 2024).

The dissipative quantum Gibbs sampler of Zhang, Bosse, and Cubitt takes a different route. Its local step is the two-outcome instrument

H=ihiH=\sum_i h_i6

with H=ihiH=\sum_i h_i7 and a Hermitian step operator H=ihiH=\sum_i h_i8 that factorizes into sequential weak measurements of the local Hamiltonian terms. The crucial point is that the Gibbs state is not obtained as the fixed point of a Markov process. Instead, the output is taken at a random stopping time H=ihiH=\sum_i h_i9, and for a suitable stopping rule the expected output satisfies

DD0

which approximates the Gibbs state. The paper states explicitly that, in contrast to the classical case, the quantum Gibbs state is not generated by converging to the fixed point of a Markov process, but by the states generated at the stopping time of a conditionally stopped process (Zhang et al., 2023).

4. Structure-exploiting constructions

Several samplers derive their efficiency from Hamiltonian structure rather than from a generic noncommutative template. For commuting local Hamiltonians, a recent reduction maps Gibbs-state preparation to classical Gibbs sampling. If DD1 is a 2-local qudit commuting Hamiltonian, it can be mapped in DD2 time to a 2-local classical Hamiltonian DD3 on the same graph. If DD4 is a 4-local qubit commuting Hamiltonian on a 2D lattice with no classical qubits, puncturing and a structure-lemma decomposition reduce the problem to a constant-local classical Hamiltonian on a planar graph. The corresponding quantum algorithm samples from DD5, prepares the associated eigenstate of DD6, and applies sequential randomized corrections; for the defected Toric code at any non-zero temperature, the total runtime is DD7 (Hwang et al., 2024).

For smooth periodic potentials on the torus DD8, a different paradigm leverages Fourier analyticity. The potential DD9 is assumed ρ\rho0 and analytically continuable to a complex strip, so its Fourier coefficients decay exponentially. Using zeroeth-order quantum queries, quantum Fourier transforms, and a quantum algorithm for linear ordinary differential equations, one solves a discretized Fokker–Planck equation whose stationary solution is the Gibbs density. The total gate cost is

ρ\rho1

so the precision dependence is logarithmic, although the underlying Langevin mixing time can still be exponentially long in ρ\rho2 for non-convex ρ\rho3 (Motamedi et al., 2022).

Another alternative is quasi-probabilistic cluster expansion. Here the full Gibbs state is expanded into tensor products of local “Gibbs-cumulant” type states ρ\rho4, which need not be positive semidefinite. Writing

ρ\rho5

one samples cluster partitions according to positive weights, prepares the corresponding local mixed-state factors, and reweights measurements by an overall sign and a negativity factor ρ\rho6. The method was demonstrated on 4-spin and 8-spin XY chains, including dynamical ρ\rho7 correlations and specific heat (Eassa et al., 2023).

Adiabatic parent-Hamiltonian methods provide yet another viewpoint. Starting from a classical reversible Markov chain with detailed balance relative to a classical Gibbs distribution, one defines

ρ\rho8

whose unique ground state encodes the Gibbs amplitudes. Speedups arise when the adiabatic path is detoured to avoid unfavorable critical points: in the 1D ferromagnetic Ising chain, detoured paths yield ρ\rho9 rather than ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon0; for weighted independent sets on certain graphs, one-parameter paths can scale as ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon1 while detoured paths yield ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon2. The weighted independent-set construction is naturally implementable on Rydberg atom arrays (Wild et al., 2020).

5. Complexity, mixing times, and lower bounds

Complexity analyses differ sharply by model class. For the dissipative stopped-process sampler, the expected output error obeys

ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon3

while the stopping time satisfies an upper bound that leads, after parameter choice, to

ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon4

times local-measurement cost ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon5. The same work proves a fault-resilience statement: if each application of ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon6 is implemented noisily with per-step error ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon7, then the final sampling error is ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon8 and does not grow with ρρβ1ϵ\|\rho-\rho_\beta\|_1\le \epsilon9 (Zhang et al., 2023).

For exact KMS-balanced noncommutative samplers, the implementation cost is organized around mixing time. The Chen–Kastoryano–Gilyén construction requires total Hamiltonian-simulation time

ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},0

and a finite-jump-set variant yields total Hamiltonian-simulation time

ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},1

with energy resolution depending only logarithmically on precision and mixing time (Chen et al., 2023, Ding et al., 2024).

Mixing-time upper bounds are only one side of the story. A generic bottleneck lemma for quantum Gibbs samplers proves exponential lower bounds whenever orthogonal high-mass sectors are separated by a low-mass bottleneck and the sampler has bounded Bohr-spectrum range or bounded locality range. For classical Hamiltonians with ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},2, the corresponding quantum Gibbs samplers also satisfy ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},3. The paper gives explicit families: random ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},4-SAT at low temperature with ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},5, ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},6-spin glasses with ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},7, good ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},8-qubit stabilizer codes with ρβ=eβHTr[eβH],\rho_\beta=\frac{e^{-\beta H}}{\mathrm{Tr}[e^{-\beta H}]},9, and the ferromagnetic 2D transverse-field Ising model with T=β1T=\beta^{-1}0 for strictly local Lindblad operators (Gamarnik et al., 2024).

Recent work also studies acceleration relative to the Lindbladian gap T=β1T=\beta^{-1}1. For KMS-symmetric samplers with an explicit parent-Hamiltonian factorization T=β1T=\beta^{-1}2, purified Gibbs-state preparation can be reduced to a singular-value filtering problem. The resulting walk-free QSVT algorithm uses

T=β1T=\beta^{-1}3

queries, giving a quadratic improvement in spectral-gap dependence over T=β1T=\beta^{-1}4-type behavior for a broad class of samplers (Leng et al., 24 Apr 2026).

By contrast, there are settings where rigorous positive-gap guarantees are available. For truncated Coulomb gases and molecular systems in T=β1T=\beta^{-1}5, a quantum Markov semigroup tailored to the finite-rank truncation has a strictly positive spectral gap for every truncation, implying exponential convergence to the target Gibbs state. The paper presents this as the first rigorous mixing-time guarantee for Gibbs sampling in a Coulomb interacting continuous-variable quantum system (Becker et al., 16 Apr 2026).

6. Estimation tasks, hardware realizations, and computational complexity of sampling

Quantum Gibbs samplers are used not only for state preparation but also for thermodynamic estimation. In the dissipative stopped-process sampler, the stopping statistics of T=β1T=\beta^{-1}6 independent runs produce an unbiased estimator

T=β1T=\beta^{-1}7

with multiplicative T=β1T=\beta^{-1}8 error and variance T=β1T=\beta^{-1}9. For Coulomb gases and molecules, Gibbs sampling is embedded into a thermodynamic-integration procedure for estimating the free energy β\beta00 with an end-to-end quantum algorithm whose complexity depends polynomially on β\beta01, β\beta02, and the inverse sampler gap (Zhang et al., 2023, Becker et al., 16 Apr 2026).

Experimental realizations emphasize a different regime. Studies of D-Wave quantum annealers report that programmable annealers behave as samplers generating independent configurations from low-temperature noisy Gibbs distributions. On up to 16 qubits with native Chimera connectivity and β\beta03, a “sweet-spot”

β\beta04

minimizes both control-noise and residual-transverse-field distortion; across 13 models, the total-variation distance between the empirical distribution and the best-fit Gibbs law drops below β\beta05 on every instance and often reaches β\beta06–β\beta07 (Vuffray et al., 2020, Nelson et al., 2021).

The computational-complexity side has developed in parallel. For carefully chosen commuting parent Hamiltonians of shallow circuits, thermalization under Davies-type Lindbladians mixes rapidly at constant temperature, yet sampling from the measurement distribution of the Gibbs state is classically hard under standard complexity assumptions. One construction proves quantum computational advantage for commuting local Hamiltonians at constant temperature, with mixing time β\beta08 and quantum runtime β\beta09 when β\beta10 (Bergamaschi et al., 2024). A subsequent strengthening shows that hardness persists even for 5-local Hamiltonians on a 3D cubic lattice and for 6-local Hamiltonians with constant additive sampling error, while polynomial-time quantum preparation remains possible; the hardness is also robust to imperfect measurements (Rajakumar et al., 2024).

A recurrent misunderstanding is that finite temperature automatically renders sampling classically benign. The constant-temperature hardness results show otherwise for specific families, while the slow-mixing results show that locality and detailed balance alone do not guarantee efficient equilibration. Conversely, the commuting-Hamiltonian reductions, continuous-potential algorithms, and hardware studies show that substantial positive results do exist, but only under structural assumptions that must be stated explicitly.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quantum Gibbs Sampler.