- Home
- Library
- Lattice and Hamiltonian Field Theory
- Finite Density and the Sign Problem
- Complex Langevin Dynamics
Complex Langevin Dynamics
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:
Here is a real line or a periodic real interval, with boundary conditions specified below. Write and analytically continue the action and observable. With real additive noise, the Itô process is
Our has twice the variance of a standard Brownian motion; this fixes all diffusion coefficients. Equivalently,
The noise is real, but coupling through the drift can spread the probability over both coordinates. Its density is real and nonnegative. It is not , nor the absolute value of that complex weight.
Taylor expansion with gives the backward generator on a holomorphic observable:
For a general function of , the generator is . Integration by parts gives the real Fokker–Planck equation
There is also a complex density evolving on the original real contour:
Its formal stationary solution is proportional to . Showing that the positive process and this complex evolution give the same holomorphic observables is the difficult step.
An exact Gaussian success
Take and
Direct Gaussian integration gives , with the branch continued from positive real , and
The Langevin process is a two-dimensional Ornstein–Uhlenbeck process. For ,
Both eigenvalues of have positive real part. The stationary covariance solves the Lyapunov equation
Solving its three independent entries yields
For , this is positive definite and defines a normalized two-dimensional Gaussian. For , the stationary law is instead supported at . The physical moments use the holomorphic combination:
Gaussian contraction then gives the fourth moment above. Using would answer a different question. This solvable construction is developed in Aarts, Appendix D, Eqs. (D.1)–(D.11) (PDF).
For the declared choice , the companion obtains
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
An independent integration of the covariance differential equation agrees within 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 is
It has a stationary covariance only when , or . Squaring and averaging gives its exact stationary holomorphic moment:
The errors relative to are , and at . 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 and choose initially matching densities with real normalized . Consider
At this is the Langevin expectation. At , transferring the original-contour generator onto gives the complex-density expectation, provided those integrations are valid. Equality follows if is independent of and the complex evolution converges to the desired normalized weight.
Perform the calculation first in a strip . The bulk terms cancel using holomorphy. If the boundaries vanish or are periodic, the remaining term is
where is evaluated at and at . 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 . Conditioned on , its mean is and its variance is . Substituting these Gaussian moments into gives . The two edges therefore give
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 and
The dimensionless coupling is not inverse temperature. Direct integration on the original circle gives
The Langevin drifts and a normalized stationary density are
Indeed , while and cancel. The uniform dependence makes its first-mode expectation zero. Crucially, that expectation exists absolutely:
The substitution turns the final integral into . 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, . Therefore, for ,
We used , fixing the sign explicitly. The increasing drift supplies the factor that defeats the decay of . The surviving boundary is the failure mechanism, even though is normalizable and the first observable is integrable.
| Strip half-width | Gaussian | |
|---|---|---|
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 over each finite strip. Circle rules with 64, 128 and 256 nodes reproduce the Bessel expectation to floating-point precision.
Top: exact evolution from a zero initial field for , with its stationary limits. Bottom: stationary strip-boundary magnitudes for Gaussian and cosine at . 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 , the modes with are not absolutely integrable. In particular,
Its symmetric-strip integral tends to , but an unrestricted expectation is not justified by absolute convergence. Integrating over 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 . Locally its drift is
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 links into . 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 . Then propose an exact discrete-time update for the real vector , and explain why independent kicks in both coordinates with equal variance would be a different process.
Solution
The drift multiplier has eigenvalues . Their moduli are below one precisely when . The stationary scalar recurrence gives
Thus even the leading complex-moment bias is fixed by the update, not by a longer run. An exact transition over is
with independent centered Gaussian vectors . The covariance equals the integrated transported noise covariance and is positive semidefinite. It preserves 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: contains the difference of their variances. It therefore changes the diffusion term in unless the noise strengths are adjusted to preserve that difference.
2. Which moments of the cosine stationary law exist?
For integer , decide when is absolutely integrable against . Evaluate its absolute moment for , and explain why the existence of these moments does not license setting .
Solution
The modulus is . At the dangerous end of the axis, the integrand behaves as , so convergence requires . For integer modes, this leaves . Reflection of makes the two first absolute moments equal, and gives
At 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 therefore needs the explicit boundary term; it gives 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 and real noise of variance .
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.