Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    The Lattice Equation of State

    How can a simulation determine a pressure when it measures expectation values rather than the partition function itself? Differentiate the free energy with respect to an accessible parameter, measure that derivative, and integrate it back. The integration constant and the vacuum subtraction are part of the answer.

    We perform two versions of this calculation. A free scalar on a finite lattice allows a mass integral to be checked against the exact thermal trace. The continuum gas then supplies a physical trace-anomaly curve whose integral recovers the pressure. These examples distinguish a thermal derivative at fixed Hamiltonian from a change of cutoff along a line of constant physics.

    Preparation: Temperature and Euclidean boundary conditions supplies the transfer-matrix interpretation of the same scalar regulator. We use natural units, three spatial dimensions, zero chemical potential and one real scalar degree of freedom.

    Which thermodynamic derivative is being taken?

    For a Hamiltonian HH in a spatial volume VV, let β=1/T\beta=1/T and

    Z(β,V)=Tr⁡e−βH,F=−Tlog⁡Z.Z(\beta,V)=\operatorname{Tr}e^{-\beta H},\qquad F=-T\log Z.

    The total energy and mechanical pressure are

    U=−∂βlog⁡Z∣H,P=−∂VF∣T.U=-\left.\partial_\beta\log Z\right|_H, \qquad P=-\left.\partial_V F\right|_T.

    The first derivative holds all parameters of the Hamiltonian fixed. The second requires a specified way to change the box while holding the physical theory fixed. In a homogeneous thermodynamic limit, extensivity gives F=−pVF=-pV, so p=Tlog⁡Z/Vp=T\log Z/V and ϵ=U/V\epsilon=U/V. At finite volume, the convenient quantity

    Φ(T,V)=TVlog⁡Z=−f\Phi(T,V)=\frac{T}{V}\log Z=-f

    is the negative free-energy density. It need not equal PP. We reserve pp for the thermodynamic-limit pressure below.

    The vacuum energy must be treated consistently. If E0E_0 is the vacuum energy of the same regulated Hamiltonian, define

    log⁡Zth=log⁡Z+βE0.\log Z_{\rm th}=\log Z+\beta E_0.

    This sets the zero-temperature energy and free-energy differences to zero. Subtracting a vacuum from a different lattice spacing, mass or action would leave regulator-dependent contributions. A different constant vacuum convention changes both pressure and energy; it is not fixed by thermal data alone.

    A normalized lattice trace

    Take periodic spatial directions with NsN_s sites each, spacing asa_s, side length L=NsasL=N_sa_s and volume V=L3V=L^3. Euclidean time has spacing aτa_\tau, with β=Nτaτ\beta=N_\tau a_\tau for an integer-time lattice. The positive bare mass is m0m_0. The symmetric, canonically normalized nearest-neighbor transfer kernel has oscillator energies

    ωn2=m02+4as2∑i=13sin⁡2 ⁣(πniNs),En=2aτarsinh⁡ ⁣(aτωn2),ni=0,…,Ns−1.\begin{aligned} \omega_{\mathbf n}^2 &=m_0^2+\frac{4}{a_s^2}\sum_{i=1}^3 \sin^2\!\left(\frac{\pi n_i}{N_s}\right),\\ E_{\mathbf n} &=\frac{2}{a_\tau} \operatorname{arsinh}\!\left(\frac{a_\tau\omega_{\mathbf n}}2\right), \qquad n_i=0,\ldots,N_s-1. \end{aligned}

    Each momentum-grid point counts once. A conjugate pair of momenta represents two real normal coordinates; it does not supply an extra factor of two. The oscillator trace is [2sinh⁡(βE/2)]−1[2\sinh(\beta E/2)]^{-1}. Removing its vacuum factor e−βE/2e^{-\beta E/2} gives

    log⁡Zth=−∑nlog⁡ ⁣(1−e−En/T).\log Z_{\rm th} =-\sum_{\mathbf n}\log\!\left(1-e^{-E_{\mathbf n}/T}\right).

    The underlying Gaussian measure is already normalized by the transfer kernel. Discarding an arbitrary mass-dependent determinant factor would change the derivatives we are about to integrate.

    At fixed aτ,as,Ns,m0a_\tau,a_s,N_s,m_0, write nB(E)=(eE/T−1)−1n_B(E)=(e^{E/T}-1)^{-1}. Then

    Φ=TVlog⁡Zth,ϵth=1V∑nEnnB(En).\Phi=\frac{T}{V}\log Z_{\rm th},\qquad \epsilon_{\rm th}=\frac1V\sum_{\mathbf n}E_{\mathbf n}n_B(E_{\mathbf n}).

    The trace defines a continuous function of β\beta, even though its representation as a lattice with the chosen time step has integer NτN_\tau. This energy is the derivative of that fixed transfer Hamiltonian. Differentiating while also changing aτa_\tau changes the Hamiltonian and gives additional terms.

    To study resolution at fixed physical rest gap MM, tune only between lattices:

    m0=2aτsinh⁡ ⁣(aτM2).m_0=\frac{2}{a_\tau}\sinh\!\left(\frac{a_\tau M}{2}\right).

    The table uses M=T=1M=T=1, L=8L=8, aτ=as=1/Nτa_\tau=a_s=1/N_\tau and Ns=8NτN_s=8N_\tau. Both spacings shrink while the physical box, temperature and rest gap stay fixed.

    NτN_\tauΦ/T4\Phi/T^4ϵth/T4\epsilon_{\rm th}/T^4
    40.125082850.50988773
    60.099601780.37046102
    80.092735170.32956660
    120.088753560.30745000
    160.087492250.30077680
    240.086623880.29625338
    Continuum, L=8L=80.085946920.29276290

    The continuum-box row uses En=M2+(2πn/L)2E_{\mathbf n}=\sqrt{M^2+(2\pi\mathbf n/L)^2} with all integer momenta, approximated by a converged momentum cube. Increasing its cutoff from ∣ni∣≤48\lvert n_i\rvert\le48 to 7272 changes the displayed thermodynamic quantities by less than 7×10−157\times10^{-15} at L=8L=8. This is a truncation-refinement check, not a rigorous tail enclosure.

    Cutoff and volume effects have different sizes. At L=4,8,12L=4,8,12, the continuum values of Φ\Phi are 0.086580320.08658032, 0.085946920.08594692 and 0.085944480.08594448. The independent infinite-volume Bose integral gives p=0.08594445634p=0.08594445634. At L=12L=12 the momentum-cutoff refinement is about 1.1×10−91.1\times10^{-9} in the energy, sufficiently small for this comparison. At L=8L=8 the continuum mechanical pressure is 0.085938600.08593860, slightly different from Φ\Phi. None of these finite-volume distinctions should be absorbed into a lattice-spacing fit.

    The approach in the table is consistent with removal of the regulator, but coarse resolutions have substantial higher-order effects. We compare with the independently calculated continuum value; we do not assume that the six points lie exactly on an a2a^2 straight line.

    Recover the free energy by integrating a mass derivative

    For a Euclidean action with mass term

    Sm=m022 aτas3∑xϕx2,S_m=\frac{m_0^2}{2}\,a_\tau a_s^3\sum_x\phi_x^2,

    differentiating the normalized functional integral gives ∂m02log⁡Z=−⟨∂m02S⟩\partial_{m_0^2}\log Z=-\langle\partial_{m_0^2}S\rangle. Subtract the zero-temperature expectation at the same regulator. Translational invariance then gives

    ∂Φ∂m02∣T,aτ,as,Ns=−12Δ⟨ϕ2⟩,Δ⟨ϕ2⟩=⟨ϕ2⟩T−⟨ϕ2⟩0.\left.\frac{\partial\Phi}{\partial m_0^2}\right|_{T,a_\tau,a_s,N_s} =-\frac12\Delta\langle\phi^2\rangle, \qquad \Delta\langle\phi^2\rangle =\langle\phi^2\rangle_T-\langle\phi^2\rangle_0.

    The sign has a simple interpretation: increasing the mass suppresses thermal occupation and lowers Φ\Phi. Differentiating the independent oscillator trace gives

    ∂En∂m02=12ωn1+(aτωn/2)2,Δ⟨ϕ2⟩=1V∑nnB(En)ωn1+(aτωn/2)2.\begin{aligned} \frac{\partial E_{\mathbf n}}{\partial m_0^2} &=\frac{1}{2\omega_{\mathbf n} \sqrt{1+(a_\tau\omega_{\mathbf n}/2)^2}},\\ \Delta\langle\phi^2\rangle &=\frac1V\sum_{\mathbf n} \frac{n_B(E_{\mathbf n})}{\omega_{\mathbf n} \sqrt{1+(a_\tau\omega_{\mathbf n}/2)^2}}. \end{aligned}

    The square root is a finite-time-spacing effect. Replacing the denominator by ω\omega would differentiate the continuum-time spectrum instead.

    Choose a heavy reference mass mrefm_{\rm ref}. The integral method is now an explicit reconstruction:

    Φ(m02)=Φ(mref2)+12∫m02mref2dμ2 Δ⟨ϕ2⟩μ2.\Phi(m_0^2)=\Phi(m_{\rm ref}^2) +\frac12\int_{m_0^2}^{m_{\rm ref}^2} d\mu^2\,\Delta\langle\phi^2\rangle_{\mu^2}.

    During this integral, the temperature and every regulator parameter remain fixed. The physical gap changes with μ\mu. Retuning the bare mass to keep the gap fixed inside the integral would no longer implement this derivative.

    We use mref=80m_{\rm ref}=80 and Gauss–Legendre quadrature in u=log⁡μ2u=\log\mu^2, including the Jacobian dμ2=eudud\mu^2=e^u du. The 48- and 96-point results give:

    NτN_\tauReference Φ\PhiRecovered Φ\Phi
    42.31050×10−92.31050\times10^{-9}0.125082854740
    82.81996×10−142.81996\times10^{-14}0.092735174237

    Agreement with the direct trace is better than 10−1610^{-16} for these inputs. The reference is computed, not silently set to zero. The code evaluates −log⁡(1−e−x)-\log(1-e^{-x}) with expm1 for small xx and log1p for large xx, preserving the small heavy-mass contribution. At coarse time spacing, E∼2log⁡(aτm0)/aτE\sim2\log(a_\tau m_0)/a_\tau for large bare mass, so the thermal suppression is not simply e−80/Te^{-80/T}.

    Centered differences in m02m_0^2, with relative steps 0.020.02, 0.010.01 and 0.0050.005, independently test the derivative. Their absolute errors fall from about 4.8×10−74.8\times10^{-7} to 1.2×10−71.2\times10^{-7} to 3.0×10−83.0\times10^{-8}, as expected for a quadratic step error. An anisotropic check at T=0.83T=0.83, m0=1.2m_0=1.2, aτ=0.17a_\tau=0.17, as=0.23a_s=0.23, Ns=18N_s=18 similarly verifies the fixed-Hamiltonian energy derivative by halving the β\beta step. These tests detect the sign, factor of two and finite-spacing denominator.

    Pressure from the physical trace anomaly

    Now take the continuum and thermodynamic limits, retaining the same zero-temperature convention. At zero chemical potential,

    s=dpdT,ϵ=Ts−p,I=ϵ−3p.s=\frac{dp}{dT},\qquad \epsilon=Ts-p,\qquad I=\epsilon-3p.

    Eliminating ss yields

    ddT(pT4)=I(T)T5.\frac{d}{dT}\left(\frac{p}{T^4}\right)=\frac{I(T)}{T^5}.

    Thus a trace-anomaly calculation determines pressure only after an anchor is supplied:

    p(T)T4=p(T0)T04+∫T0TdT′T′I(T′)T′4.\frac{p(T)}{T^4} =\frac{p(T_0)}{T_0^4} +\int_{T_0}^{T}\frac{dT'}{T'}\frac{I(T')}{T'^4}.

    This is the thermodynamic reconstruction used in Ding, Karsch and Mukherjee, §4.1, Eqs. (39)–(40), PDF. Its use does not require assuming a particular shape for I(T)I(T).

    For our real continuum scalar of fixed physical mass MM, put Ep=p2+M2E_p=\sqrt{p^2+M^2}. The independently evaluated inputs are

    p(T)=−T2π2∫0∞dp p2log⁡(1−e−Ep/T),I(T)=M22π2∫0∞dp p2EpnB(Ep).\begin{aligned} p(T)&=-\frac{T}{2\pi^2}\int_0^\infty dp\,p^2 \log(1-e^{-E_p/T}),\\ I(T)&=\frac{M^2}{2\pi^2}\int_0^\infty dp\, \frac{p^2}{E_p}n_B(E_p). \end{aligned}

    The second formula follows from the energy integral minus three times the kinetic pressure integral. It is positive for M>0M>0 and vanishes in the massless thermodynamic limit. These are actual gas integrals, not an invented trace-anomaly curve.

    For M=1M=1 and T0=1/4T_0=1/4, the anchor is p(T0)/T04=0.01414285114p(T_0)/T_0^4=0.01414285114. Integrating in log⁡T\log T with 32 and 64 nodes gives:

    T/MT/MI/T4I/T^4Recovered p/T4p/T^4
    0.40.060164600.03888973
    0.60.054951310.06281219
    0.80.044119110.07712981
    1.00.034929080.08594446
    1.50.020620160.09705719
    2.00.013378690.10188885

    All recovered pressures agree with the direct integral to better than 9×10−179\times10^{-17} in this implementation. A separate Bose expansion checks pressure through

    pT4=y22π2∑ℓ=1∞K2(ℓy)ℓ2,y=MT.\frac{p}{T^4}=\frac{y^2}{2\pi^2} \sum_{\ell=1}^{\infty}\frac{K_2(\ell y)}{\ell^2}, \qquad y=\frac{M}{T}.

    The 128- and 256-term sums agree at the stated precision. Here K2K_2 is the modified Bessel function. The numerical comparisons establish this free-gas calculation and its reconstruction; they are not errors on an interacting equation of state.

    The figure separates the regulator study from the continuum temperature integral. The dotted pressure curve shows the visible consequence of omitting the anchor.

    The finite-lattice free energy approaches its continuum-box reference; retaining the trace-anomaly integration constant recovers the continuum gas pressure.

    Left: the matched scalar resolution sequence at M=T=1M=T=1, L=8L=8; connecting segments guide the eye and are not an extrapolation fit. Right: continuum gas pressure from the direct Bose sum and trace-anomaly integration at fixed M=1M=1. Omitting the anchor at T0=1/4T_0=1/4 shifts p/T4p/T^4 by a constant.

    What changes in an interacting lattice calculation?

    Expectation values still give parameter derivatives, but changing temperature at fixed NτN_\tau now changes the cutoff and the bare couplings. Let gα(a)g_\alpha(a) denote all dimensionless action parameters along an isotropic line of constant physics, with physical mass ratios and the scale-setting conditions fixed. Define

    Bα=dgαdlog⁡a.B_\alpha=\frac{dg_\alpha}{d\log a}.

    These are derivatives along the declared path, with signs as written. They include gauge-coupling running, bare-mass tuning and any required improvement parameters. A path with constant bare masses generally changes the physical theory. Ding, Karsch and Mukherjee, §2.2, printed p.9, PDF describes this role of physical scale and mass conditions.

    At fixed lattice extents, a common scale change sends β↦aNτ\beta\mapsto aN_\tau and V↦a3Ns3V\mapsto a^3N_s^3. For a continuum theory with fixed physical parameters, thermodynamics gives

    dlog⁡Zdlog⁡a=−βV(ϵ−3P).\frac{d\log Z}{d\log a}=-\beta V(\epsilon-3P).

    At finite cutoff, this path also changes the regulated Hamiltonian. Its scale derivative is therefore not automatically the earlier fixed-transfer-Hamiltonian energy minus three times the mechanical pressure. Define instead IlatI_{\rm lat} as the vacuum-subtracted scale-response estimator. Use a common parameter-independent measure, or include its parameter dependence in the effective action SS. Since dlog⁡Z/dlog⁡a=−∑αBα⟨∂gαS⟩d\log Z/d\log a=-\sum_\alpha B_\alpha\langle\partial_{g_\alpha}S\rangle, this definition gives

    IlatT4=Nτ4∑αBα Δsα,\frac{I_{\rm lat}}{T^4} =N_\tau^4\sum_\alpha B_\alpha\, \Delta s_\alpha,

    where the extensive action derivatives are divided by the number of four-dimensional sites before subtraction:

    Δsα=⟨∂gαS⟩TNτNs3−⟨∂gαS⟩0Nτ,0Ns,03.\Delta s_\alpha= \frac{\langle\partial_{g_\alpha}S\rangle_T}{N_\tau N_s^3} -\frac{\langle\partial_{g_\alpha}S\rangle_0}{N_{\tau,0}N_{s,0}^3}.

    The zero-temperature lattice uses the same bare parameters and a sufficiently long time direction. Along a correctly tuned line of constant physics, the continuum limit identifies IlatI_{\rm lat} with the vacuum-subtracted ϵ−3P\epsilon-3P; the bulk form ϵ−3p\epsilon-3p additionally requires the thermodynamic limit. At finite cutoff one may define energy and pressure through corresponding renormalized metric derivatives, but their equality to fixed-transfer-Hamiltonian derivatives needs a separate argument. An anisotropic determination of energy and pressure separately also needs the derivatives of bare parameters with respect to physical anisotropy. Those derivatives are not supplied by an isotropic scale curve alone.

    In practice one propagates correlations among thermal measurements, vacuum measurements, scale setting and the coefficients BαB_\alpha. One then integrates with a justified low-temperature anchor and studies spatial volume and cutoff dependence. Interpolation choices and the omitted low-temperature contribution belong in the uncertainty analysis. The scalar sums give an exact test of normalization and integration.

    Exercises

    1. Why finite-box free energy is not pressure

    For the continuum periodic massive scalar, differentiate the thermal free energy with respect to V=L3V=L^3 at fixed T,MT,M and fixed integer momentum labels. Obtain the mechanical pressure. Explain why its zero-momentum oscillator contributes differently to PP and to Φ\Phi.

    Solution

    With p=2πn/L\mathbf p=2\pi\mathbf n/L, one has dp2/dV=−2p2/(3V)d\mathbf p^2/dV=-2\mathbf p^2/(3V), hence ∂VEn=−p2/(3VEn)\partial_V E_{\mathbf n}=-\mathbf p^2/(3VE_{\mathbf n}). Also ∂E[Tlog⁡(1−e−E/T)]=nB(E)\partial_E[T\log(1-e^{-E/T})]=n_B(E). Therefore

    P=13V∑np2EnnB(En).P=\frac{1}{3V}\sum_{\mathbf n} \frac{\mathbf p^2}{E_{\mathbf n}}n_B(E_{\mathbf n}).

    The zero mode has energy MM independent of VV, so its contribution to this derivative is zero. Its contribution to Φ\Phi is nevertheless −Tlog⁡(1−e−M/T)/V>0-T\log(1-e^{-M/T})/V>0. In the thermodynamic limit the isolated mode has vanishing weight per volume, and integration by parts in the momentum integral gives P=Φ=pP=\Phi=p. The argument requires M>0M>0 before the finite-box trace is formed; a massless zero oscillator does not have a finite partition function.

    2. Find the missing integration constant

    Suppose an exact trace anomaly is integrated from T0T_0 while incorrectly setting p(T0)=0p(T_0)=0. Find the resulting errors in pp, ϵ\epsilon and II. Is this mistake equivalent to changing the vacuum energy by a temperature-independent constant?

    Solution

    Write c=p(T0)/T04c=p(T_0)/T_0^4. The reconstructed dimensionless pressure is too small by cc, so

    δp=−cT4,δϵ=Td δpdT−δp=−3cT4.\delta p=-cT^4,\qquad \delta\epsilon=T\frac{d\,\delta p}{dT}-\delta p=-3cT^4.

    Consequently δI=δϵ−3δp=0\delta I=\delta\epsilon-3\delta p=0: the derivative data cannot determine an added conformal term proportional to T4T^4. In the example c=0.01414285114c=0.01414285114, a substantial error compared with the pressure at the lower endpoints. A constant vacuum shift instead gives δp=−B\delta p=-B, δϵ=B\delta\epsilon=B and δI=4B\delta I=4B. These are different ambiguities, and both must be fixed consistently.

    Summary

    An integral method reconstructs a thermodynamic potential from correctly normalized, vacuum-subtracted derivatives and an explicit anchor. The finite scalar trace verifies the bare-mass integral at fixed regulator. The continuum gas verifies trace-anomaly integration at fixed physical mass. An interacting lattice application additionally needs the bare-parameter derivatives along a line of constant physics and controlled volume, cutoff and statistical errors.

    The reproducible sums, quadratures and checks are in equation_of_state.py, with selected output eos-results.json, under examples/lattice-hamiltonian/thermal-lattice/. It imports the shared scalar transfer spectrum and reuses the inspected continuum Bose-gas helper. plot_eos.py generates the original figure. All calculations are deterministic.

    References

    • H.-T. Ding, F. Karsch and S. Mukherjee, Thermodynamics of strong-interaction matter from Lattice QCD, International Journal of Modern Physics E 24, 1530007 (2015), arXiv:1504.05274v1, PDF. §2.2, printed p.9, lines of constant physics; §4.1, printed p.25, Eqs. (39)–(40), trace-anomaly reconstruction and vacuum subtraction. The free scalar data are calculated independently here.

    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.