Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Thermal Path Integrals and Boundary Conditions

    Why does a quantum partition function become an integral over closed paths? The trace identifies the final configuration with the initial one. For a fermion, the coherent-state trace has an additional endpoint sign, which gives antiperiodic Grassmann fields. We derive both statements and evaluate a time-sliced oscillator without discarding its normalization: the path integral must reproduce the zero-point energy as well as the thermal occupation.

    Preparation: Thermal density matrices and the distinction between ungraded trace cyclicity and fermionic ordering in KMS relations. We use ℏ=kB=1\hbar=k_{\mathrm B}=1, β=1/T>0\beta=1/T>0, and initially a finite number of degrees of freedom. Infinite-volume or continuum field traces require additional regulators and limits.

    Cutting a bosonic trace into short intervals

    Consider a particle with H=p2/(2M)+V(x)H=p^2/(2M)+V(x), M>0M>0. The coordinate trace is

    Z(β)=∫Rdx0 ⟨x0∣e−βH∣x0⟩.Z(\beta)=\int_{\mathbb R}\mathrm dx_0\,\langle x_0|e^{-\beta H}|x_0\rangle.

    Let a=β/Na=\beta/N. Use a symmetric product e−aV/2e−ap2/(2M)e−aV/2e^{-aV/2}e^{-ap^2/(2M)}e^{-aV/2} for each short interval. Its local operator error is of order a3a^3 on appropriate states; convergence of the trace also requires confinement and control of the operators. The harmonic oscillator below supplies an exact finite-NN calculation, rather than relying on that formal estimate. Inserting coordinate resolutions between factors and using ⟨x∣p⟩=eipx\langle x|p\rangle=e^{ipx} gives

    ⟨x′∣e−ap2/(2M)∣x⟩=∫dp2π e−ap2/(2M)+ip(x′−x)=M2πa e−M(x′−x)2/(2a).\langle x'|e^{-ap^2/(2M)}|x\rangle=\int\frac{\mathrm dp}{2\pi}\,e^{-ap^2/(2M)+ip(x'-x)}=\sqrt{\frac{M}{2\pi a}}\,e^{-M(x'-x)^2/(2a)}.

    The two half-potentials on adjacent intervals combine. Thus

    ZN=(M2πa)N/2∫RN∏j=0N−1dxj exp⁡[−∑j=0N−1{M(xj+1−xj)22a+aV(xj)}],xN=x0.Z_N=\left(\frac{M}{2\pi a}\right)^{N/2}\int_{\mathbb R^N}\prod_{j=0}^{N-1}\mathrm dx_j\,\exp\left[-\sum_{j=0}^{N-1}\left\{\frac{M(x_{j+1}-x_j)^2}{2a}+aV(x_j)\right\}\right],\qquad x_N=x_0.

    The boundary condition follows from the trace, not from minimizing the action. Open endpoints would compute a matrix element of e−βHe^{-\beta H} instead. The continuum notation is shorthand for this regulated limit,

    Z=∫x(β)=x(0)Dx e−SE[x],SE[x]=∫0βdτ[M2(∂τx)2+V(x)].Z=\int_{x(\beta)=x(0)}\mathcal D x\,e^{-S_E[x]},\qquad S_E[x]=\int_0^\beta\mathrm d\tau\left[\frac M2(\partial_\tau x)^2+V(x)\right].

    The measure includes the factors inherited from the momentum integrals. They cannot be dropped when computing an absolute partition function or its temperature derivative. Laine–Vuorinen give this coordinate construction in §1.1, Eqs. (1.24)–(1.40). The integration paths are quantum fluctuations, generally not differentiable classical trajectories; the finite difference defines their kinetic weight.

    For a real scalar field on a finite spatial lattice, repeat the construction at every site. Taking the spatial continuum limit formally gives

    SE[ϕ]=∫0βdτ∫ddx[12(∂τϕ)2+12(∇ϕ)2+V(ϕ)],ϕ(β,x)=ϕ(0,x).S_E[\phi]=\int_0^\beta\mathrm d\tau\int\mathrm d^d x\left[\frac12(\partial_\tau\phi)^2+\frac12(\nabla\phi)^2+V(\phi)\right],\qquad \phi(\beta,\mathbf x)=\phi(0,\mathbf x).

    Here dd counts spatial dimensions. This positive kinetic sign agrees with the site's mostly-minus Lorentzian scalar action under t=−iτt=-i\tau. A finite positive weight does not, by itself, prove an interacting continuum limit or reconstruction theorem.

    The oscillator determinant retains the zero-point energy

    Set V(x)=Mω2x2/2V(x)=M\omega^2x^2/2 with ω>0\omega>0. Use the cyclic shift (Sx)j=xj−1(Sx)_j=x_{j-1}, with x−1=xN−1x_{-1}=x_{N-1}. The quadratic form is 12xTANx\tfrac12x^{\mathsf T}A_Nx, where

    AN=Ma[(2+a2ω2)I−S−ST],λn(AN)=Ma[a2ω2+4sin⁡2 ⁣(πnN)].A_N=\frac Ma\left[(2+a^2\omega^2)I-S-S^{\mathsf T}\right],\qquad \lambda_n(A_N)=\frac Ma\left[a^2\omega^2+4\sin^2\!\left(\frac{\pi n}{N}\right)\right].

    This matrix definition also counts both links correctly for N=2N=2. Each eigenvalue is positive. Applying the ordinary NN-dimensional Gaussian integral gives

    ZN=(M/a)N/2det⁡AN=∏n=0N−1[a2ω2+4sin⁡2 ⁣(πnN)]−1/2.Z_N=\frac{(M/a)^{N/2}}{\sqrt{\det A_N}}=\prod_{n=0}^{N-1}\left[a^2\omega^2+4\sin^2\!\left(\frac{\pi n}{N}\right)\right]^{-1/2}.

    To evaluate the product, introduce γ=2arsinh⁡(aω/2)\gamma=2\operatorname{arsinh}(a\omega/2), so that 2cosh⁡γ=2+a2ω22\cosh\gamma=2+a^2\omega^2. For zn=e2πin/Nz_n=e^{2\pi i n/N},

    2cosh⁡γ−zn−zn−1=eγ(1−e−γzn)(1−e−γzn−1),∏n=0N−1(1−rzn)=1−rN.2\cosh\gamma-z_n-z_n^{-1}=e^\gamma(1-e^{-\gamma}z_n)(1-e^{-\gamma}z_n^{-1}),\qquad \prod_{n=0}^{N-1}(1-rz_n)=1-r^N.

    The dimensionless product is therefore eNγ(1−e−Nγ)2=4sinh⁡2(Nγ/2)e^{N\gamma}(1-e^{-N\gamma})^2=4\sinh^2(N\gamma/2), and

    ZN=12sinh⁡ ⁣[Narsinh⁡ ⁣(βω2N)] ⟶ 12sinh⁡(βω/2)=∑n=0∞e−βω(n+1/2).Z_N=\frac1{2\sinh\!\left[N\operatorname{arsinh}\!\left(\frac{\beta\omega}{2N}\right)\right]}\ \longrightarrow\ \frac1{2\sinh(\beta\omega/2)}=\sum_{n=0}^{\infty}e^{-\beta\omega(n+1/2)}.

    The final equality is the independently known energy-level trace. In particular Z∼e−βω/2Z\sim e^{-\beta\omega/2} at low temperature. Replacing the determinant by only the factor (1−e−βω)−1(1-e^{-\beta\omega})^{-1} would silently change the Hamiltonian by removing its zero-point energy.

    Expanding the exact finite-slice answer gives a quantitative convergence test,

    log⁡ZN−log⁡Z=(βω)348N2coth⁡ ⁣(βω2)+O(N−4).\log Z_N-\log Z=\frac{(\beta\omega)^3}{48N^2}\coth\!\left(\frac{\beta\omega}{2}\right)+O(N^{-4}).

    The limit here holds at fixed βω\beta\omega. Taking low temperature with a fixed number of slices does not preserve that control. The continuum Fourier treatment in Laine–Vuorinen, §1.2 leads to the same oscillator trace; the finite cyclic determinant above makes its regulator and normalization explicit.

    The retained calculation in examples/thermal/imaginary-time/path-integrals-propagators/ compares a direct matrix determinant with the canonical state sum. For β=0.8\beta=0.8, M=1.7M=1.7 and ω=1.3\omega=1.3, it gives:

    Slices NNlog⁡ZN−log⁡Z\log Z_N-\log ZN2(log⁡ZN−log⁡Z)N^2(\log Z_N-\log Z)
    87.652924×10−47.652924\times10^{-4}0.048978710.04897871
    324.790270×10−54.790270\times10^{-5}0.049052370.04905237
    1282.994200×10−62.994200\times10^{-6}0.049056980.04905698

    The predicted limiting last column is 0.049057290.04905729. A separate three-coordinate Gaussian quadrature evaluates the original local action, including its measure and a constant force. At β=2.4\beta=2.4, M=1.2M=1.2, ω=1.1\omega=1.1 and J=0.23J=0.23, increasing the quadrature order from 1212 to 2424 reduces the relative partition error from 1.70×10−71.70\times10^{-7} to 1.28×10−141.28\times10^{-14}. Omitting the measure changes the partition function by a factor 8.57308.5730 in this finite example. These are checks of the specified Gaussian trace, not a convergence theorem for arbitrary potentials.

    Sources produce normalized correlations

    Couple a physical force through H′=−JxH'= -Jx. Its Euclidean exponent contains +∫Jx+\int Jx, consistent with the Euclidean source convention. On the lattice, define Jj=J(ja)J_j=J(ja) and keep the normalization separate:

    ZN[J]≡ZN[J]ZN[0]=exp⁡(a22JTAN−1J),⟨xjxk⟩N,c=(AN−1)jk.\mathcal Z_N[J]\equiv\frac{Z_N[J]}{Z_N[0]}=\exp\left(\frac{a^2}{2}J^{\mathsf T}A_N^{-1}J\right),\qquad \langle x_jx_k\rangle_{N,c}=(A_N^{-1})_{jk}.

    The factors of aa belong to source differentiation: a−1∂log⁡ZN/∂Jj=⟨xj⟩a^{-1}\partial\log Z_N/\partial J_j=\langle x_j\rangle. In the continuum, δlog⁡Z[J]/δJ(τ)=⟨x(τ)⟩J\delta\log Z[J]/\delta J(\tau)=\langle x(\tau)\rangle_J and the second derivative gives the connected imaginary-time ordered covariance. Since Z[0]=1\mathcal Z[0]=1, it generates normalized correlators but no longer contains the absolute free energy. Retain Z[0]Z[0] whenever thermodynamics is wanted.

    For fields, the same definitions use ∫0βdτ∫ddx Jϕ\int_0^\beta\mathrm d\tau\int\mathrm d^d x\,J\phi. A bosonic source on the circle is periodic. A source can be piecewise smooth; periodicity identifies its endpoint values when these are defined. Matsubara propagators inverts the resulting quadratic kernel and reconstructs its time dependence.

    A fermionic trace glues with a minus sign

    Take one fermion, {f,f†}=1\{f,f^\dagger\}=1, with K=ξf†fK=\xi f^\dagger f and ξ=ω−μ\xi=\omega-\mu. Unlike the bosonic oscillator, its two-state trace exists for either sign of ξ\xi:

    ZF=1+e−βξ.Z_F=1+e^{-\beta\xi}.

    Introduce independent Grassmann variables η,ηˉ\eta,\bar\eta, anticommuting with f,f†f,f^\dagger, and coherent states ∣η⟩=e−ηf†∣0⟩|\eta\rangle=e^{-\eta f^\dagger}|0\rangle, ⟨ηˉ∣=⟨0∣e−fηˉ\langle\bar\eta|=\langle0|e^{-f\bar\eta}. They obey f∣η⟩=η∣η⟩f|\eta\rangle=\eta|\eta\rangle and ⟨ηˉ′∣η⟩=eηˉ′η\langle\bar\eta'|\eta\rangle=e^{\bar\eta'\eta}. Fix the integration orientation by ∫dηˉ dη e−ηˉη=1\int\mathrm d\bar\eta\,\mathrm d\eta\,e^{-\bar\eta\eta}=1, equivalently ∫dηˉ dη ηˉη=−1\int\mathrm d\bar\eta\,\mathrm d\eta\,\bar\eta\eta=-1. Expansion in the two basis states then verifies

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

    for an even operator O\mathcal O. The second identity has a minus in the bra. It is a property of this coherent-state representation of an ordinary trace, not a minus introduced into trace cyclicity. These steps correspond to Laine–Vuorinen, §4.1, Eqs. (4.17)–(4.27).

    There is an exact short-time kernel for this quadratic example. With r=e−aξr=e^{-a\xi},

    ⟨ηˉj∣e−aK∣ηj−1⟩=1+rηˉjηj−1=exp⁡(rηˉjηj−1).\langle\bar\eta_j|e^{-aK}|\eta_{j-1}\rangle=1+r\bar\eta_j\eta_{j-1}=\exp(r\bar\eta_j\eta_{j-1}).

    After inserting resolutions, use indices j=1,…,Nj=1,\ldots,N and the trace identification η0=−ηN\eta_0=-\eta_N. The exponent is

    SF,N=∑j=1Nηˉj(ηj−rηj−1)=ηˉT(I−rS−)η,S−N=−I.S_{F,N}=\sum_{j=1}^N\bar\eta_j(\eta_j-r\eta_{j-1})=\bar\eta^{\mathsf T}(I-rS_-)\eta,\qquad S_-^N=-I.

    Here (S−η)j=ηj−1(S_-\eta)_j=\eta_{j-1} with that negative corner entry. Grassmann Gaussian integration yields a determinant, rather than an inverse square root. The eigenvalues of S−S_- are the roots of zN=−1z^N=-1, hence

    ZF,N=det⁡(I−rS−)=1+rN=1+e−βξ.Z_{F,N}=\det(I-rS_-)=1+r^N=1+e^{-\beta\xi}.

    This answer is exact at every NN because the one-step kernel was exact. Replacing rr by 1−aξ1-a\xi would introduce a discretization error. In the continuum, ηj−rηj−1=a(∂τ+ξ)η+O(a2)\eta_j-r\eta_{j-1}=a(\partial_\tau+\xi)\eta+O(a^2) for the purpose of identifying the differential kernel, and the endpoint gluing gives

    SF=∫0βdτ ηˉ(∂τ+ξ)η,η(β)=−η(0),ηˉ(β)=−ηˉ(0).S_F=\int_0^\beta\mathrm d\tau\,\bar\eta(\partial_\tau+\xi)\eta,\qquad \eta(\beta)=-\eta(0),\qquad \bar\eta(\beta)=-\bar\eta(0).

    The regulated Grassmann integral, not a pointwise smooth-path assumption, defines this expression. A Hamiltonian constant E0E_0 multiplies every answer by e−βE0e^{-\beta E_0}. In particular the source's oscillator ω(f†f−1/2)\omega(f^\dagger f-1/2) has Z=2cosh⁡(βω/2)Z=2\cosh(\beta\omega/2) at μ=0\mu=0; that differs from ours only by its declared vacuum energy.

    For antiperiodic Grassmann sources ζˉ,ζ\bar\zeta,\zeta, ordered as ζˉη+ηˉζ\bar\zeta\eta+\bar\eta\zeta, completing the Grassmann square gives

    ZF[ζˉ,ζ]ZF[0,0]=exp⁡[∫0βdτ dτ′ ζˉ(τ)D−1(τ,τ′)ζ(τ′)],D=∂τ+ξ.\frac{Z_F[\bar\zeta,\zeta]}{Z_F[0,0]}=\exp\left[\int_0^\beta\mathrm d\tau\,\mathrm d\tau'\,\bar\zeta(\tau)D^{-1}(\tau,\tau')\zeta(\tau')\right],\qquad D=\partial_\tau+\xi.

    The coefficient of ζˉ(τ)ζ(τ′)\bar\zeta(\tau)\zeta(\tau') defines ⟨Tτf(τ)f†(τ′)⟩=D−1(τ,τ′)\langle\mathrm T_\tau f(\tau)f^\dagger(\tau')\rangle=D^{-1}(\tau,\tau'), with no overall minus. Equivalently, use left derivatives in the order δ/δζ(τ′)\delta/\delta\zeta(\tau') after δ/δζˉ(τ)\delta/\delta\bar\zeta(\tau). The reversed operator ordering inside Tτ\mathrm T_\tau still carries its fermionic sign. The frequently used convention GF=−⟨Tτff†⟩G_F=-\langle\mathrm T_\tau ff^\dagger\rangle changes the overall Green-function sign, not the boundary condition.

    Chemical twists and graded traces are different choices

    The ordinary boundary conditions above use K=H−μQK=H-\mu Q as imaginary-time generator. For [Q,A]=−qAA[Q,A]=-q_AA, the corresponding physical-HH Euclidean operator is AH(τ)=e−μqAτAK(τ)A_H(\tau)=e^{-\mu q_A\tau}A_K(\tau). Therefore a charge-lowering field represented without the chemical connection has

    ΦH(β)=e−βμqΦΦH(0),ψH(β)=−e−βμqψψH(0).\Phi_H(\beta)=e^{-\beta\mu q_\Phi}\Phi_H(0),\qquad \psi_H(\beta)=-e^{-\beta\mu q_\psi}\psi_H(0).

    Keeping ordinary boundary conditions instead places −μq-\mu q in the first-order time derivative. These are equivalent descriptions when the trace exists. A real chemical potential can make a field-functional weight complex; the Grassmann integral itself is never an ordinary positive probability density.

    A parity insertion is a separate change. For the single fermion,

    Tr⁡[(−1)f†fe−βξf†f]=1−e−βξ=det⁡(I−rS+),S+N=I.\operatorname{Tr}\left[(-1)^{f^\dagger f}e^{-\beta\xi f^\dagger f}\right]=1-e^{-\beta\xi}=\det(I-rS_+),\qquad S_+^N=I.

    It gives periodic Grassmann fields and may vanish or be negative. It must not be substituted for the thermal partition function. The finite determinant exposes the distinction without an infinite-product normalization ambiguity.

    Summary

    A trace closes coordinate paths; a fermionic coherent-state trace closes Grassmann paths with a minus sign. Their Gaussian integrals give different determinant powers and different mode sectors. Retaining the short-time measure recovers the oscillator zero-point energy, while normalized source ratios generate its correlations. Chemical twists and parity insertions must be declared separately from the ordinary thermal trace.

    Exercises

    1. A constant physical force. For the harmonic oscillator, evaluate ZN[J]/ZN[0]Z_N[J]/Z_N[0] for Jj=JJ_j=J and compare the resulting static susceptibility with β⟨x2⟩\beta\langle x^2\rangle at J=0J=0.
    Solution

    The constant vector is an eigenvector of ANA_N with eigenvalue aMω2aM\omega^2. Hence JTAN−1J=NJ2/(aMω2)J^{\mathsf T}A_N^{-1}J=NJ^2/(aM\omega^2), and

    ZN[J]ZN[0]=eβJ2/(2Mω2),⟨x⟩J=JMω2,χiso=∂⟨x⟩J∂J=1Mω2.\frac{Z_N[J]}{Z_N[0]}=e^{\beta J^2/(2M\omega^2)},\qquad \langle x\rangle_J=\frac J{M\omega^2},\qquad \chi_{\mathrm{iso}}=\frac{\partial\langle x\rangle_J}{\partial J}=\frac1{M\omega^2}.

    This source ratio is exact at every NN. In the continuum ⟨x2⟩=coth⁡(βω/2)/(2Mω)\langle x^2\rangle=\coth(\beta\omega/2)/(2M\omega), so β⟨x2⟩\beta\langle x^2\rangle agrees with χiso\chi_{\mathrm{iso}} only in the classical high-temperature limit. The exact quantum response is the integrated imaginary-time covariance. Completing the Hamiltonian square, H−Jx=p2/(2M)+Mω2[x−J/(Mω2)]2/2−J2/(2Mω2)H-Jx=p^2/(2M)+M\omega^2[x-J/(M\omega^2)]^2/2-J^2/(2M\omega^2), independently gives the same partition-function ratio.

    1. A phase insertion, including its boundary condition. Compute Zθ=Tr⁡(eiθf†fe−βξf†f)Z_\theta=\operatorname{Tr}(e^{i\theta f^\dagger f}e^{-\beta\xi f^\dagger f}). Derive the Grassmann gluing and check θ=0,π\theta=0,\pi.
    Solution

    The two states give Zθ=1+eiθ−βξZ_\theta=1+e^{i\theta-\beta\xi}. Moving the insertion to the trace seam multiplies the wraparound step by −eiθ-e^{i\theta}, so the field boundary condition and the determinant are

    η(β)=−e−iθη(0),ηˉ(β)=−e+iθηˉ(0),Zθ=1+eiθrN.\eta(\beta)=-e^{-i\theta}\eta(0),\qquad \bar\eta(\beta)=-e^{+i\theta}\bar\eta(0),\qquad Z_\theta=1+e^{i\theta}r^N.

    For the inverse transform e−iντe^{-i\nu\tau}, the labels are ν=[(2n+1)π+θ]/β\nu=[(2n+1)\pi+\theta]/\beta. Equivalently, retain ordinary antiperiodic labels and replace ξ\xi by ξ−iθ/β\xi-i\theta/\beta. At θ=0\theta=0 the ordinary trace is recovered; at θ=π\theta=\pi the fields are periodic and Zπ=1−e−βξZ_\pi=1-e^{-\beta\xi}. Thus a boundary condition records the inserted operator and is not determined by Grassmann statistics alone.

    References

    • M. Laine and A. Vuorinen, Basics of Thermal Field Theory: A Tutorial on Perturbative Computations, arXiv:1701.01554v2, §§1.1–1.2, printed pp.3–7, Eqs. (1.24)–(1.53); §2.1, pp.13–15, Eqs. (2.1)–(2.17); §4.1, pp.49–52, Eqs. (4.17)–(4.27): trace measures, mode counting and the fermionic endpoint sign.

    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.