- Home
- Library
- Computational Quantum Field Theory
- Variational Monte Carlo and Neural Quantum States
- Variational Real-Time Evolution
Variational Real-Time Evolution
After a sudden change of Hamiltonian, a simple quantum state develops amplitudes and phases that a small variational family may not represent. Real-time variational evolution follows the part of the Schrödinger velocity available within that family. It therefore needs three separate checks: how much velocity is discarded, how accurately the resulting differential equation is integrated, and how accurately any sampled matrix and force are estimated.
We derive this projection and apply it to a six-spin quench. The calculation includes a locally complete symmetry sector as a control, smaller neural-feature manifolds, and actual sampling of the variational force. Small energy drift will prove insufficient to establish accurate dynamics.
Preparation: Neural wavefunctions, the quantum geometric tensor and complex inner products.
A quench with a known reference
Use Pauli matrices, with eigenvalues , on a periodic chain of six sites:
Each of the six bonds occurs once. Time is measured in inverse units of the Ising coupling, and . The initial state is
It is the ground state of the initial noninteracting Hamiltonian . At we replace that Hamiltonian by (1), so the post-quench energy is . We enumerate all 64 configurations in this teaching calculation; exact diagonalization supplies the reference . It is not used to alter the variational equation or tune its parameters.
Translation and the global flip commute with . Their action partitions the configurations into eight orbits. A wavefunction invariant under both transformations consequently has eight complex amplitudes, or seven projective coordinates after removing its overall scale and phase.
Generate 16 fixed real hidden features, average each over translations and global flip, and subtract its uniform mean:
Here is the uniform configuration average. A singular-value decomposition gives seven independent columns in the retained draw. Rescale them to real features satisfying and . This fixed coordinate choice also specifies what a later numerical metric cutoff means.
For , define
Only the complex output coefficients evolve; the hidden weights and the features remain fixed. Thus this is a neural-feature variational manifold, not a simulation in which an entire network is retrained at every time. The unnormalized amplitude is holomorphic in ; normalization also depends on . The initial state is represented exactly by .
The family is locally complete in this eight-orbit sector wherever every orbit amplitude is nonzero. Finite exponential coordinates cannot represent a node. We therefore monitor small probabilities and metric ranks rather than treating completeness as a global statement valid through arbitrary zeros.
Project the Schrödinger velocity
Let , and remove the physically irrelevant component parallel to . The projective Schrödinger velocity is
For the real features in (4), the horizontal tangent columns are
Minimizing over complex velocities gives the normal equations
The sign follows from . This is the real-time time-dependent variational principle, in contrast to the imaginary-time descent obtained by replacing with . See Carleo–Troyer, Appendix B, Eqs. (9)–(11) and Vicentini et al., §4.3, Eq. (37).
For nonzero amplitudes, divide by and use the Born probabilities :
For general complex log derivatives the first factor is conjugated. Equation (7) is convenient for sampling, but the direct tangent formula (6) states the geometry without dividing by a possibly vanishing amplitude. Moving nodes can make a naive local-estimator formula incomplete; the fermionic-state discussion develops that distinction.
The matrix is positive semidefinite. A parameter that only changes the normalization or overall phase has zero horizontal tangent, so redundant coordinates give null directions. A pseudoinverse selects a minimum-coordinate-norm solution after a coordinate convention is fixed:
With the exact untruncated pseudoinverse,
This is a distance between Hilbert-space velocities, not an energy residual for a stationary state. The companion verifies it using the full 64-component vectors and independently checks the covariance expressions and complex directional derivatives.
The fixed numerical rule discards eigenvalues below . A discarded direction changes the accessible projected velocity, so its force component and retained rank are recorded. The nine unshifted trajectories retain their full intended ranks throughout all Runge–Kutta stages.
Conservation does not certify a trajectory
For a time-independent Hermitian and the exact variational differential equation,
The quadratic expression is real because is Hermitian. This proves conservation along the projected motion, even when the discarded Schrödinger velocity is large. Normalization is enforced by (4), so norm conservation supplies even less information here.
A diagonal shift illustrates another limitation. Replacing by changes the motion. Yet the same reality argument still conserves energy for a Hermitian shifted inverse. It is therefore possible to change the physical correlators while improving an energy-drift diagnostic. The change is a modeling choice for the variational dynamics, not merely an innocuous linear-system implementation [2, §3.5.2].
There is also a representation obstruction before any numerical integration. If all parameters and amplitudes are constrained to remain real and is real, the real-parameter least-squares equation is
The initial positive state then does not move under this real-manifold projection. Exact evolution creates relative phases immediately. A complex phase tangent is essential.
Separate manifold size from time-step error
We evolve to using fourth-order Runge–Kutta with fixed steps for each . The primary trajectory is . All runs finish without clipping amplitudes or increasing a budget. At the common observation times the finest-step results are:
| Coordinates | Final infidelity | Largest projection defect | Largest energy drift |
|---|---|---|---|
| 2 | |||
| 4 | |||
| 7 |
Infidelity means . The projection defect is evaluated from the projected vector field at the saved states. It is not the full residual of a differentiable interpolation of the numerical Runge–Kutta path.
This distinction is visible in the control. Its projection defect is near roundoff at every step size, while final infidelity changes from at to at and at . Local representational completeness does not eliminate integration error.
Conversely, reducing does not cure the manifold error. An independent DOP853 integration of the same four-coordinate variational equation, with relative tolerance and absolute tolerance , differs from the primary Runge–Kutta trajectory by at most in the three monitored observables. That comparison isolates time integration; the final physical infidelity remains about 0.123.
Define the translation-averaged observables
At the actual values are:
| Evolution | |||
|---|---|---|---|
| Exact unitary | |||
| , | |||
| , | |||
| , | |||
| , , |
More coordinates improve the final state overlap here, but not every individual correlator monotonically. The shifted trajectory has final infidelity 0.29616 even though its largest energy drift is only . Both comparisons warn against selecting dynamics by a conservation check alone.
The same quench separates three questions. Exact and variational correlations test the manifold; step refinement tests the projected equation's integration; iid configuration draws test force estimation at fixed states. The sampled-force panel is not an error bar on a stochastic time trajectory.
What the sampled force actually tells us
At the five fixed times of the primary trajectory, draw configurations independently from its enumerated Born distribution. For each time use sample sizes 256, 1024 and 4096, with 128 independent replicas. This is actual sampling, but it avoids Markov-chain autocorrelation so that a specific estimation question can be isolated.
For draws, sample covariances with denominator estimate and without bias under iid sampling and finite moments. The resulting velocity
is a nonlinear function of these estimates and need not be unbiased. At a fixed state measure its physical tangent error by
Use the exact enumerated in this diagnostic. The same draws also permit a paired comparison with exact and sampled . Joint noise need not worsen the result: fluctuations of and can cancel.
| Snapshot | Draws | Joint tangent RMS | Exact , sampled RMS |
|---|---|---|---|
| 256 | |||
| 4096 | |||
| 256 | |||
| 4096 | |||
| 256 | |||
| 4096 |
All retained snapshot metrics have rank 4 at the prescribed threshold. This is evidence for these draws, not a guarantee for different states or smaller samples. Increasing the sample count reduces the observed errors, but the direction of the joint-versus-force-only comparison depends on the state. The companion retains replica second-moment uncertainties as well as RMS values.
No noisy trajectory was evolved. These results therefore quantify instantaneous estimation error, not accumulated sampling error over time. A stochastic evolution would additionally have to specify new draws, correlations between steps, regularization, and the interaction of sampling with its time integrator.
When a residual gives a state-error bound
For a differentiable normalized path with a specified physical phase, define its full residual
Unitary propagation implies
For the normalized exponential state in (4), . Multiplying it by with
removes the parallel residual. For an exact solution of (8), . For a numerical interpolation, however, its velocity need not equal the projected vector field. The extra integration defect must also be bounded. A set of small projection defects at saved nodes alone cannot be inserted into (15) as a certificate for the numerical trajectory.
Summary
Real-time variational evolution projects a complex Hilbert-space velocity, rather than minimizing energy at successive times. Its metric handles redundant directions; its residual measures missing tangent motion. The six-spin example separates this projection from time integration and from sampled force estimation. Conserved energy, a completed integrator and a stable sampled metric each answer only part of the accuracy question.
Exercises
1. Why a positive state cannot precess
For one spin with , start from and use , where . Compare a real-only parameter with a complex parameter. Derive the exact complex trajectory and .
Solution
At , the centered tangent is , , and . For a real coordinate, minimizing the squared distance to gives . More generally the real wavefunction and real Hamiltonian make real, so the real tangent cannot follow the imaginary Schrödinger velocity.
Allowing a complex coordinate gives . The trajectory is , with equal Born probabilities and amplitudes
Its energy is zero, so no extra global phase is needed. The overlap between the two amplitudes gives
The real-only state would instead predict for every time while conserving both norm and energy. The missing phase direction, not a time-step choice, causes the failure.
2. Turn a full residual into an observable bound
Prove (15) for a finite-dimensional Hermitian Hamiltonian. For normalized paths and a bounded Hermitian observable , obtain an expectation-value error bound. Explain which extra term is needed if only the projected vector-field defect is known for a numerically integrated path.
Solution
Let . Since , variation of constants gives
The propagator preserves the norm. The triangle inequality proves (15), without assuming a small error or a spectral gap.
For normalized vectors, subtract their expectations and insert once in each term:
Combining this with (15) gives the desired bound. A phase convention is necessary for a state-vector bound; equation (16) supplies one for the variational path.
For an interpolated coordinate path, write . After the appropriate phase lift, its full residual contains both the projected defect and the tangent integration defect . Thus
Either term can matter. The complete seven-coordinate example makes the first essentially zero while retaining finite integration error. Conserving norm and energy does not bound either term by itself.
References
- G. Carleo and M. Troyer, “Solving the Quantum Many-Body Problem with Artificial Neural Networks,” Science 355 (2017), 602–606, arXiv:1606.02318v1. Full text. Appendix B, Eqs. (9)–(11), derives the projective-distance formulation and complex variational equation.
- F. Vicentini et al., “NetKet 3: Machine Learning Toolbox for Many-Body Quantum Systems,” SciPost Physics Codebases 7 (2022), arXiv:2112.10526v2. Full text. §§3.5–3.5.2 discuss the geometric tensor and regularization; §4.3, Eq. (37), distinguishes real- and imaginary-time evolution. The present calculation uses its own finite implementation.
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.