computo ergo sum

2026-10-01 · chapter Yang–Mills and the mass gapPart 5 Lattice gauge theorythe Monte Carlo method

The whole book Contents and reading orders
  1. Part 0 Entrance — how to read this book
  2. 0-01 How to read this book
  3. 0-02 One picture
  4. 0-03 Reading the problem statement word by word
  5. 0-04 Four dimensions in mathematics and four dimensions in physics
  6. Part 1 Mathematical preparation
  7. 1-01 Vector spaces and linear maps
  8. 1-02 What a group is
  9. 1-03 Lie groups and Lie algebras
  10. 1-04 SU(2) and SU(3)
  11. 1-05 Manifolds and tangent spaces
  12. 1-06 Differential forms and the exterior derivative
  13. 1-07 Vector bundles and connections
  14. 1-08 Probability and measure
  15. 1-09 Probability in infinite dimensions
  16. 1-10 Hilbert spaces and self-adjoint operators
  17. 1-11 Fourier analysis and distributions
  18. 1-12 Detour: what happens only in four dimensions
  19. Part 2 Physical preparation
  20. 2-01 Lagrangians and the action
  21. 2-02 The idea of a field
  22. 2-03 Electromagnetism is a gauge theory
  23. 2-04 Special relativity and spacetime
  24. 2-05 The bones of quantum mechanics
  25. 2-06 The harmonic oscillator and creation and annihilation
  26. 2-07 The idea of the path integral
  27. 2-08 Statistical mechanics and phase transitions
  28. 2-09 Detour: the gap and the correlation length in the Ising model
  29. 2-10 The relaxation time and the dynamical exponent z
  30. Part 3 Yang–Mills theory (classical)
  31. 3-01 The gauge principle
  32. 3-02 Non-abelian gauge fields
  33. 3-03 The action and the equations
  34. 3-04 Gauge theory as geometry
  35. 3-05 Instantons and topology
  36. 3-06 Detour: Donaldson and exotic R⁴
  37. 3-07 Yang–Mills inside the Standard Model
  38. Part 4 Quantisation
  39. 4-01 Canonical quantisation and the Hamiltonian
  40. 4-02 The path integral and Euclideanisation
  41. 4-03 Perturbation theory and Feynman diagrams
  42. 4-04 Divergences and renormalisation
  43. 4-05 The algebra of divergences
  44. 4-06 Asymptotic freedom
  45. 4-07 Dimensional transmutation and Λ
  46. 4-08 Gauge fixing and Faddeev–Popov
  47. 4-09 The axioms of quantum field theory
  48. 4-10 The Osterwalder–Schrader axioms and reconstruction
  49. 4-11 The definition of the mass gap
  50. 4-12 Detour: the perturbation series diverges
  51. Part 5 Lattice gauge theory
  52. 5-01 Wilson's lattice
  53. 5-02 The strong-coupling expansion
  54. 5-03 Reflection positivity and the transfer matrix
  55. 5-04 The infinite-volume limit and the cluster expansion
  56. 5-05 Weak coupling and the continuum limit
  57. 5-06 How U(1) differs from the non-abelian case
  58. 5-07 The Monte Carlo method
  59. 5-08 Measuring glueballs and the string tension
  60. 5-09 What to hold fixed when taking the limit
  61. 5-10 Lattice gauge theory with finite groups
  62. 5-11 Detour: Bakry–Émery and one-link integration
  63. Part 6 Constructive field theory
  64. 6-01 What constructive field theory is
  65. 6-02 Solvability in two dimensions and the Yang–Mills measure
  66. 6-03 Constructing scalar fields
  67. 6-04 The cluster expansion
  68. 6-05 The sequence of renormalisation group steps
  69. 6-06 Ultraviolet stability of three-dimensional Yang–Mills
  70. 6-07 Four dimensions
  71. 6-08 Triviality of φ⁴ in four dimensions
  72. 6-09 Stochastic quantisation and regularity structures
  73. 6-10 Where four dimensions stops
  74. 6-11 Obstacles other than divergence
  75. 6-12 Detour: "if 1/0 is given a symbol"
  76. Part 7 From the side of physics
  77. 7-01 How physics sees it
  78. 7-02 Mechanisms of confinement
  79. 7-03 The string picture
  80. 7-04 Large N
  81. 7-05 String theory and extra dimensions
  82. 7-06 How extra dimensions become invisible
  83. 7-07 Where gauge fields come from
  84. 7-08 Holography
  85. 7-09 The mass gap becomes geometry
  86. 7-10 Back to four dimensions
  87. 7-11 Supersymmetry and Seiberg–Witten
  88. 7-12 The sentence that plays the role of an equivalence principle
  89. 7-13 Where the way physics digs parts from mathematics
  90. Part 8 A dictionary of two languages — the physical and the mathematical view
  91. 8-01 How to read the dictionary
  92. 8-02 Dictionary A
  93. 8-03 Dictionary B
  94. 8-04 Dictionary C
  95. 8-05 The physical counterparts of our assumptions
  96. Part 9 Where things stand, and open tasks
  97. 9-01 How far the world has come
  98. 9-02 Where the two ways of digging part
  99. 9-03 Candidates for new concepts
  100. 9-04 The list of open tasks
  101. 9-05 Common misconceptions
  102. Part 10 Towards a proof of the mass gap — building the first step of the staircase
  103. 10-00 Entrance — the staircase, and the random walk, the ruler and the clock
  104. 10-01 The line of construction and Assumption H
  105. 10-02 Roads tried on the four-dimensional lattice, and walls
  106. 10-03 The four steps of the staircase — why we start from 0+1 dimensions
  107. 10-04 The path measure of the double well, and kinks
  108. 10-05 The statement of the first step — four conditions and Proposition 4.5
  109. 10-06 (H1) Local Poincaré within a phase
  110. 10-07 The map of (H2) — seven routes and the seam of the ring
  111. 10-08 What computer-assisted means — the conditions on the chain inside the window
  112. 10-09 The sector framework and the three strands of route 5
  113. 10-10 The list of detour plans — types of breakage
  114. 10-11 (H3)(H4) and the constant of the core
  115. 10-12 The integrated table and the dependency graph
  116. 10-13 Lean statements and the limits of machine checking
  117. 10-14 Reconciliation — the numbers of the record and the known numbers
  118. 10-15 What remains and its cost — the distance to a theorem
  119. 10-16 What is not claimed
  120. 10-17 Insights and small questions
  121. Part 11 Further considerations — beyond Assumption H, and other views
  122. 11-00 Further considerations — entrance
  123. 11-01 One form that obstructs H — a nearly conserved global quantity
  124. 11-02 Choosing the ruler and the coordinates again — the length at which conservation breaks
  125. 11-03 Two ways to repair H — the sector H and the local H
  126. 11-04 Which H the one-sided bridge needs
  127. 11-05 Making time continuous — the Hamiltonian lattice and the vacuum measure
  128. 11-06 Paying with rarity instead of convexity — renormalisation on groups and log-Sobolev
  129. 11-07 Because it is four dimensions — the dimensionless coupling and topology
  130. 11-08 Questions, and what is not claimed
  131. 11-A1 Table of notation for Part 11
  132. Appendices
  133. A-01 Table of notation
  134. A-02 Glossary
  135. A-03 Guide to the literature
  136. A-04 Lean and machine checking
  137. A-05 How this book was made
  138. A-06 Index of assumptions

The Monte Carlo method — make configurations that follow the weight, count the correlations, and give the error

What this chapter shows

Prerequisite chapters — 5-01 Wilson's lattice, 1-08 Probability and measure. For the mathematical side, see 8-03 §06–§08.

Said first — The Monte Carlo method estimates expectation values on a finite lattice with error bars; it does not prove the mass gap or the continuum limit. The calculations in this chapter are small examples: one point of SU(2)SU(2) on 646^4, and a two-dimensional free field.

Order of this chapter
  1. Why integrate with random numbers
  2. Markov chains and detailed balance
  3. Moving one link at a time — the step size (Figure 1, Table 1)
  4. Heat bath and overrelaxation
  5. Thermalisation and autocorrelation — three update methods (Table 2)
  6. Estimating the error — bins, the jackknife, the Γ method
  7. Critical slowing down — z=2z=2 for a free field (Figure 2, Table 3)
  8. HMC and topological freezing
  9. Monte Carlo seen from mathematics — the line between theorems and observations

The β\beta of this chapter is the coupling of the Wilson action (5-01), not an inverse temperature.

01

Why integrate with random numbers — an integral in fifteen thousand dimensions

A lattice expectation value is an integral over all links (5-01 §06; dUℓdU_\ell is the Haar measure).

⟨O⟩=1Z∫O(U) e−SW(U)∏ℓdUℓ(1)\langle O\rangle=\frac1Z\int O(U)\,e^{-S_W(U)}\prod_{\ell}dU_\ell \tag{1}

A four-dimensional lattice of side 6 has 5,184 links, and SU(2)SU(2) is 3-dimensional per link, so it is an integral in 15,552 dimensions Computed. So we make configurations U(n)U^{(n)} that follow the weight e−SW/Ze^{-S_W}/Z and take the sample mean.

O‾N=1N∑n=1NO(U(n)),if independent,  Var O‾N=Var ON(2)\overline O_N=\frac1N\sum_{n=1}^N O\bigl(U^{(n)}\bigr),\qquad \text{if independent,}\ \ \mathrm{Var}\,\overline O_N=\frac{\mathrm{Var}\,O}{N} \tag{2}

The error decreases as 1/N1/\sqrt N whatever the dimension (1-08) Known. Drawing uniformly does not work. At β=2.3\beta=2.3 on 646^4, the mean of the 7,776 plaquettes is 0.6026 in equilibrium, while uniform configurations scatter around 0 with standard deviation 0.00567, so the equilibrium value is 106 standard deviations away Computed.

02

Markov chains and detailed balance — making a distribution that stands still

We make a random rule that changes the configuration one step at a time (a Markov chain, with transition probability P(x,y)P(x,y)), so that after a long time it follows the weight π\pi. A sufficient condition for the distribution not to change in one step (stationarity) is detailed balance.

∑xπ(x)P(x,y)=π(y),π(x)P(x,y)=π(y)P(y,x)(3)\sum_x\pi(x)P(x,y)=\pi(y),\qquad \pi(x)P(x,y)=\pi(y)P(y,x) \tag{3}

Summing the right-hand side over xx gives the left. A chain satisfying the right-hand side is called reversible. If moreover one can get from anywhere to anywhere (irreducible), the time average of a finite-state chain converges to the expectation value (the ergodic theorem). If it is also free of periodicity (aperiodic), the distribution itself approaches π\pi (the convergence theorem) Known. For continuous state spaces too, under conditions such as the transitions having a positive density, there are a law of large numbers and a central limit theorem of the same form (Tierney 1994) Known.

The Metropolis method (Metropolis et al. 1953; the first application was the equation of state of two-dimensional hard spheres) proposes a candidate yy with a symmetric proposal q(x,y)=q(y,x)q(x,y)=q(y,x), accepts it with the following probability, and stays put if it is rejected.

A(x→y)=min⁡(1, π(y)/π(x))=min⁡(1, e−ΔS)(4)A(x\to y)=\min\bigl(1,\ \pi(y)/\pi(x)\bigr)=\min\bigl(1,\ e^{-\Delta S}\bigr) \tag{4}

If π(y)≤π(x)\pi(y)\le\pi(x), then π(x)q⋅π(y)/π(x)=π(y)q⋅1\pi(x)q\cdot\pi(y)/\pi(x)=\pi(y)q\cdot1, so (3) holds, and ZZ is not needed. Example: two states, π=(0.2,0.8)\pi=(0.2,0.8), with the proposal "go to the other one", gives P=(010.250.75)P=\begin{pmatrix}0&1\\0.25&0.75\end{pmatrix} with eigenvalues 1,−0.251,-0.25, and the distribution from state 0 is (0.1992,0.8008)(0.1992,0.8008) after 5 steps Computed. The deviation decreases as powers of the eigenvalue of largest absolute value other than 1 (here −0.25-0.25), and this is the source of the autocorrelation time of §05.

03

Moving one link at a time — Metropolis and the step size

In four dimensions 6 plaquettes contain the link UℓU_\ell, and the part of the action that depends on UℓU_\ell has the following form.

SW=−βN Re tr(UℓAℓ)+( Uℓ-independent terms ),Aℓ=∑6 plaquettesstaples(5)S_W=-\frac{\beta}{N}\,\mathrm{Re}\,\mathrm{tr}\bigl(U_\ell A_\ell\bigr)+(\,U_\ell\text{-independent terms}\,),\qquad A_\ell=\sum_{6\text{ plaquettes}}\text{staples} \tag{5}

A staple is the product of the three edges of a plaquette other than UℓU_\ell (5-01 §03). A unit that goes once through all links is called a sweep.

The Metropolis proposal is near the current value. If the step size δ\delta is large, rejections increase; if it is small, the chain moves only a little. We look at a single U(1)U(1) link (weight eκcos⁡θe^{\kappa\cos\theta}).

Figure 1 A single U(1)U(1) link (κ=2\kappa=2). The knob sets the step size δ\delta, and "Play" advances the chain. Left: θ\theta over the last 300 steps; right: the histogram and the target density
δ = 0.25: acceptance rate 0.937, τ_int(cos θ) = 63.9 ± 5.5

ComputedThe numbers in this figure were computed on this machine (the readings are from Table 1; the chain in the figure is an example run on the spot).

ComputedTable 1 Metropolis on a single link (200,000 steps each). The acceptance rates are exact values from numerical integration (agreeing with the runs to within 0.002). Exact ⟨cos⁡θ⟩=I1(2)/I0(2)=0.69777\langle\cos\theta\rangle=I_1(2)/I_0(2)=0.69777
δ\deltaAcceptance rateτint(cos⁡θ)\tau_{\rm int}(\cos\theta)⟨cos⁡θ⟩\langle\cos\theta\rangle
0.10.975242(37)0.747(17)
0.250.93763.9(5.5)0.695(10)
10.7575.90(18)0.6972(31)
2.50.4941.94(4)0.6990(18)
π\pi0.4262.00(4)0.6990(18)

Widening δ\delta from 0.1 to 2.5 halves the acceptance rate and makes τint\tau_{\rm int} (§05) about 120 times smaller. A high acceptance rate does not indicate efficiency. At δ=0.1\delta=0.1 the mean is off from the exact value by 2.9 standard deviations; for a slow chain, the error estimate is itself uncertain.

04

Heat bath and overrelaxation — redrawing from the conditional distribution

The heat-bath method redraws a single link directly from the conditional distribution ∝eβ2tr(UℓAℓ)\propto e^{\frac{\beta}{2}\mathrm{tr}(U_\ell A_\ell)} with the rest held fixed. A sum of SU(2)SU(2) matrices is a real multiple of an SU(2)SU(2) matrix (the quaternions of 1-04), so we can write Aℓ=kVA_\ell=kV (V∈SU(2)V\in SU(2)); X=UℓVX=U_\ell V also moves with the Haar measure, and the weight is eβkx0e^{\beta kx_0} (x0=12trXx_0=\tfrac12\mathrm{tr}X). SU(2)SU(2) is the three-sphere x02+∣x⃗∣2=1x_0^2+|\vec x|^2=1, and the Haar measure is the uniform measure on it. The slice at fixed x0x_0 is a two-sphere of radius 1−x02\sqrt{1-x_0^2}, with area proportional to 1−x021-x_0^2. When x0x_0 moves by dx0dx_0, the width (arc length) on the three-sphere is dx0/1−x02dx_0/\sqrt{1-x_0^2}. The product is 1−x02 dx0\sqrt{1-x_0^2}\,dx_0, so

p(x0) ∝ 1−x02  eβkx0(−1≤x0≤1)(6)p(x_0)\ \propto\ \sqrt{1-x_0^2}\;e^{\beta k x_0}\qquad(-1\le x_0\le1) \tag{6}

we draw x0x_0 from this, choose the remaining direction uniformly, and set Uℓ=XV−1U_\ell=XV^{-1} Known. This is the method said to have been used in the SU(2)SU(2) calculation of Creutz (1980). Kennedy–Pendleton (1985) is an improvement that draws (6) quickly, and Cabibbo–Marinari (1982) is a method that updates SU(N)SU(N) one SU(2)SU(2) subgroup at a time.

Overrelaxation is a move that goes far without changing the action; for SU(2)SU(2) it is Uℓ↦V−1Uℓ−1V−1U_\ell\mapsto V^{-1}U_\ell^{-1}V^{-1}. With X′=X−1X'=X^{-1} the action does not change, two applications return to the start, and it preserves the Haar measure, so it satisfies detailed balance. On its own it is not ergodic, so it is mixed with the heat bath (Adler 1981, Creutz 1987, Brown–Woch 1987). Note that a sweep in a fixed order is in general not reversible (the chain seen backwards in time is the one updated in reverse order), and only stationarity remains Known.

05

Thermalisation and autocorrelation — forgetting the starting point and counting the correlations

A chain starts either from a cold start, with all links set to the identity matrix, or from a hot start drawn uniformly, and the first stretch is discarded (thermalisation). For the plaquette at 646^4, β=2.3\beta=2.3 (equilibrium 0.6026, the heat bath of Table 2), the heat bath enters the equilibrium band from both sides in 20 sweeps, while the hot side of Metropolis lags, at 0.482 after 20 sweeps and 0.593 after 150 Computed. Agreement of the two starting points is only a necessary condition (5-06 §04; the mathematical counterpart is the mixing time of 8-03 §06).

Even in equilibrium the configurations are not independent. We define the autocorrelation function, the correlation of the time series at a separation of tt steps divided by the variance, and the integrated autocorrelation time

ρ(t)=⟨δOn δOn+t⟩⟨δO2⟩,τint=12+∑t≥1ρ(t),Var O‾N≈2τint Var ON(7)\rho(t)=\frac{\langle \delta O_n\,\delta O_{n+t}\rangle}{\langle\delta O^2\rangle},\qquad \tau_{\rm int}=\frac12+\sum_{t\ge1}\rho(t),\qquad \mathrm{Var}\,\overline O_N\approx\frac{2\tau_{\rm int}\,\mathrm{Var}\,O}{N} \tag{7}

(δO=O−⟨O⟩\delta O=O-\langle O\rangle, N≫τintN\gg\tau_{\rm int}). The effectively independent samples number N/(2τint)N/(2\tau_{\rm int}) (formulas (23) and (25) of Wolff 2004) Known. For the heat bath of Table 2 that is 9,500/(2⋅5.08)≈9359{,}500/(2\cdot5.08)\approx935. The time τexp⁡\tau_{\exp} of the slowest decay is set by λ⋆\lambda_\star, the eigenvalue of the transition of largest absolute value other than 1, as τexp⁡=−1/log⁡λ⋆\tau_{\exp}=-1/\log\lambda_\star (in the example of §02, λ⋆=0.25\lambda_\star=0.25).

On the mathematical side, slowness is measured by the Poincaré constant CPC_P. CPC_P is the smallest constant such that Var f≤CP E∣∇f∣2\mathrm{Var}\,f\le C_P\,\mathbb E|\nabla f|^2 for every function ff (1-10 §07; for a discrete chain the right-hand side is replaced by half the mean square change in one step, 12∑x,yπ(x)P(x,y)(f(y)−f(x))2\tfrac12\sum_{x,y}\pi(x)P(x,y)(f(y)-f(x))^2). Langevin dynamics is a continuous-time dynamics that adds noise to motion down the gradient of the action, and there τexp⁡=CP\tau_{\exp}=C_P holds with equality. For a discrete-time chain, the following three are different quantities Known (Levin–Peres–Wilmer §12.2, 8-03 §06).

When γ⋆\gamma_\star is small, the ratio of the last two is 1+O(γ⋆)1+O(\gamma_\star). The Polyakov loop in the last column of Table 2 is the quantity obtained by taking, at each spatial point, the trace of the product of links once around the time direction, and averaging over space (here we look at its absolute value). It is an example of a slowly moving quantity spread over the whole lattice.

ComputedTable 2 Four-dimensional SU(2)SU(2), 646^4, β=2.3\beta=2.3 (first 500 sweeps discarded). τint\tau_{\rm int} in sweeps. The cost is the number of staple computations per link
MethodCostPlaquetteτ\tau: plaquetteτ\tau: |Polyakov|
Metropolis10.60291(57)42(10)79(24)
Heat bath10.60261(21)5.1(6)6.0(7)
Heat bath + overrelaxation 340.60297(19)2.1(2)0.87(6)

The sample sizes are 9,500, 9,500 and 4,500. At the same sample size the error of Metropolis is 2.7 times that of the heat bath, consistent with 42/5.1≈2.9\sqrt{42/5.1}\approx2.9. Comparing τ\tau multiplied by the cost, overrelaxation loses for the plaquette, 8.3 against 5.1, and gains for the Polyakov loop, 3.5 against 6.0. What gains are slow global quantities Computed. For SU(3)SU(3) too, overrelaxation is reported to have shrunk the τ\tau of the magnitude of the Polyakov loop from 28 sweeps to 9 (Brown–Woch 1987), and the tendency agrees Physics.

06

Estimating the error — bins, the jackknife, the Γ method

τint\tau_{\rm int} is estimated from the data. Binning cuts the time series into blocks of length BB and treats the block means as independent. One reads off where the error levels off for B≫τintB\gg\tau_{\rm int} (Flyvbjerg–Petersen 1989). The jackknife gives the error of a non-linear quantity ff from the means bˉ(i)\bar b_{(i)} with one block left out at a time.

σf2=n−1n∑i=1n(f(bˉ(i))−f(bˉ(⋅))‾)2,n=N/B(8)\sigma_f^2=\frac{n-1}{n}\sum_{i=1}^{n}\bigl(f(\bar b_{(i)})-\overline{f(\bar b_{(\cdot)})}\bigr)^2,\qquad n=N/B \tag{8}

It is used for Creutz ratios and masses (5-02 §06, 5-08). For the heat-bath plaquette of Table 2, (bin error / naive error)² grows as 1.00, 2.85, 6.23, 10.19 for B=1,5,20,100B=1,5,20,100, reaching the Γ-method 2τint=10.22\tau_{\rm int}=10.2. For B=200B=200–10001000 (47 to 9 blocks) it fluctuates downwards, 7.4 to 7.7. With few blocks the error of the error matters (for the square of the ratio the relative error is about 2/(n−1)\sqrt{2/(n-1)}) Computed.

The Γ method estimates the sum (7) directly, cut off at a window WW.

τint(W)=12+∑t=1Wρ(t),⟨(δτint)2⟩≈4N(W+12−τint)τint2(9)\tau_{\rm int}(W)=\frac12+\sum_{t=1}^{W}\rho(t),\qquad \langle(\delta\tau_{\rm int})^2\rangle\approx\frac{4}{N}\Bigl(W+\frac12-\tau_{\rm int}\Bigr)\tau_{\rm int}^2 \tag{9}

The right-hand side is formula (42) of Wolff (2004). It is derived by error propagation from the approximate formula for the error of the windowed sum given by Madras–Sokal (1988) (Wolff's formula (40)) Known. If WW is short there is bias; if long, noise matters. The τint\tau_{\rm int} of this chapter use Wolff's (2004) automatic window (S=1.5S=1.5). Wolff asks one to “verify by eye” that τint(W)\tau_{\rm int}(W) is flat. In the lower panel of Figure 2 (§07) one can check by eye that it is flat around the window WW of the vertical line.

07

Critical slowing down — seeing z=2z=2 by a formula for a free field

As the continuum limit is approached the correlation length ξ\xi (in lattice units) grows (5-05 §01), and the τ\tau of local updates grows too. Physics writes τ∝ξz\tau\propto\xi^{z} and calls zz the dynamical exponent (the review of Hohenberg–Halperin 1977, 8-03 §07) Physics. The lattice free field (1-08 §07) is where this can be checked by a formula.

S=12∑x[∑μ(ϕx+μ^−ϕx)2+m2ϕx2],ϕx ∣ neighbours∼N(∑y∼xϕy2d+m2,12d+m2)(10)S=\frac12\sum_x\Bigl[\sum_{\mu}(\phi_{x+\hat\mu}-\phi_x)^2+m^2\phi_x^2\Bigr],\qquad \phi_x\,|\,\text{neighbours}\sim\mathcal N\Bigl(\frac{\sum_{y\sim x}\phi_y}{2d+m^2},\frac{1}{2d+m^2}\Bigr) \tag{10}

In a checkerboard heat bath, let MeM_e be the sum over even points and MoM_o over odd. An odd point neighbours 2d2d even points, so Me′=rMo+M_e'=rM_o+ (noise), with r=2d/(2d+m2)r=2d/(2d+m^2). For the zero momentum M=Me+MoM=M_e+M_o

ρM(t)=1+r2 r2t−1 (t≥1),τint(M)=12(1−r)=12+dm2,τexp⁡=−1log⁡r2≈dm2(11)\rho_M(t)=\tfrac{1+r}{2}\,r^{2t-1}\ (t\ge1),\qquad \tau_{\rm int}(M)=\frac{1}{2(1-r)}=\frac12+\frac{d}{m^2},\qquad \tau_{\exp}=\frac{-1}{\log r^2}\approx\frac{d}{m^2} \tag{11}

From cosh⁡(1/ξ)=1+m2/2\cosh(1/\xi)=1+m^2/2, ξ≈1/m\xi\approx1/m, so τ≈d ξ2\tau\approx d\,\xi^2, and for this dynamics z=2z=2 Computed. The intuition is a random walk: a local update takes ξ2\xi^2 steps to carry information a distance ξ\xi. Precisely, the r=1−m2/(2d+m2)r=1-m^2/(2d+m^2) of (11) approaches 1 as m→0m\to0, so the fraction that shrinks in one sweep becomes 1−O(ξ−2)1-O(\xi^{-2}).

Figure 2 Two-dimensional free field, checkerboard heat bath. The knob sets mm (top: ρM(t)\rho_M(t), points measured, curves (11); bottom: τint(W)\tau_{\rm int}(W), dashed line (11), vertical line the automatic window WW). "Overlay" makes the horizontal axis t/ξ2t/\xi^2, and the four coincide
m = 0.25 (ξ = 4.01, 64²): τ_int measured 33.14 ± 3.91, (11) 32.5, τ_int/ξ² = 2.02

ComputedThe numbers in this figure were computed on this machine (the curves compute (11) on the spot. If JavaScript is disabled, Table 3).

ComputedTable 3 Two-dimensional free field, checkerboard heat bath (side 16 to 64, 50,000 to 60,000 sweeps). τ\tau in sweeps
mmξ\xiτint(M)\tau_{\rm int}(M) measured(11)(11)/ξ2/\xi^2
11.0392.57(10)2.52.316
0.52.0208.17(53)8.52.082
0.254.01033.1(3.9)32.52.021
0.1258.005125(23)128.52.005

Each doubling of ξ\xi multiplies τint(M)\tau_{\rm int}(M) by about 4. The cost of a calculation of the same precision is estimated to grow roughly as ξd+z\xi^{d+z} (5-05) Physics. For Langevin dynamics (§05) the relaxation time is 1/m2=CP1/m^2=C_P (8-03; in the free-field normalisation where the field values ϕx\phi_x themselves are the coordinates in which gradients are measured; changing the choice of coordinates changes CPC_P only by a constant factor). Both are proportional to m−2m^{-2} (∝ξ2\propto\xi^2). The τ\tau of the heat bath is measured in sweeps and the τ\tau of Langevin in Langevin time, so we do not compare the coefficients.

08

HMC and topological freezing — a global step, and a wall hard to cross

HMC (hybrid Monte Carlo, Duane et al. 1987) moves all links at once. Momenta PℓP_\ell (traceless Hermitian matrices; real linear combinations of the TaT^a of 1-03) are given normal distributions, and

H(P,U)=12∑ℓtr Pℓ2+SW(U)(12)H(P,U)=\frac12\sum_\ell\mathrm{tr}\,P_\ell^2+S_W(U) \tag{12}

the classical mechanics is run with the leapfrog method and accepted with probability min⁡(1,e−ΔH)\min(1,e^{-\Delta H}). The leapfrog method can be run backwards in time and preserves phase-space volume, so even with step errors e−SWe^{-S_W} is exactly the stationary distribution Known. Estimating the autocorrelation time of HMC by the Langevin CPC_P is an assumption (the generators are different).

As the continuum limit is approached, the field splits into sectors of topological charge QQ (the number counting how the field is twisted, integer-valued for continuum fields; for its definition on the lattice see 3-05 §08), and small steps find it hard to move between them. Schaefer–Sommer–Virotta (2011) reported, for HMC in pure gauge theory, an “effective dynamical critical exponent of about 5” for Q2Q^2, and held that Wilson loops can be decoupled from this slow mode Physics. Lüscher–Schaefer (2011) showed a method that lets topological charge flow in and out through open boundary conditions in the time direction Physics. As a metaphor it is crossing passes in a landscape with many valleys. Precisely, if the measure near the boundaries of sectors is small the Poincaré constant becomes large (8-03 §08) Known, but whether that is the cause of freezing has not been established.

09

Monte Carlo seen from mathematics — the line between theorems and observations

On a finite lattice (1) is a probability measure on a compact space (5-01 §06). What can be said as theorems is the convergence of time averages by the ergodic theorem (for continuous state spaces, under the conditions of §02) and the central limit theorem. For a reversible chain, if the asymptotic variance is finite, a central limit theorem of the form (7) holds (Kipnis–Varadhan 1986) Known. What remains observation is the error bar. If there is a slow mode invisible at finite NN, the error bar comes out too small (δ=0.1\delta=0.1 in Table 1, §08). Extrapolation from finite volume and finite aa (5-05 §07, 5-09) needs further assumptions.

The glueball masses and string tension of 5-08 are physical results that rely on that extrapolation Physics, not a proof of the existence and the gap of the problem statement (4-11). On the other hand CPC_P is a mathematical object, and at strong coupling a Poincaré inequality for lattice Yang–Mills has been shown (Shen–Zhu–Zhu 2023, 5-04) Known. For four-dimensional Yang–Mills there is no theorem fixing the ξ\xi-dependence of CPC_P on the side ξ→∞\xi\to\infty.


What this chapter can say

MatterSaidNot said
Update methodsThat Metropolis, heat bath, overrelaxation and HMC preserve the stationary distribution; (6) KnownThe speed of mixing on a four-dimensional lattice
Tables 1 and 2τint\tau_{\rm int} and errors in small examples ComputedGeneralisation to large lattices. That the error bars are upper bounds
Critical slowing down(11) and z=2z=2 for the free field with a checkerboard heat bath Computed. The general τ∝ξz\tau\propto\xi^z is a hypothesis PhysicsThe zz of four-dimensional Yang–Mills
Topological freezingThe number in the abstract (effective exponent about 5) PhysicsA mathematical explanation of freezing
The mass gap—This chapter shows nothing about the mass gap or the continuum limit

Sources and reproduction

ItemKindSource / tools
§02AbstractN. Metropolis et al., J. Chem. Phys. 21 (1953) 1087
The ergodic theorem and convergence theorem in §02, the relaxation time in §05TextD. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, 2nd ed.: Theorem C.1 (ergodic theorem, Appendix C.1), Theorem 4.9 (convergence theorem, §4.3), §12.2, Theorems 12.4–12.5 (relaxation time and mixing time)
Continuous state spaces in §02 and §09AbstractL. Tierney, Ann. Statist. 22 (1994) 1701
§04, §05 (Brown–Woch's 28→9 sweeps)Abstract (the attribution of the heat bath to Creutz not checked)M. Creutz, PRD 21 (1980) 2308 / N. Cabibbo, E. Marinari, PLB 119 (1982) 387 / A. D. Kennedy, B. J. Pendleton, PLB 156 (1985) 393 / S. L. Adler, PRD 23 (1981) 2901 / M. Creutz, PRD 36 (1987) 515 / F. R. Brown, T. J. Woch, PRL 58 (1987) 2394
(7)(9) and the automatic window in §05 and §06Text (formulas (23), (25), (40), (42), (50)–(52); (42) is error propagation from (40))U. Wolff, CPC 156 (2004) 143 (erratum: CPC 176 (2007) 383), arXiv:hep-lat/0306017
§06 (the origin of formula (40) for the error of the windowed sum, binning)AbstractN. Madras, A. D. Sokal, J. Stat. Phys. 50 (1988) 109 / H. Flyvbjerg, H. G. Petersen, J. Chem. Phys. 91 (1989) 461
The dynamical exponent zz in §07AbstractP. C. Hohenberg, B. I. Halperin, Rev. Mod. Phys. 49 (1977) 435
§08AbstractS. Duane, A. D. Kennedy, B. J. Pendleton, D. Roweth, PLB 195 (1987) 216 / S. Schaefer, R. Sommer, F. Virotta, NPB 845 (2011) 93, arXiv:1009.5228 / M. Lüscher, S. Schaefer, JHEP 07 (2011) 036, arXiv:1105.4749
§09Bibliographic data only / abstractC. Kipnis, S. R. S. Varadhan, CMP 104 (1986) 1 / H. Shen, R. Zhu, X. Zhu, CMP 400 (2023) 805, arXiv:2204.12737
Tables 1–3, Figures 1 and 2, the numbers in §01, §02 and §05–§07Computed on this machinePython 3, NumPy, SciPy. one_link_metropolis.py, su2_algos.py, analyze_su2.py, free_field.py, exact_tint.py, free_field_ext.py (extension for Figure 2), gamma_method.py (checked with AR(1)), small_numbers.py

Next chapter to read: 5-08 Measuring glueballs and the string tension (reading masses and the string tension from configurations made by the methods of this chapter).

← 5-06 How U(1) differs from the non-abelian caseContents5-08 Measuring glueballs and the string tension →

Revised 2026-10-01: first version.