Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Effective Masses and Correlated Fits

    A Euclidean correlator falls exponentially, but its points fluctuate together. Which decay rate is a physical energy, and which is an artifact of the time window or fit model? We derive two effective-energy estimators, fit an explicitly synthetic two-state sample, and then analyze an actual interacting scalar ensemble against its independently diagonalized transfer operator. The first scalar gap is resolved; a two-state fit to its elementary field alone does not resolve the next level.

    Preparation: Finite-time spectral decompositions and errors in correlated Monte Carlo data. Times and energies below are in lattice units, so the reported energy is aτEphysicala_\tau E_{\rm physical}.

    From a decay curve to an effective energy

    Let C(t)=⟨O(t)O†(0)⟩cC(t)=\langle O(t)O^\dagger(0)\rangle_c for a zero-momentum operator. In a vacuum spectral representation with the same operator at source and sink,

    C(t)=∑nAne−Ent,An≥0,C(t)=\sum_n A_n e^{-E_n t},\qquad A_n\geq0,

    where EnE_n are gaps above the vacuum. If one term dominates, the adjacent ratio gives

    Elog⁡(t+12)=log⁡C(t)C(t+1).E_{\log}(t+\tfrac12)=\log\frac{C(t)}{C(t+1)}.

    For two forward terms, put r=A1/A0r=A_1/A_0 and Δ=E1−E0>0\Delta=E_1-E_0>0. Direct substitution gives

    Elog⁡(t+12)=E0+log⁡1+re−Δt1+re−Δ(t+1).E_{\log}(t+\tfrac12) =E_0+\log\frac{1+r e^{-\Delta t}} {1+r e^{-\Delta(t+1)}}.

    Thus positive excited-state weight raises this estimator above E0E_0. A mixed source–sink correlator can have signed weights and need not approach from above. A correlated fluctuation can also resemble a plateau; this is one reason to inspect several windows rather than choose the flattest-looking one. See Gupta, §18, printed pp.115–119 (PDF).

    A periodic temporal lattice of circumference TT changes even the one-state formula. The vacuum–state pair contributes

    fE(t)=e−Et+e−E(T−t)=2e−ET/2cosh⁡[E(T/2−t)].f_E(t)=e^{-Et}+e^{-E(T-t)} =2e^{-ET/2}\cosh[E(T/2-t)].

    Its recurrence is fE(t−1)+fE(t+1)=2cosh⁡(E)fE(t)f_E(t-1)+f_E(t+1)=2\cosh(E)f_E(t), so

    Ecosh⁡(t)=arcosh⁡C(t−1)+C(t+1)2C(t)E_{\cosh}(t)=\operatorname{arcosh} \frac{C(t-1)+C(t+1)}{2C(t)}

    returns EE exactly for C=AfEC=A f_E. The adjacent logarithm instead turns down near T/2T/2. A measured ratio below one in the arcosh argument is an undefined real estimator, not a value to replace by zero. Even above one, d(arcosh⁡z)/dz=1/z2−1d(\operatorname{arcosh}z)/dz=1/\sqrt{z^2-1} amplifies noise near z=1z=1. Evaluate the nonlinear estimator on resampled mean correlators, not by averaging effective energies of individual configurations.

    The cosh formula corrects backward propagation, but does not remove general thermal transitions. For Hermitian OO, the exact finite-TT trace is

    C(t)=1ZT∑a,be−Ea(T−t)−Ebt∣Oab∣2−⟨O⟩T2,ZT=∑ae−TEa.C(t)=\frac{1}{Z_T}\sum_{a,b} e^{-\mathcal E_a(T-t)-\mathcal E_b t}|O_{ab}|^2-\langle O\rangle_T^2, \qquad Z_T=\sum_a e^{-T\mathcal E_a}.

    Here Ea\mathcal E_a runs over the entire Hilbert spectrum, with the vacuum energy set to zero. The terms with one state equal to the vacuum form the familiar cosh pairs. Terms with both states excited survive at finite TT and contain energy differences other than vacuum gaps. A sum of a few vacuum coshes is therefore a model to test, not an identity for an interacting thermal correlator.

    Fit the correlator and its covariance together

    Suppose BB approximately independent blocks provide complete time vectors cb(t)c_b(t). Their mean and estimated covariance of the mean are

    C‾t=1B∑bcb(t),V^ts=1B(B−1)∑b[cb(t)−C‾t][cb(s)−C‾s].\overline C_t=\frac1B\sum_b c_b(t),\qquad \widehat V_{ts}=\frac{1}{B(B-1)} \sum_b[c_b(t)-\overline C_t][c_b(s)-\overline C_s].

    The factor 1/B1/B distinguishing the covariance of the mean from the covariance of individual blocks is essential. All times from one configuration belong in the same block. Increasing the number of time origins reduces noise, but does not turn those origins into independent configurations.

    For a model Ft(θ)F_t(\theta), minimize

    χ2(θ)=[C‾−F(θ)]TV^−1[C‾−F(θ)].\chi^2(\theta)=[\overline C-F(\theta)]^{\mathsf T} \widehat V^{-1}[\overline C-F(\theta)].

    If V^=LLT\widehat V=LL^{\mathsf T} is a Cholesky factorization, solve with the whitened residual L−1(C‾−F)L^{-1}(\overline C-F) rather than explicitly invert the matrix. For one cosh and a fixed trial energy, the amplitude has the analytic optimum

    A(E)=fETV^−1C‾fETV^−1fE.A(E)=\frac{f_E^{\mathsf T}\widehat V^{-1}\overline C} {f_E^{\mathsf T}\widehat V^{-1}f_E}.

    Only a one-dimensional energy minimization remains. The two-state model has four parameters, A0fE0+A1fE1A_0f_{E_0}+A_1f_{E_1}. Here positivity and ordering are imposed through log⁡A0,log⁡A1,log⁡E0,log⁡(E1−E0)\log A_0,\log A_1,\log E_0,\log(E_1-E_0). This positivity is appropriate for this diagonal correlator model; it is not a constraint on every off-diagonal matrix element.

    Small covariance eigenvalues give large weights to corresponding residuals. A poorly estimated small eigenvalue can dominate a fit. Merely retaining more times can therefore make inference worse. Covariance modeling, shrinkage, or a declared singular-value cut changes the weighting procedure and needs its own sensitivity analysis. We use the full positive covariance without a cut here. Michael and McKerrell, §§1–2, printed pp.1–3 (PDF) explain the finite-sample covariance problem.

    For uncertainty, remove block bb, form (BC‾−cb)/(B−1)(B\overline C-c_b)/(B-1), and repeat the complete fit. If θ(−b)\theta_{(-b)} are the results,

    Cov⁡^JK(θ)=B−1B∑b(θ(−b)−θ‾JK)(θ(−b)−θ‾JK)T.\widehat{\operatorname{Cov}}_{\rm JK}(\theta) =\frac{B-1}{B}\sum_b (\theta_{(-b)}-\overline\theta_{\rm JK}) (\theta_{(-b)}-\overline\theta_{\rm JK})^{\mathsf T}.

    Our refits hold the full-sample covariance fixed. These errors describe fluctuations under that weighting choice and local fit solution; they do not include uncertainty from re-estimating the weights, choosing a window, or selecting a model. We report χ2\chi^2 and the nominal number of degrees of freedom D−pD-p as diagnostics, without assigning exact chi-square probabilities to noisy-covariance, nonlinear, or boundary fits.

    A synthetic sample with two known energies

    This test is deliberately synthetic, not a field ensemble. At T=32T=32 and t=1,…,15t=1,\ldots,15, define

    μt=f0.35(t)+0.60f0.80(t),yb∼N(μ,Σ),b=1,…,512,Σts=stss 0.8∣t−s∣,st=0.04e−0.12t.\begin{aligned} \mu_t&=f_{0.35}(t)+0.60f_{0.80}(t),\\ y_b&\sim N(\mu,\Sigma),\qquad b=1,\ldots,512,\\ \Sigma_{ts}&=s_ts_s\,0.8^{|t-s|},\qquad s_t=0.04e^{-0.12t}. \end{aligned}

    The scaled autoregressive covariance is positive definite. The vectors are independent in bb, correlated across tt, and may contain negative entries. No entries are clipped. NumPy's PCG64 generator uses SeedSequence([771025, 10]) once; the complete vectors are retained by the companion.

    Before generating them, we fixed tmax⁡=15t_{\max}=15, tmin⁡=1,3,5,7t_{\min}=1,3,5,7, and both one- and two-state models. One-state energies lie in [0.02,4][0.02,4]. Two-state bounds are Ai∈[e−16,e6]A_i\in[e^{-16},e^6], E0∈[0.02,3]E_0\in[0.02,3], and E1−E0∈[0.02,4]E_1-E_0\in[0.02,4]. Nine deterministic starts combine E0=0.2,0.4,0.65E_0=0.2,0.4,0.65 and gaps 0.25,0.7,1.40.25,0.7,1.4, initially with amplitudes (1,0.6)(1,0.6). The lowest converged objective is selected, and all start outcomes are saved. Delete-one-vector fits start from that full-sample solution; they are a local uncertainty check, not a search for every possible nonlinear minimum.

    Using the sample-estimated covariance gives the following energies; each uncertainty is one jackknife standard error.

    WindowOne-state energyTwo-state E0E_0Two-state E1E_1
    1 ⁣: ⁣151\!:\!150.42808±0.001060.42808\pm0.001060.34428±0.003700.34428\pm0.003700.78096±0.026020.78096\pm0.02602
    3 ⁣: ⁣153\!:\!150.37998±0.001720.37998\pm0.001720.34896±0.004400.34896\pm0.004400.94372±0.134080.94372\pm0.13408
    5 ⁣: ⁣155\!:\!150.35743±0.002400.35743\pm0.002400.33219±0.085040.33219\pm0.085040.47364±0.444320.47364\pm0.44432
    7 ⁣: ⁣157\!:\!150.35331±0.003520.35331\pm0.003520.34011±0.019810.34011\pm0.019810.67708±0.570440.67708\pm0.57044

    The early two-state fit differs from the input energies by about 1.51.5 standard errors for E0E_0 and 0.70.7 for E1E_1. The early one-state result is precise and wrong: its χ2\chi^2 is 1274.551274.55 for nominal 1313 degrees of freedom, versus 10.94/1110.94/11 for two states. By tmin⁡=7t_{\min}=7, the one-state fit has χ2/ν=9.24/7\chi^2/\nu=9.24/7 and the expected lowest energy, while the second energy is weakly determined. The large late-window symmetric jackknife errors should not be mistaken for well-calibrated Gaussian confidence intervals on such a nonlinear parameter.

    The known covariance Σ/512\Sigma/512 provides a separate weighting check: the early two-state fit gives E0=0.34413±0.00375E_0=0.34413\pm0.00375 and E1=0.78383±0.02657E_1=0.78383\pm0.02657. Using the estimated covariance gives consistent energies for this sample. The whitened two-state Jacobian condition number rises from about 4343 at tmin⁡=1t_{\min}=1 to about 11751175 at tmin⁡=5t_{\min}=5: discarding the early excited-state signal leaves poorly distinguished parameter combinations.

    An actual interacting scalar correlator

    Now use a different calculation: a periodic two-dimensional Euclidean scalar lattice with Nt=16N_t=16, Ns=2N_s=2, unit spacings, m^2=0.25\widehat m^2=0.25, and λ^=0.2\widehat\lambda=0.2. Its action is

    S=∑t,x[12∑μ=t,x(ϕn+μ^−ϕn)2+0.252ϕn2+0.224ϕn4].S=\sum_{t,x}\left[ \frac12\sum_{\mu=t,x}(\phi_{n+\hat\mu}-\phi_n)^2 +\frac{0.25}{2}\phi_n^2+\frac{0.2}{24}\phi_n^4\right].

    There are two forward spatial bonds on the periodic two-site slice. Define Qt=(ϕt,0+ϕt,1)/2Q_t=(\phi_{t,0}+\phi_{t,1})/\sqrt2 and measure

    c(t)=116∑s=015Qs+tQs.c(t)=\frac1{16}\sum_{s=0}^{15}Q_{s+t}Q_s.

    The exact reflection symmetry makes ⟨Q⟩=0\langle Q\rangle=0; we do not subtract a noisy estimated mean. Sixteen independently seeded Gaussian-proposal Metropolis chains retain every post-sweep field, including rejected proposals, after 40964096 warmup sweeps and for 1638416384 further sweeps each. Seeds are SeedSequence([771025, 0, replica]); eight chains start at zero and eight at the constant field +3+3. The finite-time article specifies the matching finite-step transfer operator and its numerical refinements.

    Aligned blocks of 10241024 sweeps give B=256B=256 vectors for the primary analysis. Block lengths 256256 and 512512, first and second retained halves, and the two starting groups are also retained checks. For example, the standard error of C(2)C(2) is 0.001800.00180, 0.001790.00179, and 0.001860.00186 for these three block lengths. This stability supports the chosen error scale; it is not proof against correlations longer than all tested blocks. The shared diagnostics retain starting-group differences of about 2.52.5 combined replica errors in ⟨R⟩\langle R\rangle and ⟨R2⟩\langle R^2\rangle, with R=(ϕ0−ϕ1)/2R=(\phi_0-\phi_1)/\sqrt2; the relevant QQ correlator groups are closer. Finite replica counts also make the error estimates fluctuate.

    The four predeclared one-cosh windows give:

    WindowFitted energyχ2/ν\chi^2/\nu
    1 ⁣: ⁣71\!:\!70.54089±0.002410.54089\pm0.002411.39/51.39/5
    2 ⁣: ⁣72\!:\!70.53857±0.003920.53857\pm0.003920.83/40.83/4
    3 ⁣: ⁣73\!:\!70.53449±0.006080.53449\pm0.006080.08/30.08/3
    4 ⁣: ⁣74\!:\!70.53700±0.011140.53700\pm0.011140.01/20.01/2

    Direct diagonalization gives the lowest odd-QQ, even-RR gap E0=0.5416696258E_0=0.5416696258. Fitting its full thermal correlator with the same 1 ⁣: ⁣71\!:\!7 weights gives 0.54170550.5417055, a model shift of about 0.0000360.000036, much smaller than the sampled uncertainty. This is a check in the specified finite lattice and finite time step; neither a continuum extrapolation nor an infinite-volume particle-mass determination has been made.

    For that same window, the zero-start and hot-start groups give 0.53865±0.003260.53865\pm0.00326 and 0.54258±0.003520.54258\pm0.00352; the first and second retained halves give 0.53768±0.003450.53768\pm0.00345 and 0.54257±0.003230.54257\pm0.00323. Changing the block length from 256256 to 10241024 changes the full-sample energy standard error from 0.002300.00230 to 0.002410.00241. These finite checks reveal the size of the sampling fluctuations without selecting a more favorable subset.

    The elementary QQ operator hardly couples to the second channel level: its first two vacuum amplitudes are approximately 0.937570.93757 and −0.009088-0.009088. Their squared ratio is about 9.4×10−59.4\times10^{-5}. Consequently, the 1 ⁣: ⁣71\!:\!7 two-state fit gives E1=0.78±0.99E_1=0.78\pm0.99, which does not resolve the direct value 1.719981.71998. The 2 ⁣: ⁣72\!:\!7 fit reaches the imposed upper gap bound in the full fit and all 256256 refits; no jackknife error is reported. A small objective does not supply missing information. The correlation-matrix method introduces operators with larger second-level overlap.

    The figure keeps the two data sources separate. Its lower-left panel shows why backward propagation must be handled even when the first gap is clean.

    Synthetic fits lose their second energy at late times, while the actual scalar cosh fits remain compatible with the direct first transfer gap.

    Top: the independent synthetic Gaussian vectors at T=32T=32, with input energies 0.350.35 and 0.800.80. Bottom: the actual interacting 16×216\times2 scalar ensemble. The adjacent logarithm is plotted at the interval midpoint; the cosh estimator uses the central time. Bars are fixed-weight jackknife standard errors, using complete synthetic vectors above and 10241024-sweep blocks below. They omit model and window uncertainty.

    A useful separate free-field check already exists in statistical errors: on the periodic 8×88\times8, m^2=1\widehat m^2=1 free lattice, the actual heat-bath G(1),…,G(4)G(1),\ldots,G(4) fit yields 0.95635±0.007820.95635\pm0.00782, compared with 2arsinh⁡(1/2)=0.962423652\operatorname{arsinh}(1/2)=0.96242365. That earlier ensemble has a different action and circumference; it is not combined with either dataset above.

    The reproducible companions are examples/lattice-hamiltonian/spectroscopy/fit_correlators.py, fit-results.json, and plot_fits.py. The analysis consumes the shared scalar histories and retains all selected windows, covariance spectra, start outcomes, undefined estimates and boundary fits. Noiseless one- and two-cosh recovery and the exact cosh recurrence test the fitting and estimator implementations independently of the production sample.

    For a calculation in physical units, use the reference observable to set the spacing and apply this correlated fit across eight periodic scalar ensembles. Fit-window stability tests the time dependence. Changing the spacing or box probes additional effects.

    Summary

    Effective energies expose time dependence but inherit strong correlations and nonlinear noise. A correlated fit uses the covariance of complete time vectors; a credible energy also needs window, model, sampling and finite-time checks. The synthetic control distinguishes one-state bias from loss of excited-state information. The actual scalar example resolves the first finite-lattice gap, while the weakly coupled second level requires a richer operator basis.

    Exercises

    1. A downturn without an excited state

    For C(t)=A[e−Et+e−E(T−t)]C(t)=A[e^{-Et}+e^{-E(T-t)}] with E>0E>0, derive the exact adjacent logarithmic energy and show that it lies below EE. Explain why the cosh estimator avoids this bias.

    Solution

    Factor out Ae−EtAe^{-Et} and set bt=e−E(T−2t)b_t=e^{-E(T-2t)}. Since bt+1=e2Ebtb_{t+1}=e^{2E}b_t,

    Elog⁡(t+12)=E+log⁡1+bt1+e2Ebt<E.E_{\log}(t+\tfrac12) =E+\log\frac{1+b_t}{1+e^{2E}b_t}<E.

    Well before the midpoint, the correction is

    Elog⁡−E=−(e2E−1)e−E(T−2t)+O ⁣(e−2E(T−2t)).E_{\log}-E=-(e^{2E}-1)e^{-E(T-2t)} +O\!\left(e^{-2E(T-2t)}\right).

    For even TT, the last interval before the midpoint has Elog⁡(T/2−1/2)=log⁡cosh⁡EE_{\log}(T/2-1/2)=\log\cosh E, still below EE. The cosh recurrence uses both neighboring times and includes both propagation directions exactly, so it returns EE wherever its three points exist. Neither argument removes additional states or thermal transitions.

    2. Why correlated errors can make a ratio more precise

    Two positive mean measurements X,YX,Y have means x,yx,y, variances VX,VYV_X,V_Y, and covariance VXYV_{XY}. Derive the leading variance of e=log⁡(X/Y)e=\log(X/Y). Then take X=x(1+δ)+ϵXX=x(1+\delta)+\epsilon_X, Y=y(1+δ)+ϵYY=y(1+\delta)+\epsilon_Y, where δ\delta is independent of the additive noises, and show what happens to the common multiplicative fluctuation.

    Solution

    Linear propagation gives de=dX/x−dY/yde=dX/x-dY/y, hence

    Var⁡(e)≃VXx2+VYy2−2VXYxy.\operatorname{Var}(e)\simeq \frac{V_X}{x^2}+\frac{V_Y}{y^2} -\frac{2V_{XY}}{xy}.

    The common fluctuation contributes Var⁡δ\operatorname{Var}\delta to each of the first two terms and twice that amount to the subtraction. It cancels, leaving

    Var⁡(e)≃Var⁡ϵXx2+Var⁡ϵYy2−2Cov⁡(ϵX,ϵY)xy.\operatorname{Var}(e)\simeq \frac{\operatorname{Var}\epsilon_X}{x^2} +\frac{\operatorname{Var}\epsilon_Y}{y^2} -\frac{2\operatorname{Cov}(\epsilon_X,\epsilon_Y)}{xy}.

    With no additive noise the cancellation is exact, since X/Y=x/yX/Y=x/y whenever the ratio is defined. Dropping off-diagonal covariance would miss this cancellation. This does not imply that correlations always reduce errors: the signs of the derivatives and covariances determine the result, and the linear approximation fails near nonpositive noisy means.

    References

    • Rajan Gupta, Introduction to Lattice QCD, arXiv:hep-lat/9807028 (1998), §18, printed pp.115–119. Open lecture notes (PDF).
    • C. Michael and A. McKerrell, “Fitting correlated hadron mass spectrum data,” Physical Review D 51, 3745–3750 (1995), especially §§1–2 of the preprint. DOI; open preprint (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.