Preprint
Article

This version is not peer-reviewed.

Block Heat-Bath Proposals for Topology Sampling in the Schwinger Model

Submitted:

16 October 2026

Posted:

19 October 2026

You are already at the latest version

Abstract
Hybrid Monte Carlo (HMC) freezes the topological charge of lattice gauge theories toward the continuum. In two dimensions the topological charge is the total magnetic flux in units of 2π, and the flux through a block of plaquettes is fixed by its boundary only modulo 2π. In flux variables the gauge field inside a b × b block can be redrawn exactly from its pure-gauge conditional distribution, with the fermions included by a Metropolis step on the determinant. Every update can change the topological charge without crossing an action barrier. Exact sampling thus replaces learning for the pure-gauge proposal; to our knowledge this is the first topology-changing block update for dynamical fermions built from an exact pure-gauge conditional proposal. The probability of changing the topology follows a pure-gauge formula and depends essentially only on s² ≃ b²/β. Over β = 2–16 the autocorrelation time of the topological charge falls on a single curve in s², with a minimum of about half a sweep, so the block size should grow as √β. Where pseudofermion HMC is frozen, the block update decorrelates the topology within a sweep and is 38 to 76 times more efficient than winding HMC with exact determinant ratios. It also reproduces the η′ correlator, which is distorted at fixed topology. Finally, a single unfactorized pseudofermion estimate of the determinant ratio loses one to two orders of magnitude of acceptance on local winding moves.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Lattice field theory computes expectation values with Markov chains. Hybrid Monte Carlo (HMC), the standard algorithm with dynamical fermions, moves the gauge field continuously. The topological charge Q, however, is an integer: to change it, the field must pass through configurations of large action, and these barriers grow as the lattice spacing decreases. Toward the continuum HMC therefore stops changing Q. Observables tied to topology, such as the topological susceptibility or the flavor-singlet meson mass, then carry large autocorrelations or a bias from the initial distribution of Q.
The two-flavor Schwinger model, quantum electrodynamics in two dimensions, is the standard test bed for this problem: it shares the topological freezing and the anomalous singlet meson of QCD at a small fraction of the cost. Winding HMC adds explicit moves that wind the field by one unit of flux [7]; metadynamics biases the chain toward changes of Q [8]; and flow-based samplers train neural networks to propose configurations, combined with a fermion determinant correction [5,6,9]. Flows acting directly on plaquette variables have recently been developed for pure gauge theories [10,11]. A flow must first be trained, and the network architecture and the training are a large part of the effort.
This paper starts from a simple observation. In two dimensions Q is the total magnetic flux divided by 2 π . If the links on the boundary of a b × b block are held fixed, the flux through the block is fixed only modulo 2 π ; its integer part, the winding of the block, is free. Redrawing the inside of the block can therefore change Q in a single step, with no barrier to cross. In plaquette variables the pure-gauge distribution of the block is a product of von Mises distributions with one constraint, which can be sampled exactly. The fermions enter through an exact Metropolis step on | det D | 2 , kept cheap by low-rank updates of a stored inverse Dirac operator.
Our results are the following. The first follows directly from the construction: no training is needed. In a flow-based sampler a neural network learns the proposal; here the pure-gauge conditional distribution of the block is explicit and is sampled exactly, so exact sampling replaces learning for the pure-gauge part. The proposal leaves out only the fermion determinant, whose cost is a measured acceptance of 0.4 – 0.95 (Sec. Section 3.3). The full target distribution is not solved analytically; the determinant step corrects the chain to it. To our knowledge this is the first topology-changing block update for dynamical fermions built from an exact pure-gauge conditional proposal. The same explicit distribution also tells when the update changes the topology, which is the second result: the probability that a block proposal changes its winding follows from a pure-gauge formula and depends essentially only on s 2 ≃ b 2 / β , the size of the flux fluctuations a block can hold; the autocorrelation time of Q falls on a single curve in s 2 , which gives the rule b ∝ β (Sec. Section 4). Third, where pseudofermion HMC is frozen, the block update decorrelates Q in about half a sweep and is 38 to 76 times more efficient than winding HMC with exact determinant ratios, and it reproduces the η ′ correlator, which is distorted at fixed topology. At the critical point used to benchmark flow-based samplers [9], where HMC still moves, a short run at L = 24 suggests a factor of order 100 over our pseudofermion HMC for Q (Sec. Section 5). Fourth, for local winding moves a single unfactorized pseudofermion estimate of the determinant ratio loses one to two orders of magnitude of acceptance relative to the exact ratio, which the block update computes cheaply.
The ingredients are not new individually, and the construction differs from earlier topology-changing updates in specific ways. Elser and Bunk [1,2] used an exact heat bath for all plaquettes of the lattice at once, in the pure-gauge theory; they noted that no such update was known with dynamical fermions. Dürr [3] multiplied the whole configuration by a constant-flux instanton, which changes Q by one, and included the fermions by reweighting. Knechtli and Wolff [4] corrected pure-gauge Markov-chain proposals for the fermions with a global accept/reject step, without targeting topology. Winding HMC [7] proposes a fixed winding deformation of a local region, and flow-based samplers [5,6,9] learn their proposals. Low-rank determinant updates are standard in fermion Monte Carlo [12]. Here the proposal is local, with a fixed boundary, and is drawn exactly from the pure-gauge conditional distribution, so that all windings k appear with their pure-gauge weights; each update changes the Dirac matrix only locally and by low rank, so that the exact determinant ratio stays cheap. What is new is this construction, its efficiency, and the mechanism that sets the block size.

2. Topology as Block Winding

2.1. Model

We use the compact U ( 1 ) gauge field U μ ( x ) = e i θ μ ( x ) on an L × L periodic lattice with the Wilson action
S g = β ∑ p 1 − cos ϕ p ,
where ϕ p = θ 1 ( x ) + θ 2 ( x + 1 ^ ) − θ 1 ( x + 2 ^ ) − θ 2 ( x ) , taken in ( − π , π ] , is the magnetic flux through plaquette p. The two degenerate flavors of Wilson fermions have
D x y = ( m + 2 ) δ x y − 1 2 ∑ μ [ ( 1 − γ μ ) U μ ( x ) δ x + μ ^ , y + ( 1 + γ μ ) U μ † ( y ) δ x − μ ^ , y ] ,
periodic in space and antiperiodic in time, with m = 1 / ( 2 κ ) − 2 . The target distribution is ∝ e − S g | det D | 2 .

2.2. Topological Charge and Block Winding

The topological charge is the total flux,
Q = 1 2 π ∑ p ϕ p ,
which is an integer on the torus. Now take a block B of n = b 2 plaquettes and keep the links on its boundary fixed. The product of the boundary links, the holonomy e i ω , fixes the flux through the block modulo 2 π :
∑ p ∈ B ϕ p = ω + 2 π k , k ∈ Z .
The integer k, the winding of the block, is not determined by the boundary. Since no plaquette outside the block changes, redrawing the inside of the block changes Q by exactly the change of k. Figure 1 illustrates this. HMC, which moves all links continuously, can change Q only by passing a plaquette angle through ± π , which costs action ≃ 2 β ; a block update that redraws k never needs to.

3. Block Update

3.1. Pure-Gauge Proposal

Given its boundary, the plaquette angles inside the block have the pure-gauge conditional density
q B ( ϕ ∣ ∂ B ) ∝ ∏ p ∈ B e β cos ϕ p δ 2 π ∑ p ∈ B ϕ p − ω ,
where δ 2 π is the periodic delta function. This distribution is sampled exactly by rejection: draw n − 1 angles independently from the von Mises distribution ∝ e β cos ϕ , set the last angle by the constraint, and accept the whole draw with probability exp [ β ( cos ϕ last − 1 ) ] . The links inside the block are then rebuilt from the plaquette angles: the interior gauge freedom is drawn uniformly and the remaining links follow by cumulative sums. This map is triangular with unit Jacobian, so the result is an exact pure-gauge heat bath for the block in link variables. All windings k allowed by Eq. (4) are proposed with their correct pure-gauge weights.

3.2. Fermion Correction

Since the proposal is a heat bath for the gauge action alone, only the determinant remains in the Metropolis–Hastings ratio:
α ( U → U ′ ) = min 1 , | det D ( U ′ ) | 2 | det D ( U ) | 2 .
The chain is therefore exact: in exact arithmetic its stationary distribution is e − S g | det D | 2 , although successive configurations are correlated (App. Appendix B). A sweep tiles the lattice with blocks at a random offset, so that later sweeps also update earlier block boundaries. Since no block touches the boundary of another, all proposals of a tiling are drawn at once; they are then accepted or rejected one block at a time, in random order, against the current configuration.
The determinant ratio is evaluated exactly. A block update changes the Dirac matrix only in a small set of rows and columns, D ′ = D + E M E T , and the ratio is a small determinant, det D ′ / det D = det ( 1 + M G P P ) with G = D − 1 . We store G for every chain, update it after each accepted proposal and recompute it every ten sweeps (App. Appendix A). Many independent chains run as one batch on a GPU.

3.3. Why No Training Is Needed

A flow-based sampler trains a neural network because the target density is known only up to normalization and cannot be sampled directly: the network learns an invertible map from a simple distribution to an approximation of the target, and the remaining mismatch is removed by an accept/reject step. In the two-dimensional U ( 1 ) theory the gauge part of this problem needs no learning. In plaquette variables the Wilson action is a sum of independent single-plaquette terms, the change of variables from links has unit Jacobian, and a block with fixed boundary adds a single constraint, Eq. (5). Instead of learning a map that approximates this distribution, we sample it exactly (Sec. Section 3.1).
The fermion determinant is nonlocal and has no such form. Flow-based approaches also correct for it with a determinant ratio [5,6]; we use the exact ratio with a proposal that ignores the fermions altogether. The cost of ignoring them is measurable: the acceptance is 0.8 – 0.95 for proposals that keep the block winding and 0.4 – 0.85 for those that change it (Sec. Section 4). There is no architecture to design and no parameter to train; the only choice is the block size b, which the mechanism of the next section fixes.

4. When Does a Block Change the Topology?

The block size controls how often a proposal changes the winding, and with it how fast Q decorrelates.

4.1. Winding Probability

Let f n be the density of the sum of n independent von Mises angles on the real line. By Eq. (5), the proposed winding has the distribution
P ( k ∣ ω ) = f n ( ω + 2 π k ) ∑ j f n ( ω + 2 π j ) ,
independently of the current winding: the heat bath picks one tooth of the comb in Figure 1(b). The probability that a proposal changes the winding, averaged over the boundary, is
p wind = 1 − ∫ − π π d ω ∑ k f n ( ω + 2 π k ) 2 ∑ k f n ( ω + 2 π k ) .
At large β the plaquette angles are nearly Gaussian, f n has width s with
s 2 = b 2 〈 ϕ 2 〉 β ≃ b 2 / β ,
and p wind depends on s 2 alone. Physically, s 2 measures the flux fluctuations a block can hold, in units where one winding is 2 π : for s ≪ π the comb has a single relevant tooth and p wind ≃ s e − π 2 / ( 2 s 2 ) / 2 π is exponentially small, whereas for s ≳ π several windings compete and p wind approaches one. Since 1 / β = e 2 a 2 , s 2 is the physical area of the block in units of 1 / e 2 .
We measured p wind with dynamical fermions at L = 24 , m = 0 , for β ∈ { 2 , 3 , 4.5 , 6 , 8.45 , 12 , 16 } and b ∈ { 2 , 3 , 4 , 6 , 8 , 12 } (38 points), and evaluated Eq. (8) by numerical convolution. The measured values collapse onto the pure-gauge prediction as a function of s 2 [Figure 2(a)]. They lie slightly below it, by 1–2% at p wind ≈ 0.8 and by about 30% at p wind ≈ 10 − 3 , as expected if the fermions suppress large flux fluctuations (Sec. Section 6).

4.2. Acceptance, Autocorrelation and the Choice of Block Size

A proposal that changes the winding changes the gauge field more and is accepted less often. Its mean acceptance a 1 decreases from about 0.85 at β = 2 to about 0.4 at β = 16 at fixed s 2 , while proposals that keep the winding are accepted with a 0 ≈ 0.8 – 0.95 . Nevertheless the integrated autocorrelation time of Q depends, within our precision, on s 2 alone [Figure 2(c)]: for instance τ int ( Q ) = 1.79 at ( β , b ) = ( 4.5 , 3 ) and 1.73 at ( 16 , 6 ) , both with s 2 ≈ 2.3 . It has a broad minimum of about 0.5 sweeps, i.e. successive sweeps are nearly independent, for s 2 ≈ 5 –15; it grows rapidly below s 2 ≈ 2.5 , where blocks rarely hold a whole unit of flux, and slowly above s 2 ≈ 30 , where the larger blocks are accepted less often. Because the proposal is exact and has no parameters, this collapse reflects only the flux fluctuations of the block and the response of the fermions, not the quality of a trained model.
This gives a simple rule: keep s 2 in the optimal window by growing the block as b ∝ β , i.e. at fixed physical size. A fixed block freezes as β grows; for b = 3 , τ int ( Q ) = 0.52 , 1.79 , 5.2 and > 13 at β = 2 , 4.5 , 6 and 8.45 . With b ∝ β , τ int ( Q ) ≲ 0.8 up to β = 16 . Pseudofermion HMC on the same lattices freezes much faster: the fraction of trajectories that change Q drops by almost three orders of magnitude from β = 2 to 6, and no change occurs in 2.9 × 10 4 and 1.4 × 10 4 chain-trajectories at β = 8.45 and 12, although its acceptance at β = 12 is 0.99 [Figure 2(b)].

5. Results

5.1. Correctness

At the critical point studied in Ref. [9], L = 16 , β = 2 , κ = 0.276 , the reference values in our normalization are 〈 ψ ¯ ψ 〉 = 0.83307 ( 5 ) and 〈 Q 2 〉 = 0.9920 ( 10 ) . Independent double-precision chains give 0.83341 ( 21 ) and 0.9923 ( 22 ) with b = 4 , and 0.83263 ( 35 ) and 0.9899 ( 35 ) with b = 8 ; a single-precision GPU run with b = 4 gives 0.83321 ( 36 ) and 0.991 ( 5 ) . All agree within 2 σ . Further checks against dense linear algebra, determinant reweighting and double precision are listed in App. Appendix B.

5.2. Frozen HMC, Winding HMC and the Block Update

Table 1 compares the three algorithms at β = 8.45 , the coupling of the winding HMC study [7], on two volumes. All chains start from exact pure-gauge configurations.
Pseudofermion HMC is frozen at both volumes. Its chains keep the charges of their pure-gauge starting configurations, and its 〈 Q 2 〉 is too large by factors of 2.4 and 2.3 : a frozen chain is only as good as its initial distribution of Q.
The block update and winding HMC agree with each other, for 〈 Q 2 〉 and for the condensate ( 0.83677 ( 5 ) vs 0.83682 ( 18 ) at L = 24 , 0.83851 ( 5 ) vs 0.83840 ( 20 ) at L = 32 ). With b = 8 fixed, s 2 ≈ 8 does not change with the volume, and the autocorrelation of the block update stays close to half a sweep on both volumes, τ Q = 0.505 ( 5 ) and 0.479 ( 8 ) sweeps; it does not deteriorate with the volume. Its cost per sweep grows by a factor of 3.7 from L = 24 to L = 32 , the cost of dense linear algebra ( 2.3 and 8.4 ms per chain and sweep). Doubling the block to b = 16 at L = 32 ( s 2 ≈ 32 ) lowers the acceptance from 0.78 to 0.58 and raises τ Q to 0.719 ( 14 ) , as Figure 2(c) predicts.
Winding HMC with a fixed number of windings per trajectory slows down with the volume: τ Q grows from 1.15 ( 4 ) to 1.93 ( 18 ) trajectories while a trajectory becomes 4.2 times more expensive per chain. The advantage of the block update therefore grows from a factor of about 38 at L = 24 to about 76 at L = 32 for Q, and from 27 to about 45 for the condensate.
At the critical point, where HMC is not frozen, we ran both algorithms in turn at L = 24 on the same GPU from a common equilibrated start. The block update ( b = 4 , 256 chains) gave τ Q = 0.737 ( 11 ) sweeps and 178 ( 3 ) effective samples of Q per second, 41 ( 1 ) for the condensate. Pseudofermion HMC (512 chains, 40 Omelyan steps per unit trajectory, acceptance 0.73 ) took 48 s per trajectory, so the 25-minute run gave only 32 trajectories per chain, 26 after burn-in. Its autocorrelation times did not converge within the analysis window, and the thermalization check did not confirm a steady state. Taken at face value, the truncated estimates τ Q ≈ 3.7 trajectories, 1.4 effective samples of Q per second and 0.8 of the condensate give factors of about 120 for Q and 50 for the condensate; they are observations from a short window, not converged steady-state efficiencies, unlike those of Table 1. Both agree, 〈 Q 2 〉 = 2.258 ( 16 ) and 2.23 ( 8 ) , 〈 ψ ¯ ψ 〉 = 0.8372 ( 6 ) and 0.837 ( 2 ) . These factors apply to our pseudofermion implementation, which uses neither mass preconditioning nor multiple time scales.

5.3. Meson Masses

The flavor-singlet pseudoscalar, the η ′ , is the observable most directly tied to topology: through the anomaly it gets its mass from topological fluctuations, and in the massless continuum theory m η ′ 2 = N f e 2 / π . Its correlator is the isotriplet (pion) correlator minus N f times the correlator of the fermion loop Tr [ γ 5 G ( x , x ) ] . Since the block update stores G = D − 1 anyway, we evaluate both from all source points at once, exactly and without stochastic noise.
Figure 3 shows the effective masses at β = 8.45 and at the critical point. At L = 24 both reach a plateau, clearly separated, and the block update and winding HMC agree: at t = 11 , m π = 0.2100 ( 2 ) and 0.2105 ( 6 ) , and m η ′ = 0.311 ( 5 ) and 0.303 ( 9 ) . At L = 32 , m π = 0.2004 ( 2 ) and the η ′ approaches 0.30 ( 2 ) at t = 15 . Measurements two sweeps apart are already uncorrelated: the integrated autocorrelation time of the η ′ correlator at t = L / 4 is 0.50 measurements, the value for independent data. At the critical point ( L = 24 ), m π = 0.135 ( 2 ) at t = 11 . We obtain no reliable η ′ estimate there: the estimator is dominated by rare configurations, and a single measurement among 8.6 × 10 4 carries over 90% of the jackknife variance of the correlator. This is consistent with near-zero eigenvalues of D, which the weight | det D | 2 suppresses but the correlators, growing like the inverse square of such an eigenvalue, amplify; the stored observables do not allow us to confirm the cause.
The η ′ requires the correct mixture of topological sectors. Restricting the block ensemble to Q = 0 distorts its correlator: the effective mass falls below the pion at L = 24 and well below it at L = 32 , as expected for correlators at fixed topology, which approach a constant at large t [13].

5.4. Single-Pseudofermion Estimates of the Determinant Ratio

The simplest pseudofermion algorithm replaces | det D ′ / det D | 2 by the stochastic estimate e − Δ S pf with Δ S pf = η † ( K † K − 1 ) η , K = D ′ − † D † and Gaussian η . The estimate has the right mean, but its variance is infinite whenever K † K has an eigenvalue below 1 / 2 . Table 2 shows that this is the case for a typical winding move: the estimate is heavy-tailed, and the acceptance drops by one to two orders of magnitude below the exact value. In a production run at L = 24 , β = 8.45 (1024 chains, ten 3 × 3 windings per trajectory) only a fraction 8.6 × 10 − 5 of the windings was accepted, against 0.007 for the same windings with exact ratios. This mirrors the collapse of fully stochastic acceptance reported in Ref. [4]. Our test covers only this simplest estimator, one Gaussian pseudofermion without factorization. Determinant factorization, several pseudofermions, or an exact treatment of the extreme eigenmodes with a stochastic remainder, as studied in Ref. [4], reduce the variance and were not tested here. We use the exact ratio because the stored G makes it cheap.

6. Discussion

Because its pure-gauge part is sampled exactly, the two-flavor Schwinger model is a benchmark for neural samplers in which only the fermionic effect remains to be learned. With everything else unchanged, a proposal that learned it could raise the measured acceptances at most to one; this bounds the gain in acceptance, not the overall gain in efficiency, which also depends on the cost and size of the proposals.
A possible direction is a proposal that already contains part of the fermionic effect. For massless fermions in the continuum, integrating out the fermions adds a nonlocal quadratic term to the gauge action, ( N f / 2 π ) ∑ ϕ ( − Δ ) − 1 ϕ in lattice units, which gives the photon its mass m 2 = N f / ( π β ) . This term suppresses long-wavelength flux fluctuations and may explain why the measured winding probabilities lie below the pure-gauge values. Turning it into a proposal requires approximations. The compact weight e β cos ϕ plus this term is not Gaussian; only in the harmonic approximation cos ϕ ≃ 1 − ϕ 2 / 2 , appropriate at large β , does the block distribution become a Gaussian with one constraint modulo 2 π , and the winding branches k must then be summed with their Gaussian weights. The term couples the block to the flux outside it, and the zero mode of ( − Δ ) − 1 on the torus, which carries the total flux 2 π Q , must be treated separately. Such a proposal is no longer a heat bath for the gauge action, so its acceptance must include the ratio of proposal densities, not only the determinant ratio: α = min { 1 , π ( U ′ ) q ( U ∣ U ′ ) / [ π ( U ) q ( U ′ ∣ U ) ] } with π ∝ e − S g | det D | 2 . Whether this raises the acceptance of topology-changing proposals is an open question.

Limitations and Open Questions

The method relies on the abelian, two-dimensional structure. In four dimensions, and for non-abelian groups, plaquettes are linked by Bianchi identities and their distribution no longer factorizes; there, constraint handling may require learned or iterative methods [10,11], and we do not claim an extension to QCD. The cost of our implementation is dominated by dense linear algebra, which limits it to moderate volumes; sparse solvers or hierarchical determinant factorization [5,6] would remove this limit. The main open physics question is whether the acceptance a 1 of topology-changing proposals stays finite in the continuum limit at fixed physical mass and volume, with L and b growing as β ; its decrease at m = 0 may partly reflect the approach of the bare mass to the critical mass. Our comparisons use winding HMC with dense exact determinants and steady-state throughput; a comparison with a sparse-solver winding HMC, end-to-end costs including thermalization, and a comparison against ordinary local updates of the same blocks remain to be done.

Appendix A. Implementation and Cost

Write N = 2 L 2 for the dimension of the Dirac matrix. In D ′ = D + E M E T (Sec. Section 3), E selects the r = 2 ( b + 1 ) 2 spinor components of a ( b + 1 ) × ( b + 1 ) square, so the ratio det ( I r + M G P P ) costs O ( r 3 ) ; after an accepted update the Woodbury identity updates G in O ( N 2 r + N r 2 + r 3 ) . Storing G costs O ( N 2 ) per chain and recomputing it costs O ( N 3 ) ; we recompute it every ten sweeps to control rounding. With fixed b a sweep therefore costs O ( N 3 ) , so these identities reduce the cost relative to repeated factorizations but do not beat the asymptotic scaling of sparse-solver HMC. The batched implementation processes accepted and rejected chains together.
Autocorrelation times use τ int = 1 2 + ∑ t ≥ 1 ρ ( t ) with a Sokal window, so independent measurements have τ int = 1 2 . Throughput is C / ( 2 τ int t step ) for C chains and update time t step per step, after discarding a burn-in fraction; it is a steady-state rate and excludes measurements. Uncertainties of τ int use the Madras–Sokal approximation σ τ ≃ τ 2 ( 2 W + 1 ) / N with window W ≃ 5 τ and N the number of chains times retained measurements [14].

Appendix B. Checks

Appendix Block Update

Single-precision runs reach σ min ( D ) ≃ 1.5 × 10 − 5 without observed changes of accept/reject decisions relative to double precision in the tested samples. The reference at L = 8 , β = 2 , m = 0.1 and m = − 0.188 is independent of any Markov chain: we draw 4 × 10 5 independent exact pure-gauge configurations, with all L 2 plaquettes sampled by the global rejection method of Sec. Section 3 (one constraint, ∑ p ϕ p ≡ 0 mod 2 π ), uniform holonomies and uniform gauge, and weight each by | det D | 2 computed densely in double precision. At m = 0.1 this gives 〈 cos ϕ p 〉 = 0.71535 ( 9 ) , 〈 Q 2 〉 = 1.0283 ( 23 ) and 〈 ψ ¯ ψ 〉 = 0.89063 ( 3 ) . Block-update chains in single and double precision agree with the reference at both masses within | z | ≤ 0.8 . The production implementation with low-rank updates of G agrees at m = 0.1 within | z | ≤ 2.2 for three independent seeds and three observables, and within | z | ≤ 1 when the seeds are combined.

Appendix Exactness of the Block Update

Let π ( U ) ∝ e − S g ( U ) | det D ( U ) | 2 with respect to the Haar measure on all links. For a block B, call the links not on its boundary its interior links U I ; for a b × b block there are 2 b 2 − 2 b of them. Every plaquette that contains an interior link lies in B, so the pure-gauge conditional distribution of U I given all other links is π g ( U I ∣ · ) ∝ ∏ p ∈ B e β cos ϕ p .
Reconstruction. Fix a maximal tree inside the block. The interior links are then in one-to-one correspondence with b 2 − 1 free plaquette angles and ( b − 1 ) 2 gauge angles at the interior sites; the counts match, b 2 − 1 + ( b − 1 ) 2 = 2 b 2 − 2 b . The map is linear with integer coefficients and triangular with unit diagonal, hence a measure-preserving bijection of the torus [ − π , π ) 2 b 2 − 2 b . The rejection step of Sec. Section 3 draws the plaquette angles exactly from Eq. (5): the accepted draws have density ∏ p ∈ B e β cos ϕ p on the constraint surface, for every winding k. With uniform gauge angles, the rebuilt U I ′ is therefore distributed exactly as π g ( U I ′ ∣ · ) and does not depend on the old U I .
Detailed balance. With proposal q ( U → U ′ ) = π g ( U I ′ ∣ · ) , the Metropolis–Hastings ratio is
π ( U ′ ) q ( U ′ → U ) π ( U ) q ( U → U ′ ) = e − S g ( U ′ ) | det D ( U ′ ) | 2 e − S g ( U ) e − S g ( U ) | det D ( U ) | 2 e − S g ( U ′ ) = | det D ( U ′ ) | 2 | det D ( U ) | 2 ,
since the normalization of π g depends only on the links outside U I , which do not change. This is Eq. (6), so each block update is reversible with respect to π .
Sweeps. A sweep draws an offset uniformly and tiles the lattice with blocks. The conditional distribution of one block depends only on its own boundary links, which are not interior links of any block of the same tiling. Drawing all proposals at once from the configuration at the start of the sweep therefore gives the same proposal distribution as drawing each one just before its accept/reject step, and these steps are taken one block at a time against the current configuration. A sweep is thus a product of π -reversible kernels in random order and leaves π invariant. The stored G = D − 1 enters only through the determinant ratio, which the low-rank update gives exactly in exact arithmetic; the periodic recomputation of G controls rounding.
Irreducibility. The block proposal has a strictly positive density on the interior links, and the acceptance is positive except on the null set where det D ( U ′ ) = 0 . For b ≥ 2 , the tiling grid shifted by one site in each direction shares no link with the original grid, so every link is an interior link in one of two sweeps with such offsets. Two such sweeps, which occur with positive probability, therefore reach every set of configurations of positive measure, in every topological sector and for all holonomies. The chain is irreducible, and aperiodic because proposals are rejected with positive probability; with invariance of π this implies convergence to π .

Pseudofermion HMC. 

The baseline applies D matrix-free, solves D † D X = ϕ by batched conjugate gradients from a zero start, and integrates with the second-order Omelyan scheme [15]. Forces use single precision with relative solver tolerance 10 − 5 ; the actions in the accept/reject step use double precision with tolerance 10 − 10 . Against dense linear algebra the operator agrees to 2 × 10 − 15 and the force agrees with finite differences to better than 10 − 6 ; 〈 | Δ H | 〉 scales as ϵ 2 and the integrator is reversible to 5 × 10 − 13 . At L = 8 , β = 2 , m = 0.1 the chain agrees with the reference within 2.2 σ . Its time per trajectory is nearly independent of the number of chains up to 1024, so we run it with 512–1024 chains. On the L = 24 scan we used n md = 12 steps per unit trajectory, and n md = 24 at β = 12 with the chains started from block-equilibrated configurations. In Table 1 we used n md = 16 at L = 24 and 20 at L = 32 , and at the critical point n md = 40 .

References

  1. S. Elser and B. Bunk, “Topological sectors and the pion mass,” arXiv:hep-lat/9710019.
  2. S. Elser, “The Local Bosonic Algorithm applied to the massive Schwinger model,” arXiv:hep-lat/0103035.
  3. S. Dürr, “Physics of η′ with rooted staggered quarks,” Phys. Rev. D 85, 114503 (2012), arXiv:1203.2560.
  4. F. Knechtli and U. Wolff, “Dynamical fermions as a global correction,” arXiv:hep-lat/0303001.
  5. J. Finkenrath, “Tackling critical slowing down using global correction steps with equivariant flows: the case of the Schwinger model,” arXiv:2201.02216.
  6. J. Finkenrath, “Fine grinding localized updates via gauge equivariant flows in the 2D Schwinger model,” arXiv:2402.12176.
  7. D. Albandea, P. Hernández, A. Ramos, and F. Romero-López, “Topological sampling through windings,” arXiv:2106.14234.
  8. C. Hoelbling, T. Eichhorn, P. Rouenhoff, and L. Varnhorst, “Metadynamics Surfing on Topology Barriers in the Schwinger Model,” PoS(LATTICE2022)253, arXiv:2212.11665.
  9. M. S. Albergo et al., “Flow-based sampling in the lattice Schwinger model at criticality,” Phys. Rev. D 106, 014514 (2022), arXiv:2202.11712.
  10. A. Singha, J. Finkenrath, K. Jansen, V. Arora, and S. Nakajima, “Multilevel Plaquette-Space Sampling for Lattice Gauge Theories with Local Constraint Solves,” arXiv:2609.35722.
  11. A. Singha, J. Kauffmann, K. Jansen, J. Finkenrath, V. Arora, and S. Nakajima, “Sector-Resolved Flow Sampling for Topologically Frozen Lattice Gauge Theories,” arXiv:2609.07781.
  12. R. Blankenbecler, D. J. Scalapino, and R. L. Sugar, “Monte Carlo calculations of coupled boson-fermion systems. I,” Phys. Rev. D 24, 2278 (1981).
  13. R. Brower, S. Chandrasekharan, J. W. Negele, and U.-J. Wiese, “QCD at fixed topology,” Phys. Lett. B 560, 64 (2003), arXiv:hep-lat/0302005.
  14. N. Madras and A. D. Sokal, “The pivot algorithm: a highly efficient Monte Carlo method for the self-avoiding walk,” J. Stat. Phys. 50, 109 (1988).
  15. I. P. Omelyan, I. M. Mryglod, and R. Folk, “Symplectic analytically integrable decomposition algorithms: classification, derivation, and application to molecular dynamics, quantum and celestial mechanics simulations,” Comput. Phys. Commun. 151, 272 (2003). [CrossRef]
Figure 1. (a) A 3 × 3 block (shaded) with fixed boundary links and holonomy e i ω . (b) Distribution of the total flux of the block, a sum of b 2 plaquette angles (curve); only the values ω + 2 π k (red) are allowed, one for each block winding k.
Figure 1. (a) A 3 × 3 block (shaded) with fixed boundary links and holonomy e i ω . (b) Distribution of the total flux of the block, a sum of b 2 plaquette angles (curve); only the values ω + 2 π k (red) are allowed, one for each block winding k.
Preprints 238668 g001
Figure 2. Block winding mechanism, L = 24 , m = 0 , N f = 2 , 128 chains per point. (a) Probability that one block proposal changes the block winding versus s 2 = b 2 〈 ϕ 2 〉 β (filled), with the pure-gauge prediction Eq. (8) at the same ( β , b ) (open) and its Gaussian limit (dotted). (b) Fraction of steps that change Q: block update per sweep for each b, and pseudofermion HMC per trajectory (open triangles: no change observed, plotted at the inverse number of chain-trajectories). (c) τ int ( Q ) of the block update in sweeps versus s 2 , colors as in (a), with Madras–Sokal errors (triangles: lower bounds).
Figure 2. Block winding mechanism, L = 24 , m = 0 , N f = 2 , 128 chains per point. (a) Probability that one block proposal changes the block winding versus s 2 = b 2 〈 ϕ 2 〉 β (filled), with the pure-gauge prediction Eq. (8) at the same ( β , b ) (open) and its Gaussian limit (dotted). (b) Fraction of steps that change Q: block update per sweep for each b, and pseudofermion HMC per trajectory (open triangles: no change observed, plotted at the inverse number of chain-trajectories). (c) τ int ( Q ) of the block update in sweeps versus s 2 , colors as in (a), with Madras–Sokal errors (triangles: lower bounds).
Preprints 238668 g002
Figure 3. Effective masses of the pion and the η ′ , jackknife errors over independent chains. (a) β = 8.45 , m = 0 , L = 24 : block update ( b = 8 , 64 chains, 3000 sweeps), winding HMC (64 chains, 300 trajectories, measured every trajectory) and the block ensemble restricted to Q = 0 . (b) β = 8.45 , L = 32 : block update ( b = 8 , 32 chains, 1500 sweeps). (c) Critical point, L = 24 : block update ( b = 4 , 64 chains, 3000 sweeps), pion only (see text). Block measurements every second sweep; the first 10% of each run is discarded. Points are slightly shifted horizontally for visibility.
Figure 3. Effective masses of the pion and the η ′ , jackknife errors over independent chains. (a) β = 8.45 , m = 0 , L = 24 : block update ( b = 8 , 64 chains, 3000 sweeps), winding HMC (64 chains, 300 trajectories, measured every trajectory) and the block ensemble restricted to Q = 0 . (b) β = 8.45 , L = 32 : block update ( b = 8 , 32 chains, 1500 sweeps). (c) Critical point, L = 24 : block update ( b = 4 , 64 chains, 3000 sweeps), pion only (see text). Block measurements every second sweep; the first 10% of each run is discarded. Points are slightly shifted horizontally for visibility.
Preprints 238668 g003
Table 1. Comparison at β = 8.45 , m = 0 on one NVIDIA L40 GPU in single precision. ESS/s: effective samples per second of update time for the whole GPU. Block: b = 8 . wHMC: trajectories of length 0.5 with 20 windings of size 7 × 7 , exact determinants. Errors of τ Q and ESS/s from the Madras–Sokal formula. pf HMC: pseudofermion HMC with conjugate gradients; it changed Q in none of 3.3 × 10 4 and once in 1.0 × 10 4 chain-trajectories.
Table 1. Comparison at β = 8.45 , m = 0 on one NVIDIA L40 GPU in single precision. ESS/s: effective samples per second of update time for the whole GPU. Block: b = 8 . wHMC: trajectories of length 0.5 with 20 windings of size 7 × 7 , exact determinants. Errors of τ Q and ESS/s from the Madras–Sokal formula. pf HMC: pseudofermion HMC with conjugate gradients; it changed Q in none of 3.3 × 10 4 and once in 1.0 × 10 4 chain-trajectories.
L Method 〈 Q 2 〉 τ Q ESS/s(Q) ESS/s( ψ ¯ ψ )
24 Block 0.783 ( 4 ) 0.505 ( 5 ) 434 ( 4 ) 257 ( 3 )
24 wHMC 0.773 ( 11 ) 1.15 ( 4 ) 11.5 ( 4 ) 9.6 ( 4 )
24 pf HMC 1.92 ( 8 ) frozen – –
32 Block 1.425 ( 10 ) 0.479 ( 8 ) 125 ( 2 ) 81 ( 2 )
32 wHMC 1.40 ( 5 ) 1.93 ( 18 ) 1.6 ( 2 ) 1.8 ( 2 )
32 pf HMC 3.2 ( 2 ) frozen – –
Table 2. One winding ( L = 8 , 3 × 3 ) on one configuration, 4000 pseudofermions. Sample mean and variance of Δ S pf agree with their exact values; the estimator is heavy-tailed.
Table 2. One winding ( L = 8 , 3 × 3 ) on one configuration, 4000 pseudofermions. Sample mean and variance of Δ S pf agree with their exact values; the estimator is heavy-tailed.
β = 2 , m = 0.1 β = 8.45 , m = 0
exact log | det D ′ / det D | 2 − 0.13 − 2.39
〈 Δ S pf 〉 exact / sample 19.2 / 19.5 ( 2 ) 60.4 / 60.3 ( 8 )
Var Δ S pf exact / sample 134 / 141 2585 / 2617
eigenvalues of K † K 0.09 –10 0.11 –51
acceptance, pf / exact 0.013 / 0.88 0.002 / 0.092
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.