Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Temperature and Euclidean Boundary Conditions

    A Euclidean lattice has a temperature only after its temporal boundary condition and physical time spacing are specified. A lattice with eight time slices can represent many different temperatures. The relation is T=1/(Nτaτ)T=1/(N_\tau a_\tau), and changing either factor has a different effect on the regulator.

    We derive this relation from a trace, explain the fermionic boundary sign, and compute the complete thermal partition function of a free real scalar at finite spacing. Keeping the Gaussian measure makes the vacuum subtraction unambiguous. The resulting example also distinguishes temperature variation from a continuum limit.

    Preparation: Transfer matrices, Gaussian integration and the free lattice dispersion relation. Chemical potentials are zero throughout.

    Closing a propagation kernel gives a thermal circle

    For a Hamiltonian HH and inverse temperature β>0\beta>0, equilibrium means

    Z(β)=Tr⁡e−βH.Z(\beta)=\operatorname{Tr}e^{-\beta H}.

    Insert field eigenstates between NτN_\tau factors of a transfer operator T\mathcal T. If T=e−aτH\mathcal T=e^{-a_\tau H}, then

    Z=∫∏t=0Nτ−1dqt T(qt+1,qt),qNτ=q0,β=Nτaτ,T=1Nτaτ.\begin{aligned} Z&=\int\prod_{t=0}^{N_\tau-1}\mathrm dq_t\, \mathcal T(q_{t+1},q_t),\\ q_{N_\tau}&=q_0,\qquad \beta=N_\tau a_\tau,\qquad T=\frac1{N_\tau a_\tau}. \end{aligned}

    The equality of the final and initial field is the trace, so bosonic fields are periodic in Euclidean time. An amplitude with specified endpoint fields, or open temporal boundaries, is a different object. Making its extent equal to 1/T1/T does not turn it into the same thermal trace.

    For a local lattice action, the positive transfer operator generally defines its own Hamiltonian Haτ=−aτ−1log⁡TH_{a_\tau}=-a_\tau^{-1}\log\mathcal T. At finite spacing this need not equal the continuum-time target Hamiltonian. The thermal identity is exact for HaτH_{a_\tau}; approximating the intended continuum theory is a separate limit. The field-eigenstate construction and its boundary identification are given in Meyer, §4.1, Eqs. (223)–(227), printed p. 25 (PDF).

    For a spatial cube with NsN_s sites in each direction,

    L=Nsas,V=L3,ξ=asaτ.L=N_s a_s,\qquad V=L^3,\qquad \xi=\frac{a_s}{a_\tau}.

    The dimensionless physical aspect ratio is

    LT=NsξNτ.LT=\frac{N_s\xi}{N_\tau}.

    The two spacings are independent. In an interacting anisotropic action, the parameter multiplying spatial and temporal terms must be calibrated to the physical anisotropy ξ\xi; a bare coefficient is not automatically a measured ratio of spacings.

    Why a fermion changes sign at the seam

    Grassmann coherent states resolve the fermion identity, but their trace has a minus sign in the endpoint state. With a consistent coherent-state integration convention,

    Tr⁡A=∫dηˉ dη e−ηˉη⟨−η∣A∣η⟩.\operatorname{Tr}A =\int\mathrm d\bar\eta\,\mathrm d\eta\, e^{-\bar\eta\eta}\langle-\eta|A|\eta\rangle.

    After inserting intermediate coherent states, this gives

    ψ(β,x)=−ψ(0,x),ψˉ(β,x)=−ψˉ(0,x).\psi(\beta,\mathbf x)=-\psi(0,\mathbf x),\qquad \bar\psi(\beta,\mathbf x)=-\bar\psi(0,\mathbf x).

    The sign is required even for a free fermion; it does not come from a gauge field or an interaction. Meyer, Eqs. (228)–(233), printed p. 25 (PDF), displays the one-mode coherent-state trace explicitly. For a single fermionic occupation with energy EE, the two states contribute 1+e−βE1+e^{-\beta E}. A periodic Grassmann boundary condition instead corresponds to inserting (−1)F(-1)^F in this trace, producing 1−e−βE1-e^{-\beta E}. It computes a graded trace, not the ordinary thermal partition function.

    Expanding a periodic field in modes e−iωnτe^{-i\omega_n\tau} requires e−iωnβ=1e^{-i\omega_n\beta}=1; the antiperiodic condition requires −1-1. Hence

    ωnB=2πnT,ωnF=(2n+1)πT.\omega_n^{\rm B}=2\pi nT,\qquad \omega_n^{\rm F}=(2n+1)\pi T.

    There are only NτN_\tau distinct frequency labels on a time lattice, modulo 2π/aτ2\pi/a_\tau. Bosons include a zero frequency; ordinary thermal fermions do not. Gauge links are periodic, and a gauge-invariant fermion bilinear is bosonic and periodic even though its constituent fields are antiperiodic. Twists, chemical potentials and insertions in the trace require their own boundary-condition translation.

    A normalized scalar determinant

    Take a real free scalar in 3+13+1 dimensions, with m0>0m_0>0 and periodic boundaries in all directions. Its anisotropic action is

    SE=aτas32∑t,n[(ϕt+1,n−ϕt,n)2aτ2+∑i=13(ϕt,n+i^−ϕt,n)2as2+m02ϕt,n2].S_E=\frac{a_\tau a_s^3}{2}\sum_{t,\mathbf n} \left[ \frac{(\phi_{t+1,\mathbf n}-\phi_{t,\mathbf n})^2}{a_\tau^2} +\sum_{i=1}^3\frac{(\phi_{t,\mathbf n+\hat i}-\phi_{t,\mathbf n})^2}{a_s^2} +m_0^2\phi_{t,\mathbf n}^2\right].

    Rescale slice coordinates as qn=as3/2ϕnq_{\mathbf n}=a_s^{3/2}\phi_{\mathbf n}. A real orthogonal spatial transform produces Ns3N_s^3 independent oscillators with

    ωp2=m02+p^ 2,p^ 2=4as2∑i=13sin⁡2pias2,pi=2πniL.\begin{aligned} \omega_{\mathbf p}^2&=m_0^2+\widehat{\mathbf p}^{\,2},\\ \widehat{\mathbf p}^{\,2}&=\frac4{a_s^2}\sum_{i=1}^3\sin^2\frac{p_i a_s}{2}, \qquad p_i=\frac{2\pi n_i}{L}. \end{aligned}

    For each oscillator the symmetric transfer kernel, including its normalization, is

    Tω(q′,q)=12πaτexp⁡[−(q′−q)22aτ−aτω24(q′2+q2)].\mathcal T_\omega(q',q)=\frac1{\sqrt{2\pi a_\tau}} \exp\left[-\frac{(q'-q)^2}{2a_\tau} -\frac{a_\tau\omega^2}{4}(q'^2+q^2)\right].

    Thus its periodic trace uses ∏tdqt/2πaτ\prod_t\mathrm dq_t/\sqrt{2\pi a_\tau}. The quadratic form is Sω=qTDq/(2aτ)S_\omega=q^TDq/(2a_\tau), where the frequency eigenvalues of DD are

    Dn=(aτω)2+4sin⁡2πnNτ.D_n=(a_\tau\omega)^2+4\sin^2\frac{\pi n}{N_\tau}.

    Gaussian integration cancels the powers of 2πaτ2\pi a_\tau from the measure and gives Zω=(det⁡D)−1/2Z_\omega=(\det D)^{-1/2}. Dropping an unspecified normalization before taking thermodynamic derivatives would lose this information.

    Set

    ε=aτE=2arsinh⁡aτω2,Dn=2(cosh⁡ε−cos⁡2πnNτ).\varepsilon=a_\tau E=2\operatorname{arsinh}\frac{a_\tau\omega}{2}, \qquad D_n=2\left(\cosh\varepsilon-\cos\frac{2\pi n}{N_\tau}\right).

    To evaluate the determinant, put z=e−εz=e^{-\varepsilon} and use the roots of unity:

    Dn=eε(1−ze2πin/Nτ)(1−ze−2πin/Nτ),∏nDn=eNτε(1−zNτ)2=4sinh⁡2Nτε2.\begin{aligned} D_n&=e^\varepsilon (1-ze^{2\pi in/N_\tau})(1-ze^{-2\pi in/N_\tau}),\\ \prod_nD_n&=e^{N_\tau\varepsilon}(1-z^{N_\tau})^2 =4\sinh^2\frac{N_\tau\varepsilon}{2}. \end{aligned}

    Therefore

    Zω=e−βE/21−e−βE,E=2aτarsinh⁡aτω2.\boxed{Z_\omega=\frac{e^{-\beta E/2}}{1-e^{-\beta E}},\qquad E=\frac2{a_\tau}\operatorname{arsinh}\frac{a_\tau\omega}{2}.}

    This agrees with the full finite-step oscillator spectrum derived in the transfer-matrix article. It is exact at finite aτa_\tau, including its ground energy E/2E/2. Counting every spatial momentum once gives exactly Ns3N_s^3 real normal coordinates: a conjugate pair represents two real oscillators, not two additional complex fields.

    Subtract the vacuum at the same regulator

    With the specified kernel normalization, define

    Evac=12∑pEp,log⁡Zth=log⁡Z+βEvac=−∑plog⁡(1−e−βEp).E_{\rm vac}=\frac12\sum_{\mathbf p}E_{\mathbf p},\qquad \log Z_{\rm th}=\log Z+\beta E_{\rm vac} =-\sum_{\mathbf p}\log(1-e^{-\beta E_{\mathbf p}}).

    Both terms use the same aτ,as,Ns,m0a_\tau,a_s,N_s,m_0. This is an exact zero-temperature subtraction in the free example. Estimating the vacuum with a merely long but finite temporal lattice would instead leave a residual thermal contribution.

    For nB(E)=(eE/T−1)−1n_B(E)=(e^{E/T}-1)^{-1}, the thermal free-energy density and thermal energy density are

    −fth=Tlog⁡ZthV,ϵth=1V∑pEpnB(Ep).-f_{\rm th}=\frac{T\log Z_{\rm th}}V,\qquad \epsilon_{\rm th}=\frac1V\sum_{\mathbf p}E_{\mathbf p}n_B(E_{\mathbf p}).

    The second equality is −V−1∂βlog⁡Zth-V^{-1}\partial_\beta\log Z_{\rm th} at fixed transfer Hamiltonian. It holds fixed the spacings, bare mass and number of spatial sites. It is not a total derivative along a path that changes the cutoff when changing TT. The Hamiltonian trace makes sense for any β>0\beta>0; its representation by the specified finite time lattice requires β/aτ\beta/a_\tau to be an integer.

    At finite volume, −fth-f_{\rm th} is also not generally the mechanical pressure T ∂Vlog⁡ZthT\,\partial_V\log Z_{\rm th}. For example, with continuum dispersion in a periodic cube at fixed physical mass MM,

    pmech=13V∑npn2M2+pn2 nB ⁣(M2+pn2).p_{\rm mech}=\frac1{3V}\sum_{\mathbf n} \frac{\mathbf p_{\mathbf n}^2}{\sqrt{M^2+\mathbf p_{\mathbf n}^2}} \,n_B\!\left(\sqrt{M^2+\mathbf p_{\mathbf n}^2}\right).

    This follows by differentiating pn=2πn/L\mathbf p_{\mathbf n}=2\pi\mathbf n/L and V=L3V=L^3. At M=T=1,L=4M=T=1,L=4, the retained continuum sums give −fth=0.08658032-f_{\rm th}=0.08658032 and pmech=0.08523352p_{\rm mech}=0.08523352. They approach the same infinite-volume pressure. The equation-of-state article develops the corresponding mass and temperature integrals, retaining their reference terms.

    Resolve the thermal circle without changing its physics

    There are two common temperature scans. At fixed scale, keep the lattice action and physical spacings fixed and vary NτN_\tau; temperature values are discrete and the regulator Hamiltonian is unchanged. At fixed NτN_\tau, varying TT requires changing aτa_\tau, usually together with asa_s and the bare parameters. One must tune a line of constant physics: chosen zero-temperature physical masses and other defining observables remain fixed. Its scale calibration is part of the calculation. The lattice spacing and mass tuning in this procedure are discussed in Ding, Karsch and Mukherjee, §2.2, Eq. (20) and following discussion, printed p. 9 (PDF).

    A continuum comparison at fixed TT is a third operation: increase NτN_\tau while reducing aτa_\tau so that their product stays fixed. Control LL independently. Simply increasing NτN_\tau at fixed spacing cools the system.

    Our deterministic example fixes the zero-momentum transfer gap MM, using

    m0=2aτsinh⁡aτM2.m_0=\frac2{a_\tau}\sinh\frac{a_\tau M}{2}.

    Choose M=T=1M=T=1, L=8L=8, as=aτ=1/Nτa_s=a_\tau=1/N_\tau and Ns=8NτN_s=8N_\tau. The exact sums are:

    NτN_\tau−fth/T4-f_{\rm th}/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 cube, L=8L=80.085946920.29276290

    The continuum row uses Ep=M2+p2E_{\mathbf p}=\sqrt{M^2+\mathbf p^2} and an unbounded integer momentum grid, truncated numerically. Increasing the cube cutoff from ∣ni∣≤48|n_i|\leq48 to 72 changes these two values by less than 7×10−157\times10^{-15}. This checks the chosen finite-box sum, not an interacting continuum limit. The lattice data converge toward it, but the coarse points should not be asserted to obey an exact quadratic cutoff law. The figure shows their actual relative deviations, with no fitted extrapolation.

    Relative free-energy and thermal-energy errors decrease as the temporal lattice is refined at fixed gap, temperature and volume.

    Exact free-scalar sums at M=T=1M=T=1 and LT=8LT=8, divided by the independently summed continuum-box values. Both spacings are a=1/Nτa=1/N_\tau and the bare mass is retuned to keep the transfer gap fixed. The energy curve denotes the fixed-HaτH_{a_\tau} thermal derivative at each regulator. Joining lines guide the eye; there is no continuum fit or statistical error bar.

    The companion temperature_checks.py also constructs a 4×234\times2^3 anisotropic position-space quadratic form, independently of the momentum formula. Its eigenvalues, normalized determinant and vacuum-subtracted coincident covariance agree with the mode calculation within 6×10−146\times10^{-14}. Single-oscillator determinant and covariance identities, a converging finite-difference thermal derivative, and exponentially small occupation tails provide separate checks. The last check matters numerically: evaluating log⁡(1−e−x)\log(1-e^{-x}) by first rounding 1−e−x1-e^{-x} to one can erase a small but nonzero heavy-mass reference contribution.

    Summary

    The thermal trace fixes the circumference β=Nτaτ\beta=N_\tau a_\tau and the bosonic or fermionic seam. Its transfer normalization also fixes the vacuum contribution. A temperature scan and a continuum limit vary different quantities; a line of constant physics states what is being held fixed. The free scalar provides an exact finite-regulator benchmark for these distinctions and for the thermal sums used in the equation of state.

    Exercises

    1. A boundary sign in a finite fermion determinant

    For one fermionic level with energy E>0E>0, set h=e−aτEh=e^{-a_\tau E}. Let FαF_\alpha shift a vector by one time site, with seam fNτ=αf0f_{N_\tau}=\alpha f_0, where α=±1\alpha=\pm1. Show that the coherent-state matrix Dα=I−hFαD_\alpha=I-hF_\alpha gives the correct thermal or graded trace. What fails if one replaces antiperiodic by periodic time but still calls the result thermal?

    Solution

    The eigenvalues λj\lambda_j of FαF_\alpha satisfy λjNτ=α\lambda_j^{N_\tau}=\alpha. Their characteristic polynomial gives

    det⁡(I−hFα)=∏j(1−hλj)=1−αhNτ.\det(I-hF_\alpha)=\prod_j(1-h\lambda_j)=1-\alpha h^{N_\tau}.

    For α=−1\alpha=-1 this is 1+e−βE1+e^{-\beta E}, the sum of the empty and occupied Boltzmann weights. For α=1\alpha=1 it is 1−e−βE1-e^{-\beta E}: the occupied state is counted with a minus sign. This is Tr⁡[(−1)Fe−βH]\operatorname{Tr}[(-1)^F e^{-\beta H}]. The change of boundary condition has changed the ensemble, not improved a discretization of the same trace. In particular, its logarithmic derivative need not equal a positive occupation probability.

    2. The massless zero mode in a finite box

    At fixed finite L,T,as,aτL,T,a_s,a_\tau, send m0→0+m_0\to0^+ in the scalar example. Find the leading zero-mode contributions to log⁡Zth\log Z_{\rm th}, ϵth\epsilon_{\rm th} and ⟨ϕ2⟩T\langle\phi^2\rangle_T. Explain why a finite massless continuum pressure in three spatial dimensions does not remove the finite-box problem.

    Solution

    The zero-mode gap is E0=2aτ−1arsinh⁡(aτm0/2)∼m0E_0=2a_\tau^{-1}\operatorname{arsinh}(a_\tau m_0/2)\sim m_0. Thus

    log⁡Zth,0∼log⁡Tm0,ϵth,0=E0nB(E0)V⟶TV.\log Z_{{\rm th},0}\sim\log\frac{T}{m_0},\qquad \epsilon_{{\rm th},0}=\frac{E_0n_B(E_0)}V\longrightarrow\frac TV.

    The canonically normalized oscillator has width parameter Ω0=m01+(aτm0/2)2\Omega_0=m_0\sqrt{1+(a_\tau m_0/2)^2}. Its equal-time variance is coth⁡(βE0/2)/(2Ω0)\coth(\beta E_0/2)/(2\Omega_0); dividing by VV gives

    ⟨ϕ2⟩T,0∼TVm02.\langle\phi^2\rangle_{T,0}\sim\frac{T}{V m_0^2}.

    The partition function therefore diverges even though this mode's thermal energy has a finite limit. At exactly zero mass the spatially uniform coordinate is a free particle on a noncompact field line, whose position trace is infinite. In the infinite-volume momentum integral, ∫0dp p2log⁡(1−e−p/T)\int_0\mathrm dp\,p^2\log(1-e^{-p/T}) is infrared finite; it does not normalize the isolated uniform coordinate of a finite box. Removing or constraining that coordinate changes the finite-volume problem and must be stated.

    References

    • Heng-Tong Ding, Frithjof Karsch and Swagato Mukherjee, “Thermodynamics of strong-interaction matter from Lattice QCD,” International Journal of Modern Physics E 24 (2015), 1530007, arXiv:1504.05274 (PDF), §2.2, Eq. (20) and the line-of-constant-physics discussion, printed p. 9.
    • Harvey B. Meyer, “Transport Properties of the Quark-Gluon Plasma — A Lattice QCD Perspective,” European Physical Journal A 47 (2011), 86, arXiv:1104.3708 (PDF), §4.1, Eqs. (223)–(233), printed p. 25. The normalized finite-step scalar determinant and numerical example are derived explicitly 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.