By Module 8 we know two things. First, the Davies generator of Module 5 (Definition 5.5) has the Gibbs state of the system Hamiltonian as a fixed point, and its dissipator is detailed balanced (Theorem 6.1). From this module on there is no physical bath, and, following CKG, we write for the system Hamiltonian and . Second, how fast a detailed-balanced Lindbladian converges is controlled by its spectral gap and mixing time (Definition 8.1, Definition 8.2). So it seems we already have a Gibbs sampler: run the Davies dynamics on a quantum computer until it mixes. This module explains why that plan fails as an algorithm. The Davies generator is built from the exact Bohr components of a jump operator. Isolating one means resolving the energy differences of to within the gap between neighbouring Bohr frequencies, and a Fourier-type argument shows that this takes Hamiltonian simulation time at least the inverse of that gap. For a generic many-body Hamiltonian the gap is exponentially small, so the time is exponentially long. If we truncate the time, we get a Lindbladian whose fixed point is not, and we show on a qubit how much the temperature drifts. This is the “Davies obstruction”. The CKG paper (arXiv:2311.09207) gets around it by keeping a finite energy resolution and adding a coherent correction term, and Modules 10 and 11 build exactly that.
1. Recap: the Davies generator in Bohr language
1.1 Bohr components of an operator
Throughout this module and the rest of the course we use the convention of CKG (their Section II.A). Write the spectral decomposition with eigenprojectors . The Bohr frequencies are the differences of eigenvalues, and the set of them is .
Then , so raises the energy by ; ; and the Heisenberg evolution is
Remark 9.1 (Sign conventions across textbooks).
Breuer–Petruccione (§3.3) define , which lowers the energy by . In our notation . Every formula in this module and the next three uses the CKG convention . Every module of this course, including Modules 3 and 5, uses the same convention; the translation table is in Module 5 (Notation 5.1). When you compare with Breuer–Petruccione or another textbook, flip the sign of the frequency label.
The useful way to read is that is a signal whose spectrum is a comb of spectral lines, one at each Bohr frequency, and whose “amplitudes” are the operators . Getting out of is a spectroscopy problem.
1.2 The Davies generator, translated
Module 5 derived the Davies generator in the weak-coupling limit. The bath enters through the Fourier transform of its correlation function, (Definition 3.2). The KMS condition says (Proposition 3.4). Rewritten in the CKG convention, the dissipator is
Here is the rate of a jump that changes the system energy by . Because the system gains energy exactly when the bath loses it, the KMS condition becomes
So upward jumps () are exponentially suppressed relative to downward ones. With the Lamb-shift Hamiltonian, which commutes with , added back, is the generator of Definition 5.5. A quick numerical check is instructive: a generator with fixes to machine precision, while the opposite sign does not. Run this sanity test whenever you translate between conventions.
Remark 9.2 (Two different γ's).
From Module 10 on, means CKG’s transition weight, which is indexed by the change in system energy, just like here. So CKG’s plays the role of , and the condition it has to satisfy (for infinitely sharp filters) is : . CKG’s Gaussian weight peaks at , which favours cooling transitions, consistent with this reading.
Three facts make Davies look ideal, and Module 6 proved all of them:
its dissipator satisfies detailed balance in both the GNS and the KMS sense (Definition 6.2, Definition 6.3), and its Hamiltonian part commutes with ;
its fixed point is exactly (Theorem 6.1). Under mild ergodicity conditions it is the unique fixed point.
2. Gibbs sampling as a design problem
CKG pose the problem as follows (their Eqs. (1.2)–(1.3)). Given a description of on qubits and , find a Lindbladian such that
subject to three requirements:
(CP) has GKSL form (Definition 2.2), so the evolution is physical and can be built from ancillas and fresh resets;
(Fix) is a fixed point, exactly or with an error we can control;
(Eff) one unit of evolution, , costs at most polynomial resources. The figure of merit is total Hamiltonian simulation time, meaning the total time for which we must run , controlled or not.
A sampler that meets all three, and also mixes fast, prepares in time roughly . Davies meets (CP) and (Fix). The question is (Eff).
Remark 9.3 (What the cost model counts).
On a quantum computer we cannot “look up” . What we can do is apply for chosen , controlled on an ancilla register. This is the same black-box model as phase estimation (explained in Module 10, §4). Each frequency-domain object in this module has to be expressed through time evolutions, and its cost is the longest (or the total ) that the expression requires.
3. The obstruction
3.1 Extracting a Bohr component takes time
The natural way to isolate from the signal is to Fourier-transform it over a finite window :
The line at survives with weight 1. Every other line leaks in with weight , whose magnitude is at most . As , . This is the time-averaging argument behind the secular approximation of Module 5, run in reverse. There we averaged over the relaxation time to drop cross terms; here we must average to build. To get leakage below we need , where is the distance from to the nearest other Bohr frequency.
Is the boxcar window just a poor choice? No. The next proposition shows that every filter of duration has the same limitation.
3.2 The uncertainty bound
Proposition 9.1 (Davies obstruction).
Let be any filter supported in , and let . The filtered operator
is the most general object we can build from with evolution time at most , linearly in . Then:
(Frequency smoothness.) For all ,
, while .
(No isolation below the resolution.) Consequently, if two Bohr frequencies satisfy , the weights the filter assigns to and differ by at most an -fraction of the filter’s maximal weight. No such can contain while suppressing .
(Exponential cost for generic spectra.) If has distinct Bohr frequencies, all in , some pair is at distance . Reproducing the Davies generator, which treats every Bohr frequency separately, therefore needs . For a generic -qubit Hamiltonian with , so .
Proof
(1) Differentiate under the integral: . Since vanishes outside , , and the mean-value theorem gives the Lipschitz bound. The sup bound is .
The Bohr expansion follows by inserting : .
(2) is (1) with : the difference of the two weights is at most , which is times the largest possible weight.
(3) Sort the distinct frequencies in . The consecutive gaps add up to at most , so the smallest is at most (pigeonhole). The Davies dissipator contains without any cross terms. By (2), a filter of duration produces cross terms of essentially the same size as the diagonal terms. For a Hamiltonian without degeneracies in its spectrum or in its gaps (the generic case), the off-diagonal differences are all distinct, plus the single value .
In plain terms, a time window of length sees energies only with resolution about . Two spectral lines closer than that look like one line, so whatever the dynamics does to one it also does to the other. The obstruction is not specific to quantum mechanics. It is the time–frequency uncertainty principle of signal processing, applied to the operator-valued signal .
Bohr comb of H (exact lines)ν1ν, ν', ν''infinite time (Davies): one line selectedA_ν onlyfinite time T: width about 1/Tν, ν', ν'' blurred togetherFigure 9.1. The Davies obstruction in one picture. The Heisenberg signal of a jump operator is a comb of Bohr lines; many-body spectra crowd them together. Resolving one line needs a window longer than the inverse spacing, while any window of length T has energy width about 1/T and mixes all lines inside it.
3.3 How bad is “exponential”?
Figure 9.1 is not a caricature. For a local Hamiltonian on qubits, , while the number of Bohr frequencies grows like . Part 3 of Proposition 9.1 then asks for . Even at with (in units of the local coupling ), that is about . Davies dynamics on a quantum computer is therefore as hard as resolving individual eigenvalues, which is the same task that makes phase estimation of a generic eigenstate expensive.
The bound does not depend on clever engineering of : the support condition alone forces the Lipschitz bound. Smooth windows (Gaussians, Module 10) improve the tails of dramatically compared with the sinc of . They cannot shrink the width below .
4. Truncating the Fourier transform breaks the fixed point
Suppose we accept a finite energy resolution , run time about , and simply plug the filtered operators into the Davies recipe:
This is a valid Lindbladian for every choice of and . It is an integral of GKSL terms, with jump operators . The trouble is the fixed point.
4.1 Worked example: a qubit runs hot
Example 9.1 (Effective temperature of a truncated Davies qubit).
Take and a single jump . Then is the excited state, (up), (down), and . For this simple case the cross terms in only couple the coherences, so the populations obey a classical two-state rate equation. The up and down rates are
and the stationary populations satisfy . Define the effective inverse temperature by .
Choose the Metropolis rate , which satisfies exactly. Take a Gaussian filter, so that is a normal density of standard deviation (this is the OFT filter of Module 10). The rates are then averages with . Numerically, at :
,
0.995
0.969
0.884
0.714
,
0.998
0.990
0.958
0.835
The fixed point is always hotter than the target, and the error grows with the energy uncertainty . Here is the mechanism. The blur averages the rate over a window of width . The downhill rate is already at its cap of 1 and cannot grow. The small uphill rate picks up contributions from the part of the window that looks downhill, where moves are accepted at full rate. So the ratio moves toward 1.
With a sharp boxcar of duration the picture is worse, because the sinc tails decay only as :
,
0.806
0.951
0.988
,
0.800
0.938
0.984
A tail estimate shows why. With the boxcar, . To reach we therefore need , which is exponential in .
One surprise is hidden in this example, and it is the seed of Module 11. For the Gaussian filter, shifting the Metropolis rate by a constant, , makes exactly, for every . The reason is a Gaussian identity. If , then
with the standard normal CDF. Substituting shows that term by term. For a qubit this “fixes” the populations. In general the coherences still misbehave, and it takes a coherent term to fix them (Module 11). The shift reappears in CKG’s Metropolis weight, Eq. (1.14).
4.2 How a small violation becomes a fixed-point error
The qubit example has the general shape: a filter of width yields a violation that vanishes only as , and the fixed point moves. How far it moves depends on how fast the dynamics forgets its initial state.
Lemma 9.1 (Fixed-point stability).
Let be a Lindbladian with a stationary state , and let be the smallest time such that for all states . This is CKG’s mixing time; it agrees with Definition 8.2 up to the choice of accuracy constant. Then for any state ,
Proof
Let . By Duhamel’s formula , and . Hence
At the first term has norm at most . Each is CPTP, hence trace-norm contractive, so the integral has norm at most . Rearranging, .
Apply Lemma 9.1 with . A Lindbladian that is only approximately detailed balanced, with violation , has a fixed point within of the Gibbs state. This is the route of CKG’s precursor (arXiv:2303.18224). It works, but the error is multiplied by the mixing time, so one must choose the energy resolution with knowledge of . The precision then costs Hamiltonian simulation time scaling with , polynomially rather than logarithmically. Exact detailed balance (Module 11) removes this coupling: the idealized fixes exactly, and only the implementation error, which can be made polylogarithmic, remains.
5. Why not some other notion of detailed balance?
Module 6 introduced a one-parameter family of detailed-balance conditions. GNS () is the strong one that Davies satisfies; KMS () is the symmetric one. One might hope that GNS can be achieved without exact energy resolution. CKG’s Appendix E shows that it cannot, at least within the natural class of transition parts.
Consider a transition part with a jump set closed under adjoints. For , the -detailed-balance condition requires
If and , this forces whenever . In particular, GNS () allows no cross terms between distinct Bohr frequencies, which is exactly the secular structure of the Davies generator.
Proof
Apply the condition twice, the second time with , and multiply the two equations:
.
For and the exponential is not 1, so the product must vanish. The original relation says the two factors are proportional with a nonzero constant, so they vanish together. (CKG, App. E; Carlen–Maas, Lemma 2.5, give an abstract version.)
Put Proposition 9.2 next to Proposition 9.1. Finite-time filters always produce cross terms with , and GNS forbids them. So the only detailed-balance condition that can survive finite energy resolution is the symmetric KMS one, (Definition 6.3). That is the condition CKG target.
6. A short history of workarounds
Several quantum Gibbs samplers predate CKG, and each meets the obstruction in its own way:
Quantum Metropolis (Temme et al. 2011) measures energies with phase estimation, proposes a jump, re-measures, and accepts with the Metropolis rule. Rejections need the Marriott–Watrous rewinding trick, and the finite precision of phase estimation produces exactly the fixed-point errors of §4.
Quantum–quantum Metropolis (Yung–Aspuru-Guzik 2012) and Szegedy-walk constructions (Wocjan–Temme 2021) quantize classical detailed-balanced walks, and they also rely on energy estimation.
Rounding promises (Rall–Wang–Wocjan 2022) randomize the phase-estimation grid so that errors from rounding at boundaries average out.
ETH-based arguments (Chen–Brandão 2021) and weak-coupling physical models (Shtanko–Movassagh; Mozgunov–Lidar coarse-grained master equations) accept approximate stationarity justified by physics.
CKBG23 (arXiv:2303.18224) introduced the operator Fourier transform with Gaussian filters. It proved approximate detailed balance with polynomial dependence on and precision, via bounds of the type in Lemma 9.1.
CKG (this course’s capstone, arXiv:2311.09207) keeps the OFT and adds a precisely tuned coherent term, which makes KMS detailed balance exact at finite energy resolution.
The intellectual move worth remembering is that the obstruction assumed the dissipator must treat each Bohr frequency separately. KMS detailed balance does not require this. It only requires a symmetry between the coefficients and , and a smooth function can have that symmetry without ever resolving individual lines. As CKG put it, quantum detailed balance “can be enforced smoothly without ever knowing the energy”.
Summary
Bohr components (Definition 9.1) raise the energy by ; Breuer–Petruccione’s is our (Remark 9.1). In CKG language the Davies rate for a system energy change is with (Remark 9.2).
Gibbs sampling is a design problem: GKSL form, exact fixed point, and polynomial Hamiltonian-simulation time (Remark 9.3).
Any filter of duration has energy resolution about , so isolating Bohr lines with spacing takes , which is exponential for generic many-body (Proposition 9.1, Figure 9.1).
Plugging finite-time filters into Davies heats the fixed point (Example 9.1). A shift of the Metropolis weight by fixes qubit populations exactly, which previews CKG.
Approximate stationarity costs a factor of the mixing time (Lemma 9.1). GNS detailed balance forbids the cross terms that finite filters create (Proposition 9.2), which leaves KMS detailed balance as the target.
Further reading
C.-F. Chen, M. J. Kastoryano, and A. Gilyén, “An efficient and exact noncommutative quantum Gibbs sampler,” arXiv:2311.09207, §I (design problem), §II.B (the two constraints), App. E (-detailed balance).
C.-F. Chen, M. J. Kastoryano, F. G. S. L. Brandão, and A. Gilyén, “Quantum thermal state preparation,” arXiv:2303.18224 — the precursor with approximate detailed balance.
K. Temme, T. J. Osborne, K. G. Vollbrecht, D. Poulin, and F. Verstraete, “Quantum Metropolis sampling,” Nature471, 87 (2011). doi:10.1038/nature09770, arXiv:0911.3635
M.-H. Yung and A. Aspuru-Guzik, “A quantum–quantum Metropolis algorithm,” PNAS109, 754 (2012). arXiv:1011.1468
P. Wocjan and K. Temme, “Szegedy walk unitaries for quantum maps,” arXiv:2107.07365.
P. Rall, C. Wang, and P. Wocjan, “Thermal state preparation via rounding promises,” arXiv:2210.01670.
C.-F. Chen and F. G. S. L. Brandão, “Fast thermalization from the eigenstate thermalization hypothesis,” arXiv:2112.07646.
E. Mozgunov and D. Lidar, “Completely positive master equation for arbitrary driving and small level spacing,” Quantum4, 227 (2020) — coarse-graining as a partial secular approximation.
E. A. Carlen and J. Maas, “Gradient flow and entropy inequalities for quantum Markov semigroups with detailed balance,” J. Funct. Anal.273, 1810 (2017) — structure of GNS-detailed-balanced generators.
H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems (Oxford, 2002), §3.3 (Bohr decomposition and the secular approximation).