Skip to content

A closed time path turns one initial-state problem into a generating functional by evolving a ket forward, evolving its bra backward, and sewing the two histories before taking a trace. The two branches therefore carry opposite action and source signs. Contour ordering then produces four two-point functions: time ordered, anti-time ordered, greater, and lesser. Exact unitary evolution closes the construction with ZCTP[J,J]=1Z_{\mathrm{CTP}}[J,J]=1. The doubled fields are bookkeeping histories, not two physical copies. This page fixes that grammar at a finite regulator, assembles the free-scalar 2×22\times2 matrix for a general Gaussian initial state, and stops before Keldysh rotations, thermal identities, kinetic equations, or open-system applications.

Required background. In–Out versus In–In Expectation Values supplies the normalized trace, branch-source signs, diagonal identity Z[J,J]=1Z[J,J]=1, and the density-operator and regulator qualifications used here.

Helpful background. Retarded, Advanced, and Spectral Correlators supplies the site convention GR=+iθ[A,B]G_R=+i\theta\langle[A,B]\rangle, its advanced counterpart, and their response interpretation.

Work in a finite-volume, UV-regulated closed system with a positive Hermitian initial density operator ρi\rho_i, normalized by Trρi=1\operatorname{Tr}\rho_i=1. The trace-class formula also applies to normal states in a chosen representation; it is not a claim that every continuum algebraic state is represented by a global density operator on vacuum Fock space. Let tft_f lie later than every insertion, and retain the site source convention

HJ(t)=H0(t)dd1xJ(t,x)ϕ(t,x).H_J(t)=H_0(t)-\int\mathrm d^{d-1}\mathbf x\, J(t,\mathbf x)\phi(t,\mathbf x).

The closed-time-path functional is

ZCTP[J+,J]=Tr ⁣[UJ+(tf,ti)ρiUJ(tf,ti)].Z_{\mathrm{CTP}}[J_+,J_-] = \operatorname{Tr}\!\left[ U_{J_+}(t_f,t_i)\rho_i U_{J_-}(t_f,t_i)^\dagger \right].

The ++ branch runs from tit_i to tft_f and the - branch returns from tft_f to tit_i. At a finite field regulator, the same construction reads schematically

ZCTP[J+,J]=ϕ+(tf)=ϕ(tf) ⁣Dϕ+Dϕρi[ϕi+,ϕi]exp ⁣{iS[ϕ+]iS[ϕ]+i ⁣ ⁣(J+ϕ+Jϕ)},\begin{aligned} Z_{\mathrm{CTP}}[J_+,J_-] = \int_{\phi_+(t_f)=\phi_-(t_f)} \!\mathcal D\phi_+\mathcal D\phi_-\, \rho_i[\phi_i^+,\phi_i^-] \exp\!\Bigg\{& iS[\phi_+]-iS[\phi_-]\\ &+i\!\int\!\left(J_+\phi_+-J_-\phi_-\right) \Bigg\}, \end{aligned}

where ρi[ϕi+,ϕi]=ϕi+ρiϕi\rho_i[\phi_i^+,\phi_i^-]=\langle\phi_i^+|\rho_i|\phi_i^-\rangle. The common final field implements the sum over a complete final basis. The initial kernel closes that sum through the one specified state. These branch signs, the density kernel, and final sewing follow directly from the operator trace; see Calzetta and Hu 2008, §§ 6.3.1–6.3.2, pp. 181–186.

The figure summarizes the construction. Inspect the traversal direction, the two exponent signs, and the distinct roles of the initial kernel and final sewing.

A solid forward plus branch leaves the initial density kernel, sews to a dashed backward minus branch at the final time, and returns to the kernel; the opposite branch phases and equal-source identity show how one normalized initial state closes the contour.

Schematic closed-time-path grammar. The ++ ket branch evolves titft_i\to t_f with +iS+iJ+ϕ++iS+i\int J_+\phi_+, the - bra branch returns with iSiJϕ-iS-i\int J_-\phi_-, the fields are sewn at tft_f, and the trace closes through ρi[ϕi+,ϕi]\rho_i[\phi_i^+,\phi_i^-]. Later contour positions are ordered to the left. For a normalized state and exact unitary closed evolution, equal sources give ZCTP[J,J]=1Z_{\mathrm{CTP}}[J,J]=1. The diagram is not to scale.

The same information has the following text form.

Contour elementDirection and orderingContribution or role
initial kerneljoins the two endpoints at tit_isupplies ρi[ϕi+,ϕi]\rho_i[\phi_i^+,\phi_i^-]
++ branchtitft_i\to t_f; ordinary time orderingcontributes +iS[ϕ+]+iJ+ϕ++iS[\phi_+]+i\int J_+\phi_+
final sewingidentifies the two histories at tft_fimplements the final-state sum, not a postselection
- branchtftit_f\to t_i; anti-time orderingcontributes iS[ϕ]iJϕ-iS[\phi_-]-i\int J_-\phi_-
equal-source limitaligns J+=J=JJ_+=J_-=J after differentiationgives Tr(UJρiUJ)=1\operatorname{Tr}(U_J\rho_iU_J^\dagger)=1 for exact unitary evolution

This contour is not intrinsically thermal. Thermality would be additional information about ρi\rho_i and, in equilibrium, further analytic or KMS structure.

Source differentiation fixes the branch signs

Section titled “Source differentiation fixes the branch signs”

Let s+=+1s_+=+1 and s=1s_-=-1. The contour-ordering operator TC\mathrm T_C places later positions along the full traversal to the left. With raw correlators—no conventional prefactor of i-i—define

Dab(x,y)=TCϕa(x)ϕb(y)ρi,a,b{+,}.D^{ab}(x,y) = \left\langle \mathrm T_C\,\phi_a(x)\phi_b(y) \right\rangle_{\rho_i}, \qquad a,b\in\{+,-\}.

The source derivatives therefore obey

Dab(x,y)=1isa1isbδ2ZCTPδJa(x)δJb(y)J+=J=0.D^{ab}(x,y) = \left. \frac{1}{i s_a}\frac{1}{i s_b} \frac{\delta^2 Z_{\mathrm{CTP}}} {\delta J_a(x)\,\delta J_b(y)} \right|_{J_+=J_-=0}.

For WCTP=ilogZCTPW_{\mathrm{CTP}}=-i\log Z_{\mathrm{CTP}}, the analogous formula gives the connected correlator:

Dcab(x,y)=1isasbδ2WCTPδJa(x)δJb(y)J+=J=0.D_c^{ab}(x,y) = \left. \frac{1}{i s_as_b} \frac{\delta^2 W_{\mathrm{CTP}}} {\delta J_a(x)\,\delta J_b(y)} \right|_{J_+=J_-=0}.

The factors sas_a are not optional notation: they encode the minus sign on the return branch. Sources must remain independent through differentiation. Setting J+=JJ_+=J_- first reduces the functional to 11 and erases every transverse branch variation.

Many references instead define Glitab=iDabG_{\mathrm{lit}}^{ab}=-iD^{ab}. The component formulas below use the site’s raw DabD^{ab} convention; importing a literature matrix without removing its common i-i changes both its normalization and its response combinations. Altland and Simons use that common alternative convention in their compact branch construction Altland and Simons 2023, §§ 12.2.1 and 12.2.4, pp. 706–707 and 716–717.

Four components follow from one contour ordering

Section titled “Four components follow from one contour ordering”

Write

D>(x,y)=ϕ(x)ϕ(y)ρi,D<(x,y)=ϕ(y)ϕ(x)ρi.D^>(x,y)=\langle\phi(x)\phi(y)\rangle_{\rho_i}, \qquad D^<(x,y)=\langle\phi(y)\phi(x)\rangle_{\rho_i}.

Every --branch point is later on the contour than every ++-branch point. Within the ++ branch, contour order is ordinary time order; within the - branch, it is anti-time order. Consequently,

D++(x,y)=θ(x0y0)D>(x,y)+θ(y0x0)D<(x,y),D(x,y)=θ(y0x0)D>(x,y)+θ(x0y0)D<(x,y),D+(x,y)=D<(x,y),D+(x,y)=D>(x,y).\begin{aligned} D^{++}(x,y) &= \theta(x^0-y^0)D^>(x,y) +\theta(y^0-x^0)D^<(x,y),\\ D^{--}(x,y) &= \theta(y^0-x^0)D^>(x,y) +\theta(x^0-y^0)D^<(x,y),\\ D^{+-}(x,y)&=D^<(x,y),\\ D^{-+}(x,y)&=D^>(x,y). \end{aligned}

Equivalently,

D(x,y)=(D++(x,y)D+(x,y)D+(x,y)D(x,y)).\mathbf D(x,y) = \begin{pmatrix} D^{++}(x,y) & D^{+-}(x,y)\\ D^{-+}(x,y) & D^{--}(x,y) \end{pmatrix}.

For a Hermitian real scalar and a Hermitian state,

(D++)=D,(D+)=D+,Dab(x,y)=Dba(y,x).\bigl(D^{++}\bigr)^*=D^{--}, \qquad \bigl(D^{+-}\bigr)^*=D^{-+}, \qquad D^{ab}(x,y)=D^{ba}(y,x).

Differentiating Z[J,J]=1Z[J,J]=1 twice along the common-source direction gives the branch sum rule

D+++D=D++D+.D^{++}+D^{--}=D^{+-}+D^{-+}.

This is the two-point form of the largest-time cancellation: an insertion on the latest real-time slice cancels when the same operator is placed on the two branches with their relative contour sign. Haehl, Loganayagam, and Rangamani derive the branch matrix, its sum rule, the trace construction, and the aligned-source cancellation in Haehl, Loganayagam, and Rangamani 2017, § 2, pp. 9–11; § 3, pp. 14 and 18.

A later review gives the trace, four-component matrix, and nn-point largest-time rule together in Haehl and Rangamani 2024, § 1.1, pp. 6–7 (Open manuscript PDF). Its component functions carry the conventional overall factor i-i, and its retarded function has the opposite sign from the site convention; the raw formulas and +iθ+i\theta response on this page include both translations.

At coincident times these expressions are distributional. Elementary two-point functions may use a consistent convention such as θ(0)=1/2\theta(0)=1/2; derivative and composite insertions can add local contact terms. The safe statement is obtained after smearing and with one consistent causal splitting on every branch.

A finite-volume free scalar with a UV cutoff is a finite collection of real canonical modes. Put

X=(q1,,qN,p1,,pN)T,[XA,XB]=iΩAB.X=(q_1,\ldots,q_N,p_1,\ldots,p_N)^{\mathsf T}, \qquad [X_A,X_B]=i\Omega_{AB}.

A general Gaussian state is determined by its mean XˉA=Tr(ρiXA)\bar X_A=\operatorname{Tr}(\rho_iX_A) and symmetrized covariance

ΣAB=12Tr ⁣[ρi{XAXˉA,XBXˉB}],Σ+i2Ω0.\Sigma_{AB} = \frac12\operatorname{Tr}\!\left[ \rho_i\{X_A-\bar X_A,X_B-\bar X_B\} \right], \qquad \Sigma+\frac{i}{2}\Omega\succeq0.

The last inequality is the quantum uncertainty condition. It allows mixed states, squeezing, mode correlations, and nonstationary states; Gaussianity alone does not imply a thermal occupation-number form.

For any free Heisenberg field linear in the initial canonical data,

ϕ(x)ϕˉ(x)=rxT(XXˉ),F(x,y)=rxTΣry,\phi(x)-\bar\phi(x)=r_x^{\mathsf T}(X-\bar X), \qquad F(x,y)=r_x^{\mathsf T}\Sigma r_y,

and the centered Wightman functions are

Dc>(x,y)=F(x,y)+i2rxTΩry,Dc<(x,y)=F(x,y)i2rxTΩry.\begin{aligned} D_c^>(x,y) &=F(x,y)+\frac{i}{2}r_x^{\mathsf T}\Omega r_y,\\ D_c^<(x,y) &=F(x,y)-\frac{i}{2}r_x^{\mathsf T}\Omega r_y. \end{aligned}

The full functions add ϕˉ(x)ϕˉ(y)\bar\phi(x)\bar\phi(y) to both. Thus the mean and covariance carry the state dependence, while the free canonical commutator fixes their difference.

For a concrete block, take one stable real-scalar normal mode with E=Ek=k2+m2>0E=E_{\mathbf k}=\sqrt{|\mathbf k|^2+m^2}>0,

H=12(p2+E2q2),[q,p]=i,τ=tti.H=\frac12\left(p^2+E^2q^2\right), \qquad [q,p]=i, \qquad \tau=t-t_i.

Write ct=cos(Eτ)c_t=\cos(E\tau) and st=sin(Eτ)s_t=\sin(E\tau). Its mean evolves as

qˉ(t)=ctqˉi+stEpˉi,\bar q(t)=c_t\bar q_i+\frac{s_t}{E}\bar p_i,

and a general one-mode Gaussian covariance is described by

σqq=(δq)2i,σpp=(δp)2i,σqp=12{δq,δp}i,σqqσppσqp214.\sigma_{qq}=\langle(\delta q)^2\rangle_i, \quad \sigma_{pp}=\langle(\delta p)^2\rangle_i, \quad \sigma_{qp}=\frac12\langle\{\delta q,\delta p\}\rangle_i, \quad \sigma_{qq}\sigma_{pp}-\sigma_{qp}^2\ge\frac14.

The symmetric kernel is

F(t,t)=σqqctct+σqpE(ctst+stct)+σppE2stst.F(t,t') = \sigma_{qq}c_tc_{t'} +\frac{\sigma_{qp}}{E} \left(c_ts_{t'}+s_tc_{t'}\right) +\frac{\sigma_{pp}}{E^2}s_ts_{t'}.

Define

K(t,t)=qˉ(t)qˉ(t)+F(t,t),Δ(t,t)=sin[E(tt)]E.K(t,t')=\bar q(t)\bar q(t')+F(t,t'), \qquad \Delta(t,t')=\frac{\sin[E(t-t')]}{E}.

Since i[q(t),q(t)]=Δ(t,t)i\langle[q(t),q(t')]\rangle=\Delta(t,t'),

D>(t,t)=K(t,t)i2Δ(t,t),D<(t,t)=K(t,t)+i2Δ(t,t).D^>(t,t')=K(t,t')-\frac{i}{2}\Delta(t,t'), \qquad D^<(t,t')=K(t,t')+\frac{i}{2}\Delta(t,t').

The required free-scalar contour matrix is therefore

D(t,t)=(Ki2sgn(tt)ΔK+i2ΔKi2ΔK+i2sgn(tt)Δ),\mathbf D(t,t') = \begin{pmatrix} K-\dfrac{i}{2}\operatorname{sgn}(t-t')\Delta & K+\dfrac{i}{2}\Delta\\[6pt] K-\dfrac{i}{2}\Delta & K+\dfrac{i}{2}\operatorname{sgn}(t-t')\Delta \end{pmatrix},

with every KK and Δ\Delta evaluated at (t,t)(t,t'). It obeys

D+++D=D++D+=2KD^{++}+D^{--}=D^{+-}+D^{-+}=2K

without assuming stationarity or thermality. Calzetta and Hu give the general mixed Gaussian density matrix, its three symmetrized variances, and their free evolution in Calzetta and Hu 2008, § 4.1.6, pp. 103–104.

For the vacuum block,

qˉi=pˉi=σqp=0,σqq=12E,σpp=E2,\bar q_i=\bar p_i=\sigma_{qp}=0, \qquad \sigma_{qq}=\frac{1}{2E}, \qquad \sigma_{pp}=\frac{E}{2},

so

D>(t,t)=eiE(tt)2E,D<(t,t)=e+iE(tt)2E.D^>(t,t')=\frac{e^{-iE(t-t')}}{2E}, \qquad D^<(t,t')=\frac{e^{+iE(t-t')}}{2E}.

This round trip checks every phase and normalization in the matrix. A multimode Gaussian state simply promotes the one-mode covariances to the full matrix Σ\Sigma; cross-mode correlations must not be discarded unless homogeneity or another stated assumption diagonalizes them.

Unitarity and response test different parts of the matrix

Section titled “Unitarity and response test different parts of the matrix”

The commutator combinations recover the site’s causal correlators:

GR(x,y)=i(D++D+)=i(D+D),GA(x,y)=i(D++D+)=i(D+D).\begin{aligned} G_R(x,y) &=i\left(D^{++}-D^{+-}\right) =i\left(D^{-+}-D^{--}\right),\\ G_A(x,y) &=i\left(D^{++}-D^{-+}\right) =i\left(D^{+-}-D^{--}\right). \end{aligned}

For the free mode this gives

GR(t,t)=θ(tt)sin[E(tt)]E,G_R(t,t') = \theta(t-t')\frac{\sin[E(t-t')]}{E},

independent of Xˉ\bar X and Σ\Sigma. That state independence is a property of a free canonical commutator, not a general claim about interacting spectral or response functions. The one-point mean and centered symmetric kernel FF together retain the Gaussian state data. A massless spatial zero mode has E=0E=0 and is a free-particle sector rather than the oscillator vacuum displayed above; it requires separate treatment.

Several checks remain logically separate:

  • Z[J,J]=1Z[J,J]=1 tests normalized exact unitary closed evolution.
  • D+++D=D++D+D^{++}+D^{--}=D^{+-}+D^{-+} tests branch ordering and the relative source signs.
  • Hermitian conjugation tests the density operator and field adjoints.
  • Retarded support tests the commutator combination, not the Feynman component alone.
  • The uncertainty inequality tests whether the proposed Gaussian covariance defines a positive quantum state.

An approximation can pass one check and fail another. In particular, a truncation can preserve the four labels while violating diagonal normalization or causal response.

  • No automatic thermal state. A closed time path accepts arbitrary normalized initial data. KMS relations, imaginary-time legs, and fluctuation–dissipation identities require equilibrium input.
  • No extra physical copy. The branch fields record ket and bra evolution. Their opposite action signs do not define a negative-norm sector.
  • No arbitrary initial state from i0i0. The density kernel is independent boundary data; a vacuum Feynman prescription does not generate its means, covariances, or higher cumulants.
  • No guarantee for reduced dynamics. After an environment is traced out, a standalone system evolution need not be unitary. Influence functionals, noise, dissipation, and trace preservation belong to the open-system treatment.
  • No universal approximation theorem. Exact return-time independence and largest-time identities can be spoiled by an inconsistent regulator, truncation, or resummation.
  • No complete ordering basis. A single forward–backward fold generates the four ordinary two-point components. More complicated out-of-time ordering can require additional folds.
  • No silent generalization of statistics. Fermions require graded contour ordering and the corresponding exchange signs; gauge systems require physical-state or gauge-fixed qualifications.

There are restricted alternative calculations. Donath and Pajer give an in–out reformulation for nondissipative closed systems under their hypotheses, including the absence of the excluded infrared divergences; dissipative systems lie outside their result Donath and Pajer 2024, introduction, pp. 2–7, and § 2, p. 9 (Open PDF). This conditional computational route does not replace the normalized initial-state trace or change the four-component ordering identities. The scope comparison was checked against literature available through 9 August 2026.

Why does the displayed 2×22\times2 Gaussian matrix satisfy the unitarity identity for arbitrary KK and Δ\Delta?

Answer

The diagonal entries add to 2K2K because their sign-function terms cancel. The off-diagonal entries also add to 2K2K because their unsmeared commutator terms cancel. No vacuum, stationarity, or thermal assumption enters.

Insert D++D^{++} and D+D^{+-} into i(D++D+)i(D^{++}-D^{+-}).

Answer

For t>tt>t', the difference is D>D<=iΔD^>-D^<=-i\Delta, so multiplication by ii gives Δ\Delta. For t<tt<t', the two entries agree and the result vanishes. Hence GR=θ(tt)sin[E(tt)]/EG_R=\theta(t-t')\sin[E(t-t')]/E.

3. Diagnose an alleged thermal consequence

Section titled “3. Diagnose an alleged thermal consequence”

A calculation has Z[J,J]=1Z[J,J]=1 and claims that the state must therefore satisfy KMS periodicity. What is missing?

Answer

Diagonal normalization follows from a normalized density operator and unitary closed evolution, regardless of whether the state is thermal. KMS periodicity requires an equilibrium state and additional analytic structure; it cannot be inferred from contour closure.

Closed-Time-Path Generating Functionals in Practice is the canonical next treatment. It develops applied initial-state functionals, Keldysh bases, response and quench calculations, KMS structure, kinetic limits, and open-system uses. The static Gaussian matrix above supplies the exact benchmark needed before those computational extensions.

  • Altland, Alexander, and Ben Simons. Condensed Matter Field Theory. 3rd ed. Cambridge University Press, 2023. DOI.

  • Calzetta, Esteban A., and Bei-Lok B. Hu. Nonequilibrium Quantum Field Theory. Cambridge Monographs on Mathematical Physics. Cambridge University Press, 2008. DOI. 2023 open-access reissue.

  • Donath, Yaniv, and Enrico Pajer. “The In-Out Formalism for In-In Correlators.” Journal of High Energy Physics 2024, no. 7 (2024): 064. DOI. Open PDF.

  • Haehl, Felix M., R. Loganayagam, and Mukund Rangamani. “Schwinger–Keldysh Formalism. Part I: BRST Symmetries and Superspace.” Journal of High Energy Physics 2017, no. 6 (2017): 069. DOI. Open PDF.

  • Haehl, Felix M., and Mukund Rangamani. “Records from the S-Matrix Marathon: Schwinger–Keldysh Formalism.” arXiv:2410.10602 (2024); published as “Schwinger–Keldysh Formalism,” in Records from the S-Matrix Marathon, Lecture Notes in Physics 1041, pp. 89–129. Springer, 2025. Book DOI. Open manuscript PDF.