Lecture 3

Quantum Field Theory: the Partition Function as a Path Integral

For the reader from (mathematics).

The path integral is, for our purposes, a (formal, then regularized) Gaussian measure. The one result you need to trust is that a Gaussian integral produces a determinant, and that for fields on a circle that determinant is computed by a regularized product over modes. The new geometric input is that the trace of Lecture 2 is a path integral on a circle, whose circumference is β.

3.1 The trace is a path integral on a circle

Face 3 of the Interlude recast eβH as evolution through an interval β of imaginary time. To make a path integral of it we need a basis of states to propagate between, and the natural one is the basis of field-configuration eigenstates. Just as a single particle has position eigenstates x^|x=x|x, a field has eigenstates of the (Schrödinger-picture) field operator,

ϕ^(𝐱)|ϕ=ϕ(𝐱)|ϕ,ϕ^(𝐱)=k12ωk(akuk(𝐱)+akuk(𝐱)),

one for every classical profile ϕ(𝐱), built from the mode functions uk and the ladder operators ak,ak of Lecture 2; they resolve the identity, 𝒟ϕ|ϕϕ|=𝟏.

These |ϕ are vectors in the very Fock space assembled in §2-the symmetric or exterior algebra on the modes. That space is graded: it splits into subspaces of definite energy, =nn (and, independently, into the particle-number sectors carried by the fugacity zN of §4). A number eigenstate lives in a single grade; a field eigenstate |ϕ is a superposition spread across all of them, as a position eigenstate spreads over the levels of an oscillator. Keep the word grading in view: this same energy grading returns as the qL0 of the torus (L4) and the graded dimension of a character (L5).

Now compute the trace by sandwiching, exactly as in §2 but in the field basis. Split eβH=(eϵH)N into N steps of size ϵ=β/N and insert the resolution of the identity between every pair:

Z=TreβH=𝒟ϕϕ|eβH|ϕ=i=1N𝒟ϕii=1Nϕi+1|eϵH|ϕi,ϕN+1ϕ1.

The trace has already done its work in setting ϕN+1=ϕ1: the chain of configurations closes into a loop. Each infinitesimal factor is the Boltzmann weight of a single imaginary-time step,

ϕi+1|eϵH|ϕiexp(ϵLE[ϕi,ϕ˙i]),ϕ˙i=1ϵ(ϕi+1ϕi),

with LE the Euclidean Lagrangian. Here is the rhyme with the Interlude: the exponent is additive over the steps, so the weights multiply-the very homomorphism of Face 2 (additivity multiplicativity) that made Z factorize over independent systems, now applied to successive slices of imaginary time. Their product assembles the exponential of the action, ieϵLE=eiϵLEe0βdτLE=eSE[ϕ], and the sum over the intermediate configurations ϕi becomes an integral over field histories ϕ(τ,𝐱), their two ends glued by the trace into a circle:

Z=TreβH=ϕ(τ+β)=±ϕ(τ)𝒟ϕeSE[ϕ]. (3.1)

The thermal partition function is a path integral over fields on a Euclidean time circle 𝖲β1 of circumference β. Inverse temperature has become a length.

The same construction runs for a fermion, with one twist. Because its ladder operators anticommute ({c,c}=1, Lecture 2), the useful basis is the fermionic coherent states |ψ, eigenstates of the annihilator c|ψ=ψ|ψ whose labels ψ are anticommuting Grassmann numbers. Tracing over them carries an extra sign,

TrA=dψ¯dψeψ¯ψψ|A|ψ,

and it is the ψ|-the fermionic trace closing on minus the starting configuration-that will force the antiperiodic boundary condition of the next section.

3.2 Statistics dictates boundary conditions

What is the ± in (3.1)? Tracing means gluing τ=0 to τ=β, and the gluing condition is fixed by the statistics of the field:

bosons: ϕ(τ+β)=+ϕ(τ) (periodic), (3.2)
fermions: ψ(τ+β)=ψ(τ) (antiperiodic). (3.3)

The minus sign for fermions is exactly the (1)F of §4: the trace of eβH over a fermionic mode equals the antiperiodic path integral, while inserting (1)F would flip it to periodic. This is the path-integral form of the Kubo–Martin–Schwinger (KMS) condition, whose proper home-correlation functions-is the business of the box below.

Before refining further, pause on what kind of choice this ± is. A fermion is a spinor, and to put spinors on a spacetime at all one must equip it with a spin structure: a consistent rule for the sign a spinor picks up when carried around each closed loop. In vacuum QFT on d this never comes up, and for good reason-d is simply connected, its spin structure is unique, and there is no choice to make. But taking the trace changed the topology under our feet: thermal spacetime is 𝖲β1×d1, and a circle admits exactly two spin structures-the two gluings ψ(τ+β)=±ψ(τ) just written. The partition function cannot be agnostic between them: TreβH is the antiperiodic structure, and inserting (1)F switches to the periodic one. “Statistics dictates boundary conditions” is, said geometrically, “taking a trace selects a spin structure.”

Nor is this exotic; it has been hiding in plain sight in every finite-temperature calculation. Fourier analysis on the time circle assigns a periodic (bosonic) field the Matsubara frequencies ωn=2πn/β, but an antiperiodic (fermionic) field the odd ones, ωn=(2n+1)π/β. Those odd integers, familiar from any first pass through thermal field theory, are a choice of spin structure in action.

For the curious (equilibrium is what makes imaginary time a circle).

Why should equilibrium, of all things, hand every field a discrete comb of frequencies? Lecture 1 characterized the thermal state variationally: eβH/Z is the unique entropy maximizer at fixed mean energy (Face 1 of the Interlude). The KMS condition characterizes the same state geometrically: if the correlation functions of a finite system continue to imaginary time and close up (anti)periodically with period β, the state is forced to be eβH/Z-cyclicity of the trace, read backwards (Face 3). The two characterizations select the same state, and the geometric one is the one that survives the thermodynamic limit: in the algebraic formulation of Haag, Hugenholtz and Winnink, a KMS state is what “equilibrium at inverse temperature βmeans for an infinite system, where the Gibbs sum may no longer exist. The Matsubara comb is then the spectral fingerprint of equilibrium: a correlator periodic on a circle of circumference β carries Fourier support only at ωn=2πn/β (odd multiples of π/β in the antiperiodic case), while out of equilibrium nothing glues imaginary time into a circle and the frequency content spreads off the comb. The Lagrange multiplier of Lecture 1 has become a geometric period: maximizing entropy and compactifying Euclidean time are the same act, and the comb spacing 2π/β is the entropy multiplier turned into a frequency quantum.

That ± is only the coarsest twist. In §I.2 we refined the trace by a conjugate potential eiθQ for any conserved charge Q; in the path integral each such insertion becomes a twisted boundary condition-the field returns to itself only up to the symmetry group element g=eiθQ that the insertion generates,

Tr(eiθQeβH)=ϕ(τ+β)=eiθϕ(τ)𝒟ϕeSE[ϕ](unit charge). (3.4)

The twist is precisely a flat background connection for the global symmetry generated by Q: a holonomy g around 𝖲β1, switched on by hand and not summed over. What it looks like depends on the group Q generates.

If that group is finite-fermion parity (1)F generating 2 is the case in hand-the holonomy g takes only finitely many values, each labelling a distinct twisted sector, with no continuum in between: antiperiodicity is the nontrivial element of 2 and periodicity the identity. Summing over the sectors, instead of fixing one, gauges the symmetry-the orbifold construction.11 1 More precisely, a twist is a flat G-bundle on the spacetime: on 𝖲β1 a holonomy gG (a conjugacy class), on the torus of Lecture 4 a commuting pair (g,h) of holonomies for the two cycles. When one sums over sectors to gauge G, the phases that may be attached to them form a torsor over H2(G,U(1))-Vafa’s discrete torsion-while the obstruction to gauging at all is a ’t Hooft anomaly in H3(G,U(1)).

If instead Q generates a continuous group such as U(1), the holonomy eiθ runs continuously and the twist is a background U(1) gauge field wrapped on the circle. This is the chemical potential exactly: μ enters as an imaginary time-component gauge field through ττμ, a Wilson line eβμ around 𝖲β1, and one dials it rather than summing. Either way Q must generate a global symmetry, acting on the states the trace runs over, and the connection is a background: a gauged (local) symmetry grades nothing-its charged states are projected out-and its connections are integrated over, not fixed. The holonomy θ of §I.2 is now literal, the phase a field acquires on going once around 𝖲β1-every knob of the Interlude a boundary condition.

Thread (Two choices now, four spin structures later).

A field on the time circle carries one of two boundary conditions (periodic “R” or antiperiodic “NS”). On the torus of Lecture 4 there are two circles, hence 2×2=4 boundary-condition choices: the four spin structures. The single sign we are choosing here is one bit of that data.

3.3 Free fields, exactly

For a free (Gaussian) theory the path integral is computed exactly by a functional determinant,

Z=(det𝒪)1/2,{12real (scalar) boson (𝒪=2+m2),+12Majorana fermion (𝒪=∂̸+m). (3.5)

The opposite signs of the exponent are the determinant-level shadow of Bose vs. Fermi, and the halves are the shadow of reality: a real (Majorana) fermion’s Gaussian integral is a Pfaffian, Pf𝒪=det1/2𝒪, just as the real scalar gives det1/2; their complex cousins-Dirac fermion, complex scalar-carry the powers ±1. Writing the determinant as a product over the modes on 𝖲β1 and doing the Matsubara sum reproduces (5) and (6), along with the zero-point factor the next section takes up: the path integral and the trace agree, as they must. Meanwhile logZ is the sum of connected vacuum diagrams-the field-theory free energy.

3.4 The vacuum energy and the first 1/12

The determinant carries a zero-point piece 12nωn, the sum of the ground-state energies of all the modes (Example 1.2, summed). It diverges. Make it finite the cheap way: put the system in a periodic box of length L, an infrared regulator (a lattice length, nothing geometric yet), so a tower of modes discretizes to ωn=2πn/L and the zero-point sum is πLn1n. (Reading L as a genuine spatial circle-one cycle of a torus-is the business of the 2d conformal field theory of Lecture 4; here it is only a cutoff.) Zeta-regularize:

n1n=𝜁ζ(1)=112,E0=π12L. (3.6)

The finite leftover is the Casimir energy.22 2 The textbook Casimir energy of a 2d field on a circle, πc/6L, counts the left- and right-moving towers together; our single tower ωn=2πn/L is one chiral half of it.

What does the fermion contribute? Its sign is fixed by the mode algebra, before any geometry enters. Quantizing a bosonic mode symmetrizes the classical product: H=ω2(aa+aa)=ω(aa+12), the +12ω paid to the commutator [a,a]=1. Quantizing a fermionic mode antisymmetrizes: H=ω2(cccc)=ω(cc12), and now the anticommutator {c,c}=1 pays 12ω. The same one bit of statistics that set the ± of §3.2 flips the zero-point energy: every bosonic mode contributes +12ω to the vacuum, every fermionic mode 12ω.

That opposite sign is an invitation. Suppose a theory supplies one fermionic mode for every bosonic mode of the same frequency-matched mode for mode, not component for component. (The distinction matters: a fermion’s action is first order, so the field is its own conjugate momentum and each component carries only half a degree of freedom; a naive component count makes fermions look twice as numerous as they are. Which multiplets match is then dimension-dependent bookkeeping-in four dimensions, for instance, the four real components of a Majorana fermion supply the same two modes per momentum as a complex scalar.) Then +12ω meets 12ω at every single frequency and the vacuum energy cancels mode by mode: divergence, finite part, everything, with no regulator invoked at all. This is historically one of the cheapest ways to motivate supersymmetry: a symmetry exchanging bosons and fermions forces exactly such a pairing of modes, and a vanishing vacuum energy is its signature-the SUSY algebra makes H0, saturated by an invariant ground state. What survives when the pairing is imperfect-the net count of unpaired ground states-is the Witten index of Lecture 5, a partition function that counts with signs.

When the spectra do not match, the regulator exposes the mismatch-and here the box itself asks the fermion the same question the time circle asked in §3.2: periodic or antiperiodic around the compact direction? Both are consistent; as with the two spin structures there, the regulated theory must simply pick one. (On the torus of Lecture 4 the two choices become the R and NS sectors.) Periodic, the fermion is integer moded like the boson, and its zero-point sum is the boson’s with the sign reversed:

E0per=12n1ωn=πLn1n=𝜁+π12L, (3.7)

equal and opposite to (3.6)-the finite shadow of the mode-by-mode cancellation above. Antiperiodic, it is half-integer moded, ωr=2πr/L with r=12,32,, and

E0anti=12rωr=πLk0(k+12)=𝜁π24L, (3.8)

the shifted sum k0(k+12) ζ-regularizing to +124. Two boundary conditions, two vacuum energies. Notice, finally, what did not spoil the cancellation: Euclidean time. The zero-point sum is a statement about the Hamiltonian on space, untouched by the Wick rotation, and the thermal antiperiodicity of §3.2 lives on the time circle, which never enters it. What halved the antiperiodic answer-π/24L against the boson’s π/12L-is the shifted moding alone, (k+12) against n. On the torus these two numbers reappear as the leading powers of the theta-function blocks of Lecture 4.

Thread (The thread, continued).

The ζ(1)=112 of (3.6) is the regularized shadow of the zero-point factor eβω/2 of Lecture 1, summed over the whole tower. Once L is a genuine circle (Lecture 4), the coefficient is the central charge: the single tower carries E0=c242πL per chiral half, with c=1 for the free boson-the q1/24 inside η(τ). Left- and right-movers together give 2×(124)=112. In Lecture 5 the same c/24 is the universal grading shift L0c/24.

For the curious (why ζ-regularization is legitimate).

ζ(1)=112 is not a claim that 1+2+3+ converges. It is the statement that the analytic continuation of ζ(s)=ns (defined for s>1) takes the value 112 at s=1. That value is not a convention: by the identity theorem a holomorphic function admits at most one analytic continuation to a given connected domain, so ζ’s extension-and with it the number 112-is forced the moment one insists on analyticity. This uniqueness is why the continuation is the scheme-independent finite part of the regularized vacuum energy: different regulators (heat kernel, point-splitting) must agree on it, the divergent pieces being local and removed by counterterms. The physical Casimir force, measured in the laboratory in its three-dimensional electromagnetic version, confirms that such finite remainders are real physics.

Rosetta notes

  • β length of the Euclidean time circle.

  • (1)F insertion flipping the fermion from antiperiodic to periodic the choice of spin structure on 𝖲β13.2), one bit of the four of L4.

  • det the one-loop free energy; its zero-point part the c/24 shift.

For the curious (gluing is composition (a categorical preview)).

Sewing two path integrals along a shared boundary slice composes the corresponding linear maps (“propagators”). The trace of Lecture 2 is the special sewing that closes a cylinder into a circle. A partition function on a closed manifold is then the value of a functor on a cobordism -a number. We make this precise in the finale; for now it explains why (3.1) “closing the interval into a circle” is the geometric form of taking a trace.

← Back to The Many Faces of the Partition Function

Prefer the whole series as one document? Download the notes (PDF).