Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Can a random process with a positive probability density evaluate a complex path-integral weight? Complex Langevin dynamics tries to do this by allowing the fields to move away from their original real domain. A Gaussian integral provides an exact success. A periodic complex integral provides an equally explicit warning: a normalized stationary density gives a finite, incorrect expectation value because an integration-by-parts boundary term survives.

    Preparation: Langevin and Fokker–Planck descriptions and complex differentiation. The examples below are dimensionless finite integrals. Langevin time is an auxiliary sampling parameter, not physical real time or Euclidean thermal time.

    Complexify the variable, not the probability

    Start with an integral whose weight is complex:

    ⟨O⟩=1Z∫C0dx e−S(x)O(x),Z=∫C0dx e−S(x)≠0.\langle O\rangle=\frac1Z\int_{\mathcal C_0}dx\,e^{-S(x)}O(x), \qquad Z=\int_{\mathcal C_0}dx\,e^{-S(x)}\ne0.

    Here C0\mathcal C_0 is a real line or a periodic real interval, with boundary conditions specified below. Write z=x+iyz=x+iy and analytically continue the action and observable. With real additive noise, the Itô process is

    dz=−S′(z) dt+dW,E[dW]=0,E[(dW)2]=2dt.dz=-S'(z)\,dt+dW, \qquad \mathbb E[dW]=0,\qquad \mathbb E[(dW)^2]=2dt.

    Our WW has twice the variance of a standard Brownian motion; this fixes all diffusion coefficients. Equivalently,

    dx=Kxdt+dW,dy=Kydt,Kx=−Re⁡S′(z),Ky=−Im⁡S′(z).dx=K_xdt+dW,\qquad dy=K_ydt, \qquad K_x=-\operatorname{Re}S'(z),\quad K_y=-\operatorname{Im}S'(z).

    The noise is real, but coupling through the drift can spread the probability over both coordinates. Its density P(x,y;t)P(x,y;t) is real and nonnegative. It is not e−S(x+iy)e^{-S(x+iy)}, nor the absolute value of that complex weight.

    Taylor expansion with (dW)2=2dt(dW)^2=2dt gives the backward generator on a holomorphic observable:

    ddtE[O(z)]=E[LcO(z)],Lc=(∂z−S′(z))∂z.\frac{d}{dt}\mathbb E[O(z)]=\mathbb E[L_cO(z)], \qquad L_c=(\partial_z-S'(z))\partial_z.

    For a general function of x,yx,y, the generator is ∂x2+Kx∂x+Ky∂y\partial_x^2+K_x\partial_x+K_y\partial_y. Integration by parts gives the real Fokker–Planck equation

    ∂tP=LTP,LTP=∂x2P−∂x(KxP)−∂y(KyP).\partial_tP=L^TP, \qquad L^TP=\partial_x^2P-\partial_x(K_xP)-\partial_y(K_yP).

    There is also a complex density ρ(x;t)\rho(x;t) evolving on the original real contour:

    ∂tρ=∂x(∂x+S′(x))ρ.\partial_t\rho=\partial_x(\partial_x+S'(x))\rho.

    Its formal stationary solution is proportional to e−Se^{-S}. Showing that the positive process and this complex evolution give the same holomorphic observables is the difficult step.

    An exact Gaussian success

    Take C0=R\mathcal C_0=\mathbb R and

    S(z)=12σz2,σ=α+iγ,α>0.S(z)=\frac12\sigma z^2,\qquad \sigma=\alpha+i\gamma, \qquad \alpha>0.

    Direct Gaussian integration gives Z=2π/σZ=\sqrt{2\pi/\sigma}, with the branch continued from positive real σ\sigma, and

    ⟨z2⟩=1σ,⟨z4⟩=3σ2.\langle z^2\rangle=\frac1\sigma, \qquad \langle z^4\rangle=\frac3{\sigma^2}.

    The Langevin process is a two-dimensional Ornstein–Uhlenbeck process. For X=(x,y)TX=(x,y)^T,

    dX=−MX dt+(dW0),M=(α−γγα).dX=-MX\,dt+\begin{pmatrix}dW\\0\end{pmatrix}, \qquad M=\begin{pmatrix}\alpha&-\gamma\\ \gamma&\alpha\end{pmatrix}.

    Both eigenvalues of MM have positive real part. The stationary covariance C=E[XXT]C=\mathbb E[XX^T] solves the Lyapunov equation

    MC+CMT=2(1000).MC+CM^T=2\begin{pmatrix}1&0\\0&0\end{pmatrix}.

    Solving its three independent entries yields

    C=12α(α2+γ2)(2α2+γ2−αγ−αγγ2).C=\frac1{2\alpha(\alpha^2+\gamma^2)} \begin{pmatrix}2\alpha^2+\gamma^2&-\alpha\gamma\\-\alpha\gamma&\gamma^2\end{pmatrix}.

    For γ≠0\gamma\ne0, this is positive definite and defines a normalized two-dimensional Gaussian. For γ=0\gamma=0, the stationary law is instead supported at y=0y=0. The physical moments use the holomorphic combination:

    E[z2]=Cxx−Cyy+2iCxy=α−iγα2+γ2=1σ.\mathbb E[z^2]=C_{xx}-C_{yy}+2iC_{xy} =\frac{\alpha-i\gamma}{\alpha^2+\gamma^2}=\frac1\sigma.

    Gaussian contraction then gives the fourth moment above. Using E[∣z∣2]\mathbb E[|z|^2] would answer a different question. This solvable construction is developed in Aarts, Appendix D, Eqs. (D.1)–(D.11) (PDF).

    For the declared choice σ=1+0.8i\sigma=1+0.8i, the companion obtains

    E[z2]=0.60975610−0.48780488i,E[z4]=0.40154670−1.78465199i.\begin{aligned} \mathbb E[z^2]&=0.60975610-0.48780488i,\\ \mathbb E[z^4]&=0.40154670-1.78465199i. \end{aligned}

    Real-axis complex quadrature, a numerical Lyapunov solve and Gaussian quadrature over the resulting positive density agree with these values. From a zero initial field, the entire covariance evolution is

    C(t)=C−e−MtCe−MTt,E[z2(t)]=1−e−2σtσ.C(t)=C-e^{-Mt}Ce^{-M^Tt}, \qquad \mathbb E[z^2(t)]=\frac{1-e^{-2\sigma t}}{\sigma}.

    An independent integration of the covariance differential equation agrees within 10−1210^{-12} at the retained times. These are deterministic calculations of a stochastic process, not newly sampled trajectories.

    A stable time step can still be biased

    The Euler update with independent standard normal ηn\eta_n is

    zn+1=(1−σΔt)zn+2Δt ηn.z_{n+1}=(1-\sigma\Delta t)z_n+\sqrt{2\Delta t}\,\eta_n.

    It has a stationary covariance only when ∣1−σΔt∣<1|1-\sigma\Delta t|<1, or 0<Δt<2α/∣σ∣20<\Delta t<2\alpha/|\sigma|^2. Squaring and averaging gives its exact stationary holomorphic moment:

    mΔt=(1−σΔt)2mΔt+2Δt,mΔt=1σ−σ2Δt/2.m_{\Delta t}=(1-\sigma\Delta t)^2m_{\Delta t}+2\Delta t, \qquad m_{\Delta t}=\frac1{\sigma-\sigma^2\Delta t/2}.

    The errors relative to 1/σ1/\sigma are 0.0525850.052585, 0.0256360.025636 and 0.0126580.012658 at Δt=0.1,0.05,0.025\Delta t=0.1,0.05,0.025. A discrete Lyapunov calculation reproduces this formula. Step-size convergence and correctness of the limiting process are separate questions.

    Where the formal equivalence can fail

    Let O(z;τ)=eτLcO(z)O(z;\tau)=e^{\tau L_c}O(z) and choose initially matching densities P(x,y;0)=ρ0(x)δ(y)P(x,y;0)=\rho_0(x)\delta(y) with real normalized ρ0\rho_0. Consider

    FO(t,τ)=∫dx dy P(x,y;t−τ)O(x+iy;τ),0≤τ≤t.F_O(t,\tau)=\int dx\,dy\,P(x,y;t-\tau)O(x+iy;\tau), \qquad 0\le\tau\le t.

    At τ=0\tau=0 this is the Langevin expectation. At τ=t\tau=t, transferring the original-contour generator onto ρ0\rho_0 gives the complex-density expectation, provided those integrations are valid. Equality follows if FOF_O is independent of τ\tau and the complex evolution converges to the desired normalized weight.

    Perform the calculation first in a strip ∣y∣≤Y|y|\le Y. The bulk terms cancel using holomorphy. If the xx boundaries vanish or are periodic, the remaining term is

    ∂τFO∣∣y∣≤Y=BO(Y;t,τ),BO(Y;t,τ)=∫dx [KyPO]y=−Yy=Y,\begin{aligned} \partial_\tau F_O\big|_{|y|\le Y}&=B_O(Y;t,\tau),\\ B_O(Y;t,\tau)&=\int dx\,[K_yPO]_{y=-Y}^{y=Y}, \end{aligned}

    where PP is evaluated at t−τt-\tau and OO at τ\tau. Correctness needs control of this product, including the evolved observable, as the cutoffs are removed. A small density by itself is insufficient. One also needs the relevant evolutions and integrals to exist, initial matching, appropriate convergence and no uncancelled internal boundaries. These conditions underlie the argument in Scherzer et al., §§I and III, Eqs. (7)–(12), (22)–(27) (PDF).

    For example, the Gaussian stationary density has a vanishing boundary for O=z2O=z^2. Conditioned on yy, its xx mean is −αy/γ-\alpha y/\gamma and its variance is 1/(2α)1/(2\alpha). Substituting these Gaussian moments into E[(−αy−γx)(x+iy)2∣y]\mathbb E[(-\alpha y-\gamma x)(x+iy)^2\mid y] gives y(1−iγ/α)y(1-i\gamma/\alpha). The two edges therefore give

    Bz2(Y)=2Y(1−iγ/α)py(Y),py(Y)=e−Y2/(2Cyy)2πCyy.B_{z^2}(Y)=2Y(1-i\gamma/\alpha)p_y(Y), \qquad p_y(Y)=\frac{e^{-Y^2/(2C_{yy})}}{\sqrt{2\pi C_{yy}}}.

    The exponential beats the polynomial growth. A direct boundary quadrature checks this formula. Passing this one diagnostic supports this observable; in a general theory it would not prove equivalence for every observable.

    A finite observable with a nonzero boundary

    Now take periodic x∈[−π,π)x\in[-\pi,\pi) and

    S(z)=ibcos⁡z,b=1.S(z)=ib\cos z,\qquad b=1.

    The dimensionless coupling bb is not inverse temperature. Direct integration on the original circle gives

    Z=2πJ0(b),⟨eix⟩C0=−iJ1(b)J0(b)=−0.5750809150i.Z=2\pi J_0(b), \qquad \langle e^{ix}\rangle_{\mathcal C_0} =-i\frac{J_1(b)}{J_0(b)}=-0.5750809150i.

    The Langevin drifts and a normalized stationary density are

    Kx=−bcos⁡xsinh⁡y,Ky=bsin⁡xcosh⁡y,P∗(x,y)=14πcosh⁡2y.K_x=-b\cos x\sinh y,\qquad K_y=b\sin x\cosh y, \qquad P_*(x,y)=\frac1{4\pi\cosh^2y}.

    Indeed ∂x2P∗=0\partial_x^2P_*=0, while −∂x(KxP∗)-\partial_x(K_xP_*) and −∂y(KyP∗)-\partial_y(K_yP_*) cancel. The uniform xx dependence makes its first-mode expectation zero. Crucially, that expectation exists absolutely:

    ∫dx dy P∗∣eiz∣=12∫−∞∞e−ycosh⁡2y dy=π2.\int dx\,dy\,P_*|e^{iz}| =\frac12\int_{-\infty}^{\infty}\frac{e^{-y}}{\cosh^2y}\,dy =\frac\pi2.

    The substitution u=eyu=e^y turns the final integral into ∫0∞2(1+u2)−2du\int_0^\infty2(1+u^2)^{-2}du. Thus the discrepancy cannot be dismissed as an undefined first moment. The stationary solution and its observed wrong long-time convergence are studied by Scherzer et al., §II, Eqs. (13)–(18) (PDF). Here we verify the stationary density and its averages directly; we do not reproduce their long stochastic simulations.

    At the upper and lower edges of the strip, KyP∗=bsin⁡x/(4πcosh⁡Y)K_yP_*=b\sin x/(4\pi\cosh Y). Therefore, for O=eizO=e^{iz},

    B1(Y)=b(e−Y−eY)4πcosh⁡Y∫−ππsin⁡x eixdx=−ib2tanh⁡Y⟶−ib2.\begin{aligned} B_1(Y)&=\frac{b(e^{-Y}-e^Y)}{4\pi\cosh Y} \int_{-\pi}^{\pi}\sin x\,e^{ix}dx\\ &=-\frac{ib}{2}\tanh Y\longrightarrow-\frac{ib}{2}. \end{aligned}

    We used ∫sin⁡x eixdx=iπ\int\sin x\,e^{ix}dx=i\pi, fixing the sign explicitly. The increasing drift supplies the factor that defeats the decay of P∗OP_*O. The surviving boundary is the failure mechanism, even though P∗P_* is normalizable and the first observable is integrable.

    Strip half-width YY−Im⁡B1-\operatorname{Im}B_1Gaussian Re⁡Bz2\operatorname{Re}B_{z^2}
    110.3807970.3807970.1392860.139286
    220.4820140.4820141.27732×10−41.27732\times10^{-4}
    330.4975270.4975275.22386×10−105.22386\times10^{-10}
    440.4996650.4996651.12921×10−171.12921\times10^{-17}

    The last Gaussian number comes from the analytic density formula; ordinary absolute-tolerance quadrature does not resolve its tiny relative error. The cosine boundary is independently checked by angle quadrature and by integrating LceizL_ce^{iz} over each finite strip. Circle rules with 64, 128 and 256 nodes reproduce the Bessel expectation to floating-point precision.

    Exact Gaussian second-moment evolution approaches its correct complex limit. A logarithmic boundary plot shows the Gaussian diagnostic vanishing while the cosine first-mode boundary approaches one half in magnitude.

    Top: exact evolution from a zero initial field for σ=1+0.8i\sigma=1+0.8i, with its stationary limits. Bottom: stationary strip-boundary magnitudes for Gaussian O=z2O=z^2 and cosine O=eizO=e^{iz} at b=1b=1. The observables differ, so the comparison concerns vanishing versus persistence, not a shared error scale. All curves are deterministic; no sampled convergence history is shown.

    There is another warning in the same example. Since P∗∼e−2∣y∣P_*\sim e^{-2|y|}, the modes eikze^{ikz} with ∣k∣≥2|k|\ge2 are not absolutely integrable. In particular,

    Lceiz=−eiz+ib2(e2iz−1).L_ce^{iz}=-e^{iz}+\frac{ib}{2}(e^{2iz}-1).

    Its symmetric-strip integral tends to −ib/2-ib/2, but an unrestricted expectation is not justified by absolute convergence. Integrating over xx first and calling every higher mode zero silently chooses a prescription. Such manipulations cannot repair the failed equivalence or establish correctness from a few formal Schwinger–Dyson identities.

    Determinant zeros and the role of gauge cooling

    After fermions are integrated out, an effective action often contains −log⁡det⁡D-\log\det D. Locally its drift is

    Kj=−∂jSb+Tr⁡(D−1∂jD).K_j=-\partial_jS_b+\operatorname{Tr}(D^{-1}\partial_jD).

    Zeros of the determinant can generate poles of the drift, even when the original determinant-weighted integrand has no pole. Removing small neighborhoods of those zeros introduces additional boundaries into the formal proof. Their probability flux and observable-weighted contributions must be controlled as well as the tails at infinity. Reducing an integration step near a large drift addresses numerical stability; it does not by itself prove these boundaries harmless. See Aarts, §8.3, Eqs. (8.29)–(8.30) (PDF).

    For gauge fields, complexification takes SU(N)SU(N) links into SL(N,C)SL(N,\mathbb C). Gauge cooling applies complex gauge transformations chosen to reduce a measure of nonunitarity. Each such transformation preserves gauge-invariant holomorphic observables, and it can help control exploration along gauge orbits. It does not force every complex orbit to contain a unitary configuration, and gauge-invariant determinant zeros are not removed by changing gauge. Its usefulness does not replace the correctness conditions for the cooled process. Aarts, §9.1, Eqs. (9.10)–(9.18) (PDF) gives an explicit one-link orbit example.

    The finite integrals above have neither a fermion determinant nor gauge freedom. They isolate discretization and boundary effects.

    Summary

    Complex Langevin replaces a complex weight on the original contour by a positive distribution in a larger space. The Gaussian process reproduces the holomorphic moments, with controllable time-step bias. The periodic cosine model shows why a stationary distribution and a finite observable are insufficient: the drift-weighted boundary survives. Tails, singular drifts, evolution and limiting operations remain part of the method's justification.

    The deterministic checks and selected outputs are complex_langevin.py and cl-results.json under examples/lattice-hamiltonian/sign-problem/. They include continuous and discrete covariance equations, independent integral representations and finite-strip boundary tests.

    Exercises

    1. Can the time step correct the wrong variance?

    For the Gaussian Euler update, derive the condition for a stationary covariance and the leading error in ⟨z2⟩\langle z^2\rangle. Then propose an exact discrete-time update for the real vector XX, and explain why independent kicks in both coordinates with equal variance would be a different process.

    Solution

    The drift multiplier has eigenvalues 1−(α±iγ)Δt1-(\alpha\pm i\gamma)\Delta t. Their moduli are below one precisely when 0<Δt<2α/(α2+γ2)0<\Delta t<2\alpha/(\alpha^2+\gamma^2). The stationary scalar recurrence gives

    mΔt=1σ11−σΔt/2=1σ+Δt2+O(Δt2).m_{\Delta t}=\frac1\sigma\frac1{1-\sigma\Delta t/2} =\frac1\sigma+\frac{\Delta t}{2}+O(\Delta t^2).

    Thus even the leading complex-moment bias is fixed by the update, not by a longer run. An exact transition over Δt\Delta t is

    Xn+1=e−MΔtXn+ξn,E[ξnξnT]=C−e−MΔtCe−MTΔt,X_{n+1}=e^{-M\Delta t}X_n+\xi_n, \qquad \mathbb E[\xi_n\xi_n^T]=C-e^{-M\Delta t}Ce^{-M^T\Delta t},

    with independent centered Gaussian vectors ξn\xi_n. The covariance equals the integrated transported noise covariance and is positive semidefinite. It preserves CC exactly. Its correlated two-coordinate kick encodes real noise propagated through the coupled drift. Adding equal independent real and imaginary noise instead changes the holomorphic quadratic variation: (dx+i dy)2(dx+i\,dy)^2 contains the difference of their variances. It therefore changes the diffusion term in LcL_c unless the noise strengths are adjusted to preserve that difference.

    2. Which moments of the cosine stationary law exist?

    For integer kk, decide when eikze^{ikz} is absolutely integrable against P∗P_*. Evaluate its absolute moment for k=±1k=\pm1, and explain why the existence of these moments does not license setting ⟨Lceiz⟩=0\langle L_ce^{iz}\rangle=0.

    Solution

    The modulus is e−kye^{-ky}. At the dangerous end of the yy axis, the integrand behaves as e(∣k∣−2)∣y∣e^{(|k|-2)|y|}, so convergence requires ∣k∣<2|k|<2. For integer modes, this leaves k=0,±1k=0,\pm1. Reflection of yy makes the two first absolute moments equal, and u=eyu=e^y gives

    12∫−∞∞e−ysech⁡2y dy=2∫0∞du(1+u2)2=π2.\frac12\int_{-\infty}^{\infty}e^{-y}\operatorname{sech}^2y\,dy =2\int_0^\infty\frac{du}{(1+u^2)^2}=\frac\pi2.

    At ∣k∣=2|k|=2 the tail approaches a nonzero constant and the absolute integral diverges. The generator of the first mode contains that second mode. Integrating the stationary FP equation by parts against eize^{iz} therefore needs the explicit boundary term; it gives −ibtanh⁡Y/2-ib\tanh Y/2 on a finite strip. Neither normalizability nor the finite first absolute moment permits discarding its nonzero limit.

    References

    • Aarts, Gert. “Introductory lectures on lattice QCD at nonzero baryon number,” Journal of Physics: Conference Series 706, 022004 (2016), arXiv:1512.05145v1 (PDF), Appendix D, Eqs. (D.1)–(D.11); §8.3, Eqs. (8.28)–(8.30); §9.1, Eqs. (9.10)–(9.18). Gaussian dynamics, singular drift and gauge-orbit cooling.
    • Scherzer, Manuel, Erhard Seiler, Dénes Sexty and Ion-Olimpiu Stamatescu. “Complex Langevin and boundary terms,” Physical Review D 99, 014512 (2019), arXiv:1808.05187v4 (PDF), §§I–III.B, especially Eqs. (12)–(17), (23), (27)–(31). The first-mode boundary sign is derived explicitly above with S=ibcos⁡zS=ib\cos z and real noise of variance 2dt2dt.

    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.