- Home
- Library
- Lattice and Hamiltonian Field Theory
- Currents, Matrix Elements, and Operator Matching
- Disconnected Diagrams and All-to-All Propagators
Disconnected Diagrams and All-to-All Propagators
A scalar-density insertion can form a closed quark loop without joining the quark lines of a source and sink. The loop still responds to the same gauge field as those lines, so its contribution need not vanish. The practical problem is to estimate a trace of the inverse Dirac operator, subtract its vacuum contribution, and preserve its correlation with the measured hadron or other correlator.
We derive the contraction and an unbiased stochastic estimator, then test both on the exact two-flavor Wilson-fermion square. The example separates gauge correlations from noise, checks a mass-derivative identity, and compares dilution at equal numbers of right-hand-side solves. In this test, a familiar dilution pattern actually makes the estimator worse.
Preparation: Quark contractions, dynamical fermion determinants, and the distinction between statistical correlation and independent measurements.
Disconnected quark lines can remain gauge-correlated
At a fixed gauge field , let be the Dirac matrix and . For a bilinear , the paired Grassmann measure used in the preceding chapter gives
and Wick contraction of two bilinears gives
The first term joins the insertions by quark propagators. The second has two closed fermion traces. These are statements at fixed ; the remaining gauge integral correlates both terms. For an isovector insertion with exactly degenerate up and down propagators, their closed loops cancel. A flavor-singlet scalar insertion generally has no such cancellation.
Suppose denotes a source–sink contraction and the loop of a flavor that does not join its valence lines. The vacuum-subtracted disconnected contribution is
Subtracting the vacuum expectation removes a constant background, not the configuration dependence of . Computing and the loop on unrelated gauge samples would destroy the covariance one needs. If they share the insertion flavor, there are also connected contractions to include; the formula above labels the disconnected piece only.
A point source determines selected columns of . A loop summed over positions instead requires diagonal entries throughout the lattice, and general contractions may require propagators between arbitrary sites. This is the origin of the all-to-all problem. Dense inversion is useful for a tiny check but cannot supply all columns economically on a large QCD lattice.
A trace from solves with random sources
Let the components of a noise vector be independently uniform in . They satisfy
Solve . For any fixed matrix ,
The expectation follows by expanding the indices: only the contraction survives. The physical loop carries the additional minus sign above. Noise vectors do not replace gauge configurations; this identity is conditional on the background.
For , subtracting its trace leaves . Independence and the vanishing second moment give the complex mean-square error
If the reported observable is the real part, use instead:
The two formulas answer different questions. In particular, is not generally Hermitian even when its trace is real. These noise constructions and partitioned sources are developed in Bali, Collins and Schäfer, §2, Eqs. (3)–(10), printed pp. 3–4. Their Hermitian formulation is translated here into direct solves with .
For independent gauge configurations, the law of total variance separates the variance of the exact conditional mean from the average conditional noise variance. Autocorrelated gauge histories need the corresponding time-series treatment. Adding noise sources reduces the second component; it cannot repair poor gauge sampling or a frozen slow mode.
An exact dynamical square and a scalar-insertion check
Use an open square with two spin components, two degenerate fermion flavors, , and gauge coupling parameter . The Euclidean matrices are and . For an existing forward bond ,
The fermion field is zero outside the square; the boundary diagonal is not reduced. Site order is , followed by spin. In a complete tree gauge, both horizontal links and the left temporal link are 1, while the right temporal link is . The exact determinant is
The normalized gauge measure is proportional to . Thus all gauge averages in this example are one-dimensional deterministic integrals, including the sea determinant. The determinant construction is derived in Fermion Determinants and Dynamical Quarks.
Let
The spin label is unrelated to the gauge parameter . This is the cross-flavor pseudoscalar contraction with the two factors of specified in the preceding chapter. There are only two time slices, so it is a finite correlator, not a mass or asymptotic hadronic matrix element.
Differentiate both sea and valence masses together. Since ,
Differentiating the normalized expectation, including its denominator, yields
The first term is the explicit valence response. The second is the sea response. The physical two-flavor scalar disconnected insertion is its negative because . This sign also follows by differentiating the Euclidean Boltzmann weight with respect to the mass term.
At 128 periodic quadrature nodes, we find
Periodic node counts and an independent 64-node Gauss–Legendre integral agree at the displayed precision. A symmetric mass difference at steps approaches the derivative identity with errors , as expected for a quadratic step error. Omitting vacuum subtraction would instead give a total derivative , even with perfect quadrature. That is a normalization mistake, not statistical noise.
Dilution must earn its extra solves
Choose coordinate projectors , diagonal with entries zero or one in the noise basis, that obey and . An unbiased diluted trace estimator is
Each projected source requires a solve. There are right-hand sides. The trace is unchanged because , while noise from entries joining different subspaces is eliminated. At fixed solve budget , the real-part variance is
Removing some off-diagonal entries is not sufficient: it must compensate for the factor .
For the separately fixed background , the exact trace is . Enumerating all noise vectors verifies its mean to and the one-vector variance to . We then generated 4096 independent estimates for every method and solve budget . Seeds were fixed as SeedSequence([781025,30,method_id,budget_id,trial_id]); method IDs are plain, spin, time, and time×spin in that order. No seed was selected for agreement.
The comparison is:
| Sources | Predicted variance | Measured variance | Variance ratio to plain |
|---|---|---|---|
| Plain | |||
| Spin dilution | |||
| Time dilution | |||
| Time×spin dilution |
The quoted errors estimate the finite-trial uncertainty of the measured variance, using its fourth central moment. Spin dilution loses in this background and observable. Time dilution helps modestly. Full index dilution recovers the trace exactly in eight solves, which is useful as a tiny-matrix check; its cost grows with the full Dirac dimension in a realistic problem. All methods share one dense factorization here. We compare methods at equal right-hand-side counts.
An approximate inverse needs its correction
Let and denote the hopping matrix. A finite polynomial approximation is
The exact control-variate identity
does not require the finite polynomial to be an exact inverse. The inexpensive part has a known trace; the stochastic solve estimates only the remainder. In the same fixed square, . Omitting the correction biases the result by . Including it restores the exact enumerated mean and reduces the variance per noise vector from to . The variance reduction costs three extra hopping applications per corrected source.
This calculation uses a hopping polynomial. An iterative truncated-solver method instead averages many inexpensive approximate solutions and an independently sampled accurate-minus-approximate correction. Its unbiasedness requires both terms to use the same prescribed approximation. The decomposition and independent-noise construction are explicit in Bali et al., §2.3, Eq. (13), printed p. 6. Reusing correlated noise can also preserve unbiasedness when each marginal is correct and the same prescribed approximation is subtracted; the covariance changes. Dropping a small residual or correction is an additional bias assumption, not part of an unbiased estimator.
The fixed Wilson matrix at , . Left: measured conditional variances from 4096 estimates, with finite-trial error bars, and exact variance predictions as dashed lines. Right: exact enumeration of the variance per noise vector for the plain and corrected hopping estimators. These are conditional-noise tests; the separate gauge covariance is evaluated by quadrature.
The companions examples/lattice-hamiltonian/matrix-elements/disconnected_loops.py, disconnected-results.json and plot_disconnected.py retain the source definitions, quadrature refinements, derivative test, all frozen noise budgets, enumeration, and approximation checks. They import the shared Wilson square without changing its earlier determinant calculation.
Summary
A disconnected contraction is a gauge covariance of a source–sink observable with a fermion loop after vacuum subtraction. Stochastic sources estimate its trace conditionally and without bias. Dilution and approximate inverses help only with a correctly counted cost and a retained correction; neither removes gauge-sampling uncertainty.
Exercises
1. Why is squaring an unbiased loop estimate biased?
At fixed , let be independent real unbiased estimates of , with variance . Show the bias in the square of their average, and construct an unbiased estimator of using the same samples when .
Solution
For ,
The extra term is the conditional noise variance. Instead omit equal-noise pairs:
Independence gives for , proving unbiasedness. Two separately generated noise means are another option. In the enumerated one-vector square above, the naive bias is exactly , matching the predicted variance. Gauge averaging does not remove this noise bias; it averages it over backgrounds.
2. Derive the dilution criterion at fixed work
For a real trace estimator with Hermitian noise matrix , let . A partition of the noise coordinates into subsets retains a within-subset sum . Find the criterion for dilution to improve the variance at equal right-hand-side count. Explain the observed factor 2 for spin dilution in this example.
Solution
Plain noise with budget has independent vectors and variance . Dilution has hits and variance . It wins precisely when
At the fixed matrix used here, spin partitioning has and leaves the real-trace off-diagonal variance sum unchanged: . It removes no contributing entries of while halving the number of hits, giving twice the variance. The cancellation relies on the Hermitian projection for this trace and background. Full index partitioning has and hence zero conditional variance, at the cost of one solve per basis vector.
References
- Gunnar S. Bali, Sara Collins and Andreas Schäfer, “Effective noise reduction techniques for disconnected loops in Lattice QCD,” Computer Physics Communications 181 (2010) 1570–1583; §2, Eqs. (3)–(10), §2.2 on hopping expansions, §2.3, Eq. (13), and Appendix A on work allocation. Open manuscript, arXiv:0910.3970v2 (PDF).
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.