---
title: Real-Time Schwinger-Keldysh Formulation
url: https://www.emergentmind.com/topics/real-time-schwinger-keldysh-formulation
type: topic
---

# Real-Time Schwinger-Keldysh Formulation

The real-time Schwinger-Keldysh (SK) formulation is the foundational path-integral framework for first-principles computation of non-equilibrium correlation functions and real-time quantum evolution in many-body systems. By extending the path-integral onto a complex time-contour with both real and imaginary time segments, it provides a direct representation of in-in observables relevant for quantum dynamics, statistical mechanics, open systems, and condensed matter theory. The real-time SK approach is indispensable wherever analytic continuation from Euclidean time is ill-posed or fails to capture inherently dynamical or non-equilibrium phenomena. This article surveys the formal underpinnings, path-integral structure, algorithmics, physical observables, sign problem mitigation, and concrete implementations of the SK formalism in both quantum mechanics and quantum field theory.

## 1. Structure of the Real-Time Schwinger-Keldysh Contour

The SK time contour $C$ incorporates both unitary real-time dynamics and initial-state thermalization (or general initial conditions). For a system with coordinate $\phi(t)$, the standard contour consists of:
- $C_1$: forward real-time branch from $t=0$ to $t_{\rm max}$,
- $C_2$: backward branch returning from $t_{\rm max}$ to $t=0$,
- $C_3$: imaginary-time (Euclidean) segment from $t=0$ to $t=-i\beta$ (thermalization).

The generating functional is
\[
Z = \int \mathcal{D}\phi \; e^{i S_C[\phi]}
\]
with the SK action
\[
S_C[\phi] =
\int_{C_1 \cup C_2} dt\left[\frac{1}{2}\dot\phi^2(t) - \frac{1}{2}m^2\phi^2(t) - \frac{\lambda}{4}\phi^4(t)\right]
+ \int_{C_3} d\tau\left[\frac{1}{2}(\partial_\tau\phi)^2(\tau) + \frac{1}{2}m^2\phi^2(\tau) + \frac{\lambda}{4}\phi^4(\tau)\right]
\]
for the $0+1$ dimensional anharmonic oscillator, with generalization to many-body and field-theoretic systems immediate [2211.10728, 1011.5639].

Discretization of the SK contour involves separate grids on each branch, with $N_R$ real-time points of $\Delta t$ and $N_I$ imaginary-time points of $\Delta\tau$, such that observables can be evaluated at arbitrary points along the real-time or Euclidean segments.

## 2. Path Integral Representation and Doubling of Fields

The SK formalism doubles the field content, associating two copies $\phi^+$ and $\phi^-$ corresponding to the forward and backward branches. The path-integral is then defined over both, with the contour action
\[
S_{\rm SK}[\phi^+, \phi^-] = S[\phi^+] - S[\phi^-]
\]
and operator insertions prescribed by contour ordering ($T_{\rm c}$). This structure encodes real-time evolution and statistical mixing, providing access to "in-in" correlation functions of the form $\langle T_C O_1(t_1)\cdots O_n(t_n)\rangle$ [2410.10602, 1011.5639].

Introducing the Keldysh ("classical"/"quantum") basis via the rotation $\phi_r \equiv (\phi^+ + \phi^-)/2, \phi_a \equiv \phi^+ - \phi^-$ leads to a retarded/advanced/Keldysh (RAK) decomposition of Green's functions:
\[
\begin{array}{lll}
G^R(x,y) = -i \theta(t_x-t_y) \langle [\phi(x), \phi(y)] \rangle, \\
G^A(x,y) = +i \theta(t_y-t_x) \langle [\phi(x), \phi(y)] \rangle, \\
G^K(x,y) = -i \langle \{ \phi(x), \phi(y) \} \rangle,
\end{array}
\]
reflecting causal structure and fluctuation statistics [2410.10602].

## 3. Stochastic Quantization and Complex Langevin Algorithms

Direct numerical evaluation of the SK path integral faces an NP-hard signed weight problem due to highly oscillatory phases. Real-time stochastic quantization proceeds by introducing a fictitious Langevin time $\tau_L$ and complexifying the fields, resulting in complex-valued stochastic differential equations (CL dynamics):
\[
\frac{d\phi}{d\tau_L} = i \frac{\delta S_C[\phi]}{\delta \phi} + \eta(t;\tau_L), \quad \langle \eta(t;\tau) \eta(t';\tau') \rangle = 2\delta(t-t')\delta(\tau-\tau').
\]
Improved convergence is achieved by introducing a kernel $K[\phi]$ into the drift and noise:
\[
d\phi = \left[ iK[\phi]\frac{\delta S_C}{\delta \phi} + \frac{\delta K}{\delta \phi} \right]d\tau_L + H[\phi]dW
\]
with $K = H^\dagger H$ for proper Fokker-Planck structure [2211.10728, 2212.07985]. Systematic kernel construction—incorporating symmetry, Euclidean correlation constraints, and boundary-term minimization—is essential for restoring correct stationary limits and suppressing runaway trajectories, extending the accessible real-time window (e.g., up to $mt_{\rm max}=1.5$ for the interacting anharmonic oscillator with learned optimal $K$).

## 4. Sign-Problem Mitigation: Manifold Deformation and Monte Carlo

Monte Carlo integration on the SK contour is fundamentally challenged by the sign problem. The holomorphic gradient flow method deforms the real integration domain into a complex manifold where phase oscillations are milder:
\[
\frac{dz_i}{d\tau} = \overline{\frac{\partial S}{\partial z_i}}, \quad z(0) = x \in \mathbb{R}^N
\]
The flowed manifold $\mathcal{M}$ preserves the integral by Cauchy's theorem. Observables and path weights are reweighted by the flow-induced Jacobian. The contraction algorithm and its refinements allow sampling to be carried out efficiently (with costs as low as $\mathcal{O}(N)$ per update for certain updates, avoiding explicit Jacobians), permitting precise calculation of time-dependent observables far into the real-time regime inaccessible to CL [1605.08040, 1704.06404].

Residual sign problems persist and scale with time and system size, but machine-learned or variational ansätze for the integration manifold are promising directions.

## 5. Physical Observables, Extended Diagrammatics, and Applications

The SK framework gives direct access to arbitrary time orderings, out-of-time-ordered correlators, and non-equilibrium response, with all early- and late-time boundary data encoded in initial-state density matrices or Euclidean branches. Connected real-time n-point functions, retarded/advanced propagators, and Schwinger–Keldysh effective actions can be directly computed. Specific applications include:
- Real-time Ginzburg-Landau theory for the Bose-Hubbard model, providing access to dynamics across quantum phase boundaries and non-equilibrium protocols [1011.5639, 1106.1673].
- Inclusion of instantonic phenomena by explicit averaging over imaginary-time zero modes and restoring broken invariances, yielding consistent diagrammatic expansions for systems with tunneling [2211.05746].
- Krylov complexity and operator dynamics, reformulated as in-in path integrals on the SK contour with emergent phase-space representations of operator growth [2602.02106].

## 6. Holographic Realizations and Open Quantum Systems

The SK formalism is central in real-time AdS/CFT, with the gravitational dual realized via multi-sheeted black hole geometries (“grSK saddles”), satisfying unitarity and KMS conditions through gluing at horizons. Real-time correlators, including higher-order ($n$-fold) OTOCs and out-of-equilibrium response, are computed as Witten diagrams on these backgrounds, with the mapping between bulk boundary conditions and SK contour operations transparent [2410.10602, 2004.02888, 2510.03404, 2211.09140].

In open quantum systems, the SK description naturally implements doubling of bulk fields for system and environment, allowing the extraction of stochastic effective actions for the system via holographically computed SK influence functionals.

## 7. Algorithmic and Numerical Implementation

The implementation of real-time SK methodologies requires precise contour discretization (with independent grids for each branch), controlled time stepping, and careful noise and boundary handling. State-of-the-art algorithms calibrate:
- Real and imaginary time step sizes,
- Number of independent trajectories,
- Equilibration and error estimation protocols.

For the $0+1$D quantum anharmonic oscillator, optimal kernel CL allows simulation to times exceeding those accessible by naive or manually constructed flows, with quantitative benchmark comparisons to exact diagonalization demonstrating relative errors below $5\%$ up to the severe sign-problem regime [2211.10728, 2212.07985].

The structure of the SK path integral, its composite loss functions for kernel optimization ($L_{\rm prior} = w_{\rm sym}L_{\rm sym} + w_{\rm Eucl}L_{\rm Eucl} + w_{\rm BT}L_{\rm BT}$), and numerical schemes (e.g., generalized Euler–Maruyama integrators) are key to high-precision, large-time calculations.

---

The real-time Schwinger-Keldysh path-integral formalism provides the universal framework for non-equilibrium quantum statistical mechanics, enabling rigorous computation of dynamical observables, stochastic simulations, and advances in both lattice quantum field theory and holographic dualities. Anticipated directions include the systematic construction of field-dependent kernels, adjoint-differentiation techniques, neural-manifold Monte Carlo, and further extensions to higher-dimensional and gauge-theoretic systems [2211.10728, 2212.07985, 1704.06404].

Source: https://www.emergentmind.com/topics/real-time-schwinger-keldysh-formulation