Module 11: Exact Detailed Balance: the CKG Construction
Module 10 gave us a finite-cost replacement for the Bohr components of a jump: the operator Fourier transform (Definition 10.1). The price was a set of cross terms between Bohr frequencies that the filter cannot separate. Module 9 showed that such cross terms generically spoil the fixed point, and that the strong (GNS) notion of detailed balance forbids them outright. This module presents the central result of Chen, Kastoryano and Gilyén (arXiv:2311.09207). With Gaussian filters and Gaussian (or Metropolis-type) transition weights, the transition part satisfies the KMS detailed-balance condition exactly, cross terms included. The remaining violation, which lives in the decay part, can be cancelled exactly by a coherent term with an explicit formula, . The result is a Lindbladian that is efficiently implementable, completely positive, and has as an exact fixed point. We derive the construction in three steps, tune its temperature with a “dial”, extend it to Metropolis- and Glauber-type weights, rewrite in the time domain, and close with the parent Hamiltonian obtained by purifying the Lindbladian.
1. The target: KMS detailed balance
1.1 The condition and what it buys
Module 6 introduced KMS detailed balance (Definition 6.3). CKG use it in the following form (their Def. II.1); it is Definition 6.3 with the reference state written instead of . For a full-rank state , a superoperator is -detailed balanced if
where is the adjoint with respect to the Hilbert–Schmidt inner product . Intuitively, says that is self-adjoint in the weighted inner product . For diagonal and this is the classical statement . Self-adjointness gives a real spectrum, an orthogonal eigenbasis, and convergence controlled by a single spectral gap, just as for reversible Markov chains. It also gives the fixed point for free:
Trace preservation means . Apply to : . Multiply by on both sides.
Note that is linear in . A sum of -detailed-balanced superoperators is again -detailed balanced, even if the summands are not Lindbladians individually. The whole construction hinges on this.
1.2 Two constraints
At first sight is just a linear equation. CKG stress that two further constraints make it hard:
Complete positivity. must have GKSL form, and the transition part depends quadratically on the jump operators.
Efficiency. Everything must be expressible through Hamiltonian evolution, so no exact Bohr projections are allowed.
Davies satisfies the first and fails the second (Proposition 9.1). The OFT satisfies the second; the question is whether the first can be kept and enforced.
2. The three-step recipe
2.1 Splitting the Lindbladian
Write any Lindbladian as
with and Hermitian. As in the anatomy figure of Module 2, the transition part moves population, and the decay operator is then forced by trace preservation. Only is free. The recipe is:
Choose a transition part that satisfies by itself.
Read off. It is determined, and in general does not satisfy detailed balance.
Tailor so that satisfies detailed balance. Then by linearity the whole does.
1. transition part Tα skew-symmetric2. decay (forced)R = Σ∫ γ † dω3. coherent repairB ∝ Σ tanh(βν/4) R_ν-i[B,·] - ½{R,·} is detailed balanced (Lemma)T is detailed balancedsum: exact KMS detailed balanceL(ρ_β) = 0Figure 11.1. The CKG recipe. Detailed balance is linear in the generator, so it suffices that the transition part is detailed balanced on its own and that the coherent term B repairs the decay part. Only step 3 needs a new idea; steps 1 and 2 are where the Gaussian choice enters.
2.2 Step 1: detailed balance of the transition part in the energy domain
By the Bohr expansion of Module 10 (its Eq. (10.7)), every OFT-based transition part has the form . Detailed balance becomes a symmetry of the coefficient matrix.
Proposition 11.2 (Detailed balance in the energy domain (CKG Prop. II.2)).
Let the jump set be closed under adjoints, and let be Hermitian (). Then satisfies -detailed balance if
If moreover as a matrix, is completely positive, and is a Lindbladian (CKG Prop. II.3).
Proof
Write , so reads . Since raises the energy by , . Since lowers it by , . Hence
On the other hand . Use , relabel (the set is closed under ), and use Hermiticity of . This gives . Matching coefficients gives . Complete positivity: if , then with .
Two features of matter. It involves only the combination in the exponent. And it relates to , which leaves the difference unchanged. So any that factors as
satisfies , whatever is. The function describes how strongly unresolved cross terms are kept; it is set by the filter. Detailed balance only constrains . This is why finite energy resolution is no obstacle to KMS detailed balance, unlike GNS (the GNS rigidity proposition of Module 9).
2.3 Steps 2 and 3: the decay operator and the coherent term
Step 2 is mechanical: the decay part is fixed by trace preservation once is chosen, 𝟙.
Suppose satisfies . Its decay operator is . Its Bohr components are , since shifts the energy by . The off-diagonal components are exactly where the cross terms show up, and they break detailed balance of . The fix is a lemma about a single operator equation.
Lemma 11.1 (The coherent term (CKG Lemma II.1)).
Let be full rank and Hermitian. There is a Hermitian , unique up to adding a multiple of , such that
satisfies -detailed balance. It is
In particular , and whenever .
Proof
Write with . Then . With , detailed balance reads
which forces for a scalar . Taking adjoints shows the right-hand bracket is consistent iff is imaginary. Now acts diagonally on Bohr components, , so component by component:
For , this gives . For , , a multiple of the identity, which does not affect . Hermiticity: because is Hermitian, and is odd, so .
Read in plain terms. is built from the off-diagonal (non-secular) parts of the decay operator, the parts that do not commute with . Each part is weighted by , which is for small energy shifts and saturates at for large ones. Since , each matrix element of in the energy basis is at most half the corresponding element of the non-secular part of . (In operator norm this need not hold in general, because entrywise multiplication is a Schur multiplier; for CKG’s Gaussian and Metropolis weights is controlled by the norms of the time-domain kernels of §6.) This is also why Davies needs no correction: its commutes with . And it is why it is natural for a coherent term (a “Lamb shift” in Module 5’s language) to accompany any Lindbladian with cross terms.
3. Why Gaussians make step 1 exact
3.1 The coefficients in closed form
With the OFT of Definition 10.1, a transition weight gives , as in Module 10, Eq. (10.8). CKG choose a Gaussian weight (their Eq. (1.9)):
It peaks at , a cooling transition, and . With it becomes , CKG Eq. (1.10).
For the Gaussian filter and the weight , with any and ,
This is positive semidefinite and satisfies with
Proof
Complete the square: with . Hence
The second factor is a normal density centred at . A Gaussian of variance averaged against a normal density of variance is a Gaussian of variance , with prefactor . Evaluating it at gives .
Positivity: is an integral over of the rank-one matrices with .
Skew-symmetry: under the last factor is unchanged, since . In the middle factor , and . Hence with as in .
The proof shows exactly where Gaussians help. The -integral of a product of three Gaussians is again Gaussian, so factorizes into a function of times a function of . The remaining function of is a Gaussian, and a shifted Gaussian has the “tilt” property
which turns a reflection into an exponential factor. This identity, noticed by Moussa, is the engine of exact detailed balance. The coherence factor must drop out of the comparison. It does, because the reflection preserves . The construction therefore never needs to know how well individual lines are resolved.
3.2 The temperature dial
Equation is the temperature dial. With the filter width fixed, the target temperature is set by the position and width of the weight. Turning the dial means moving along the curve , which needs . CKG’s default point lies on it, since . The qubit population ratio of the qubit OFT example of Module 10, , is the diagonal shadow of the same relation.
Remark 11.1 (Whose β must match).
There are two places where appears: the skew-symmetry , which is set by the dial, and the weights in . They must use the same. If the weight parameters are chosen for but is computed with , neither part is detailed balanced with respect to a common state. Stationarity then fails at an order set by the mismatch. The dial is set by the weight; follows it, not the other way round.
Let , and , and set . Let be closed under adjoints, the OFT of Definition 10.1, and the Gaussian weight . Define
with given by for . Then is a Lindbladian, it satisfies -KMS detailed balance exactly, and hence . The same holds for any weight of Proposition 11.3 with , in particular the Metropolis-type weight of Proposition 11.4, with computed from the corresponding . At this is CKG’s Theorem I.1, and takes the time-domain form .
Proof
Outline.
Energy domain. Expand the transition part in Bohr components: with .
Coefficients.Lemma 11.2 computes , shows it is positive semidefinite, and shows that it satisfies with from the dial.
Transition part.Proposition 11.2 then gives detailed balance of , and complete positivity, so without is already a Lindbladian.
Coherent repair. By Lemma 11.1, is detailed balanced. Adding a Hermitian commutator keeps GKSL form.
Linearity. is linear in , so the sum is detailed balanced (CKG Cor. II.1). Proposition 11.1 gives .
Linear combinations. For , is an integral of coefficient matrices each satisfying with the same . Skew-symmetry and positivity (for ) survive the integral, and steps 3–5 apply unchanged.
Combining with gives CKG’s explicit Cor. II.2,
which is rewritten using .
4.1 Worked examples on a qubit
Example 11.1 (σx jump: no correction needed).
Take , , and all parameters . The Bohr components are and , with . From with :
The ratio is the Boltzmann factor. The decay operator contains , so is diagonal, , and by Lemma 11.1. The cross terms only touch the coherence , so without any correction. This is a special case: the single jump has no Bohr-zero component, so there are no non-secular decay terms.
Example 11.2 (Tilted jump: B is needed).
Now take , so and are as before, scaled by . The decay operator has a Bohr- component from the pairs and :
using and . Then , and gives
For and : and , so and . Numerically, is without and with it. The violation sits entirely in the off-diagonal (coherence) entries, as expected: is a rotation about that tilts the fixed point back to the Gibbs state. On a random two-qubit Hamiltonian with six Pauli jumps (, , ) I found with and without.
5. Beyond Gaussians: Metropolis- and Glauber-type weights
A single Gaussian weight accepts only transitions with . This narrow window could slow mixing. Because detailed balance is linear, we can superpose Gaussians along the dial.
Proposition 11.3 (Linear combinations of Gaussians (CKG Cor. II.3)).
Fix and , and set
i.e. superpose the Gaussian weights with , which all lie on the same- curve. The resulting coefficients are Hermitian and satisfy . If , then .
(The printed Cor. II.3 has on the right-hand side. That is a typo; the correct pairing is , as in .)
Proposition 11.4 (Metropolis- and Glauber-type weights (CKG Prop. II.4)).
Choosing , which weights each Gaussian by its inverse norm, gives in the limit of an unbounded -range
the Metropolis weight shifted by . At this is CKG Eq. (1.14), . Restricting the -range to gives a smooth variant built from functions that resembles the Glauber weight , also shifted by .
CKG obtained these closed forms with Mathematica; is easy to confirm by numerical integration at a few values of . Figure 11.2 compares the weights.
-3-2-10123βω1Gaussianplain Metropolis (dashed)CKG (shifted by 1/2)Figure 11.2. Transition weights at σE = 1/β, against βω (energy change of the system). Dashed: plain Metropolis min(1, e^(-βω)). Solid step-like curve: CKG's exactly detailed-balanced Metropolis weight, the same curve shifted left by βσE²/2 = 1/(2β). Bell curve: the single Gaussian weight exp(-(βω+1)²/2), peaked on cooling moves.
Remark 11.2 (Why the shift is βσ²/2).
The plain Metropolis weight satisfies , which is exactly right for infinitely sharp energies. The OFT blurs every transition energy by a normal error of variance . For an exponential, averaging over such an error multiplies it by . That is the same as moving the argument by . An unshifted weight therefore accepts “uphill moves hidden inside the blur” at too high a rate, and the fixed point runs hot. This is exactly what the qubit heating example of Module 9 measured, and the same example showed that the shifted weight repairs the qubit populations for every . In general CKG’s remark after Eq. (1.14), citing Ramkumar–Soleimanifar (arXiv:2411.04454, Lemma 7.1), states the rule: take any with and shift it, . (CKG’s remark writes the shift as ; this agrees with ours when energies are measured in units with and . In general the shift is , equivalently , and at it reproduces the of Eq. (1.14).) A Gaussian weight on the dial is itself of this form: shifting satisfies the condition exactly when .
6. The coherent term in the time domain
Formula is written with Bohr projections, which we cannot implement. CKG rewrite as nested time integrals of Heisenberg operators. At (their Eq. (1.11) and Cor. III.1),
where , so , and
Both kernels decay fast: is a Gaussian, and is a convolution of a with a Gaussian. Their norms are below 1. Hermiticity of follows from and .
Where does the come from? In Bohr language, contributes , and the outer conjugation contributes . So equals , with . It must reproduce with , which factorizes because does (Lemma 11.2). The factor is a Gaussian, whose transform is the Gaussian . The factor is . Split it as . The function is its own Fourier transform up to scaling, and Gaussian transforms into Gaussian. A product in frequency is a convolution in time.
Example 11.3 (Checking the kernels).
Set . Using and ,
Their product is . With and , this is exactly from at . So the time-domain formula reproduces Lemma 11.1.
Remark 11.3 (Kernel norms and the Metropolis case).
From the printed formula, . CKG state , which does not match the displayed , although it is harmless since all that matters is . For the Metropolis-type weight, is replaced by a kernel with a singularity, interpreted as a principal value. CKG cut it off at , which costs an error and gives . That is only a logarithmic subnormalization in the block encoding (Module 12). CKG also remark that decays only polynomially until . This suggests that evolution time is hard to avoid for the coherent term.
7. Purification: the discriminant as a parent Hamiltonian
Detailed balance says that is similar to a self-adjoint superoperator. Making the similarity explicit gives a Hermitian operator on two copies of the system, whose top eigenvector is a purification of .
Definition 11.1 (Discriminant).
The discriminant of with respect to is the superoperator
Vectorizing turns it into a matrix on . The purified Gibbs state is
-detailed balance is equivalent to being self-adjoint, so is a Hermitian matrix.
Proposition 11.5 (Purifying the Lindbladian (CKG Prop. I.1)).
For the Lindbladian of Theorem 11.1, is Hermitian and negative semidefinite, and it annihilates . It is frustration-free: with for each . So is a frustration-free parent Hamiltonian whose ground state is the purified Gibbs state.
Proof
Hermiticity is detailed balance. Since is a similarity transform of , it has the same spectrum, which lies in for a Lindbladian (Module 2). A Hermitian operator with such a spectrum is negative semidefinite. Next, , and vectorizes to . Frustration-freeness: the proof of Theorem 11.1 never mixes different jumps, except that Proposition 11.2 pairs with . So for Hermitian jumps such as Paulis, each is detailed balanced on its own, and for general jumps each pair is. Each such term is then negative semidefinite and annihilates , and a sum of negative semidefinite terms that annihilates a vector must have each term annihilate it.
The gap of controls mixing. In CKG’s App. C and E, for exactly detailed-balanced ,
with the halving time of the fixed-point stability lemma of Module 9. Since , the gap determines the mixing time up to a factor polynomial in system size (compare Definition 8.1). Proving rapid mixing, i.e. logarithmic in , requires stronger tools such as log-Sobolev inequalities. At the purified state is the maximally entangled state . Following the ground state of from to is the “-annealing” route to discussed in Module 12.
KMS detailed balance (, Definition 6.3) makes self-adjoint in a -weighted inner product, implies stationarity (Proposition 11.1), and is linear in .
Three-step recipe (Figure 11.1): a detailed-balanced transition part, a forced decay part, and a coherent repair.
In the energy domain, detailed balance of the transition part is the symmetry (Proposition 11.2). It does not constrain how cross terms with fixed are weighted.
In the time domain, is a nested integral with a Gaussian kernel and a sech-convolved kernel (Example 11.3, Remark 11.3).
The discriminant (Definition 11.1) is a frustration-free parent Hamiltonian for the purified Gibbs state (Proposition 11.5), and its gap brackets the mixing time.
Further reading
C.-F. Chen, M. J. Kastoryano, and A. Gilyén, “An efficient and exact noncommutative quantum Gibbs sampler,” arXiv:2311.09207: §II.B–C (this module), §III.A (time domain), App. A (Fourier calculations), App. C (parent Hamiltonian), App. D (why Gaussians), App. E (other detailed-balance notions).
J. E. Moussa, “Low-depth quantum Metropolis algorithm,” arXiv:1903.01451.
A. Gilyén, C.-F. Chen, J. F. Doriguello, and M. J. Kastoryano, “Quantum generalizations of Glauber and Metropolis dynamics,” arXiv:2405.20322.
Z. Ding, B. Li, and L. Lin, “Efficient quantum Gibbs samplers with Kubo–Martin–Schwinger detailed balance condition,” arXiv:2404.05998.
A. Ramkumar and M. Soleimanifar, “Mixing time of quantum Gibbs sampling for random sparse Hamiltonians,” arXiv:2411.04454 — Lemma 7.1, general shifted weights.
E. A. Carlen and J. Maas, “Gradient flow and entropy inequalities for quantum Markov semigroups with detailed balance,” J. Funct. Anal.273, 1810 (2017).
F. Fagnola and V. Umanità, “Generators of detailed balance quantum Markov semigroups,” arXiv:0707.2147 — detailed balance with unitary drift.
R. Alicki and K. Lendi, Quantum Dynamical Semigroups and Applications, Lecture Notes in Physics 717 (Springer, 2007) — detailed balance for quantum dynamical semigroups.