This is the capstone set, covering Module 9, Module 10 and Module 11. The total budget is about 10 hours.
- Problem 4.1 makes the machinery of CKG §II fully explicit on a single qubit, by hand.
- Problem 4.2 and Problem 4.3 derive the temperature dial, the Metropolis shift and the skew-symmetry of the Gaussian coefficients.
- Problem 4.4 reproduces the main theorem numerically on a fresh instance.
Conventions follow the notes.
Problem 4.1 (A single qubit, fully explicit (about 3 hours)).Let
with , a single Hermitian jump , inverse temperature , and . Write .
- Bohr-decompose
: find and , say which vanish, and write explicitly. - Compute the coefficients
, and from the closed form. - Assemble the transition part
, the decay operator , and the coherent term . What is for this instance, and why? - Verify by direct matrix algebra that
. Which matrix elements of do the cross terms act on? - Now take the tilted jump
. Find the nonzero Bohr components of , compute , and evaluate it for , . Which matrix elements of are nonzero if is dropped?
Solution
1. In the eigenbasis
( , excited) and ( ), has no diagonal elements, so . Then (raises the energy) and . By the Bohr expansion, 2. With all parameters equal to
, and . Hence 3. The transition part is
The decay operator is
. The would-be cross terms vanish: . So is diagonal, i.e. it commutes with , every vanishes, and . (The original self-check guessed a -type . That is wrong: always, and here there is nothing else.) 4. Populations:
, so stationarity needs , which is the Gibbs ratio. The cross terms map and . They act only on coherences, which vanish in . Hence even without a coherent term. The single jump has no Bohr-zero part, so there is no non-secular decay term to repair. 5. Now
, and . The Bohr- component of comes from and : and
. Then . With and , at , we get , , , and Dropping
leaves with nonzero entries only in the off-diagonal positions and , about . This is the coherence sector, as expected, since is purely off-diagonal. Including brings the residual to machine precision.
Problem 4.2 (The dial and the shift (about 2 hours)).
- Verify by substitution that
holds with . - Show that the diagonal rate profile
is a Gaussian of variance centred at . Re-derive the dial from the Gaussian tilt identity . - CKG’s Metropolis weight is
. In at most five sentences, explain why the shift is on the axis, and what goes wrong if you “centre” the weight naively at .
Solution
1. Let
and . The coherence factor depends on , which is invariant under . The other factor gives which equals
iff . 2. Setting
gives . This is the Gaussian weight (variance ) blurred by the filter’s power spectrum (variance ); variances add. By the tilt identity with , . Classical detailed balance for the populations requires , so again . 3. The OFT blurs each transition energy by a normal error of variance
, so the effective rate is the weight averaged over that blur. For the exponential tail of Metropolis, averaging multiplies by , which is the same as shifting 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; the qubit heating example of Module 9 finds at . Shifting the weight left by exactly restores the ratio . For the Gaussian weight, “centring at 0” means , which by the dial is : the sampler targets infinite temperature.
Problem 4.3 (Skew-symmetry by hand (about 1.5 hours)).Derive the closed form of
by completing the square in the -integral first. Then compare the exponents of and term by term. Where exactly does the coherence factor drop out of the comparison, and why is that necessary for the symmetry to hold at all?
Solution
With
and , so
, with the normal density. Next, . Complete the square once more, or use CKG’s Fact II.1. Since , this is the closed form. Comparison. The exponent of
is with . That of is . The coherence terms are identical, because the map sends to . They cancel before anything else is compared. The remaining terms agree iff for all , i.e. the dial. The prefactors are equal. Why necessary. The detailed-balance factor
depends only on . Any dependence of on that was not invariant under the reflection would have to be matched by a factor that does not exist. The reflection-invariance of is what lets finite energy resolution (the coherence factor) coexist with exact KMS detailed balance. It is also why GNS-type conditions, whose exponent involves and asymmetrically, cannot (the GNS rigidity proposition of Module 9).
Problem 4.4 (End-to-end numerical reproduction (about 3.5 hours)).Build a random 3-qubit chain Hamiltonian: nearest-neighbour couplings
plus random on-site and fields, with Gaussian coefficients and a fixed seed of your choice. Use the jump set of all 9 single-site Paulis scaled by (so ), and . Work in the eigenbasis of , build from the coefficients as a matrix acting on , and keep a memory guard on your process (everything here is tiny).
- Build
with and without (parameters ). Report and the detailed-balance violation of the discriminant for both. - Pick four points
on the same- curve, i.e. with . For each, find the fixed point by computing the null vector of , extract by fitting against , and tabulate. - Deliberately leave the curve. Choose
for , but compute with in the . What happens to stationarity, and why? Whose must match whose? - Compute the discriminant gap at
(parameters ). Describe the trend and relate it to the spectral-gap behaviour of Module 8. - Write a 10-line summary you could give to a colleague: what is proven, what is measured, and what remains open.
Solution
Numbers depend on the seed. Here is what a correct implementation shows, with values from one seed for orientation.
1. With
: and , i.e. machine precision. Without : and a visibly non-Hermitian discriminant. If your “with ” residual is not at machine precision, check three things: the sign convention , the index order in , and the factor (not ) in front of . 2. Every point on the curve gives
to all printed digits, with fixed-point coherences in the eigenbasis at . For example . The filter width changes the dynamics, but not the fixed point. 3.
is no longer zero for either or . In one run both residuals were , and the true fixed point was at trace distance from . The transition part is detailed balanced with respect to , as set by the weight via the dial. The computed with repairs the decay part with respect to . No single state is balanced by both. The in must use the fixed by the weight: the dial sets the temperature, and follows it (the “whose β” remark of Module 11). 4. The gap shrinks rapidly with
. In one run it was , and at . Part of this is physics (low temperature means slow relaxation), mirroring how the spectral gap of a classical Glauber chain closes as temperature drops (Module 8). Part is an artefact of the single Gaussian weight: at it only accepts transitions with energy change near , so large transitions freeze. CKG warn about this, and it is why they superpose Gaussians into Metropolis-type weights. Repeat with the shifted Metropolis weight to see the difference. 5. A model answer:
- Proven: with Gaussian filter and weight on the dial, and
, is KMS detailed balanced, so is an exact fixed point. - Proven: each unit of time costs
Hamiltonian simulation. - Proven: the same holds for Metropolis-type weights shifted by
. - Measured: residual
with versus without. - Measured: fitted
is exact along the dial. - Measured: a mismatched
in breaks stationarity. - Measured: the discriminant gap closes quickly as
grows. - Open: the mixing time is not bounded by the construction; it is a property of
, and the jumps. - Open: rapid mixing is known only in special regimes (high temperature, 1D, commuting or random sparse models).
- Open: whether a quadratic gap speedup is possible for the exact construction.