Time-Dependent Variational Principle
The time-dependent variational principle, or TDVP, replaces exact Schrödinger evolution by motion on a chosen manifold of trial states. At each instant, the exact velocity is compared with the velocities available inside that manifold, and a projection rule selects the parameter motion.
This is a dynamical approximation principle, not the Rayleigh–Ritz upper-bound principle. A TDVP trajectory need not provide an upper bound to a time-dependent observable, and a small energy expectation alone does not certify accurate dynamics.
Several related constructions are called “the TDVP.” The name can refer to:
- the Dirac–Frenkel condition, a complex orthogonality condition;
- the McLachlan principle, a least-squares projection in the real Hilbert-space metric;
- stationarity of the quantum action, which produces a symplectic flow.
They agree on important variational manifolds, especially complex or Kähler manifolds, but not on every real parameterization. Keeping that distinction visible prevents many apparent contradictions.
This page develops the common projection framework and its diagnostics. The geometry of rays itself is treated in Projective Hilbert Space, while exact Schrödinger evolution as Hamiltonian flow is developed in Hamiltonian Flow on Projective Hilbert Space.
The approximation problem
Section titled “The approximation problem”Let be self-adjoint on a Hilbert space . Exact normalized states obey
Choose instead a differentiable family of normalized trial states
where the coordinates are real unless stated otherwise. A path on has velocity
Repeated parameter indices are summed. The central difficulty is immediate: generally does not belong to the tangent space . The variational ansatz can then reproduce only part of the exact velocity.
The quality of TDVP is therefore controlled by two separate choices:
- Representation: does contain states close to the exact trajectory?
- Projection: how is the unavailable component of the exact velocity discarded?
The first is an approximation question; the second is a geometric one.
Rays, phase, and horizontal tangent vectors
Section titled “Rays, phase, and horizontal tangent vectors”A normalized state vector still contains an arbitrary phase. The vectors and represent the same physical ray, so the direction is a gauge direction rather than a physical deformation.
Introduce the projector orthogonal to the state,
and the horizontal tangent vectors
The physical tangent space represented by the chosen real coordinates is
For a normalized state, the energy expectation is
Projecting Schrödinger’s equation with removes the vertical phase velocity. The exact horizontal velocity is
It is orthogonal to . The variational problem is now cleanly stated: choose
to approximate according to a specified projection principle.
TDVP replaces the exact horizontal velocity by an allowed tangent velocity. For McLachlan projection, the discarded residual is orthogonal to the real tangent space in the Hilbert metric. Different variational principles use related but not always identical notions of projection.
If the trial state includes an explicit phase,
then projection of Schrödinger’s equation along gives
In the horizontal gauge, , so . Other gauges are equally valid, but the same convention must be used when comparing state-vector errors or residuals.
Metric and symplectic data
Section titled “Metric and symplectic data”The projected tangent vectors define the quantum geometric tensor restricted to the variational manifold,
Its real and imaginary parts supply two different geometric structures:
Here is the pullback of the Fubini–Study metric, up to the convention-dependent overall normalization. It measures distinguishable changes of the ray. The antisymmetric matrix is the pullback of the projective symplectic form.
The metric is positive semidefinite:
It is singular when some parameter combination changes only the gauge or does not change the state at all. The symplectic form can be singular for a different reason: a real variational manifold may fail to contain the conjugate direction needed to pair every coordinate.
These two matrices are not interchangeable. McLachlan dynamics is organized by ; action TDVP is organized by .
Dirac–Frenkel principle
Section titled “Dirac–Frenkel principle”Define the horizontal Schrödinger residual
The Dirac–Frenkel condition is
for every allowed complex tangent variation . Equivalently, the residual is orthogonal in the complex Hilbert inner product to the chosen complex tangent space.
Suppose the manifold has local complex coordinates and a complex-linear horizontal tangent space spanned by . Define
Then Dirac–Frenkel gives
When is nonsingular, this is a first-order system for the complex parameters. If the exact horizontal velocity lies in the tangent space, the residual vanishes and the variational trajectory is locally exact.
Why complex linearity matters
Section titled “Why complex linearity matters”For real coordinates, is initially only a real vector space. Multiplication of an allowed tangent vector by need not produce another allowed tangent vector. In that case, the complex equation
can impose twice as many real conditions as there are real velocities . It may have no solution.
One must then either:
- enlarge the ansatz so that the tangent space is closed under multiplication by ;
- choose a real projection principle such as McLachlan’s;
- or use the action principle when the pulled-back symplectic structure is adequate.
Writing a formally invertible complex matrix does not repair a variational family that lacks the required physical directions.
McLachlan principle
Section titled “McLachlan principle”McLachlan’s principle chooses the available velocity that minimizes the residual norm,
Because the coefficients are real, stationarity gives real orthogonality conditions,
The resulting normal equations are
This is an ordinary real least-squares projection. It always has a minimizer in finite dimensions, although the minimizing parameter velocity need not be unique when is singular. All minimizers generate the same tangent state velocity if the null directions are purely redundant.
The minimized norm
is a local-in-time measure of what the ansatz cannot follow. It has units of inverse time. Multiplying by gives the norm of the horizontal Schrödinger residual.
Solving a singular metric system
Section titled “Solving a singular metric system”The instruction “invert ” is unsafe near redundant or nearly redundant coordinates. A reliable implementation should instead:
- identify exact gauge and parameter redundancies analytically where possible;
- inspect the spectrum or singular values of ;
- verify that the right-hand side is compatible with the range of ;
- solve on the supported subspace, for example with a rank-revealing factorization or Moore–Penrose pseudoinverse;
- report the cutoff or regularization used.
Adding to may stabilize a noisy calculation, but it changes the projected velocity. The regularization scale is therefore part of the approximation and should be tested, not hidden.
Stationary-action principle
Section titled “Stationary-action principle”For a normalized trial family, consider the real action
with
The first term is the pullback of the Berry one-form. Varying the parameters with fixed endpoints gives
The sign follows from the convention
Changing the sign used to define the symplectic form changes the displayed Hamilton equation, not the physical trajectory.
This form makes the classical structure explicit: the energy expectation is a Hamiltonian function on the variational manifold. When is nondegenerate, the equations determine a Hamiltonian vector field. When is degenerate, there may be constraints, gauge directions, or no solution for a generic energy gradient.
For a time-independent Hamiltonian, action TDVP conserves the variational energy whenever the equations are well posed:
The last equality uses antisymmetry of . This is a structural conservation statement, not an assertion that the conserved variational energy equals the exact energy for an inaccurate initial state.
When the principles agree
Section titled “When the principles agree”Suppose the horizontal tangent space is closed under multiplication by . It then carries a complex structure induced by
On such a tangent space,
The real and imaginary parts of the complex Dirac–Frenkel condition are then related by . Under the usual regularity assumptions, Dirac–Frenkel, McLachlan, and stationary-action TDVP select the same tangent velocity.
This situation occurs for many coherent-state, Gaussian, and tensor-network manifolds after gauge redundancies have been treated correctly. Geometrically, the favorable setting is a Kähler variational manifold.
On a generic real or non-Kähler manifold, the conclusions change:
- Dirac–Frenkel may be overdetermined.
- McLachlan still defines a least-squares tangent velocity.
- the pulled-back symplectic form may be singular.
- McLachlan and action trajectories can differ.
The phrase “the three principles are equivalent” therefore needs hypotheses. Complementary parameters, complex tangent closure, and nonsingular geometric structures are mathematical conditions, not notational details.
A one-parameter counterexample
Section titled “A one-parameter counterexample”Consider the real meridian of the qubit Bloch sphere,
with
The tangent vector is real,
and . Direct evaluation gives
which is real. McLachlan’s equation therefore gives : among the real-meridian velocities, zero is closest to the exact velocity, which points into a missing relative-phase direction.
By contrast, the formal Dirac–Frenkel equation would require
which has no real solution for generic . The one-dimensional symplectic form also vanishes identically, so action TDVP cannot generate the motion. Enlarging the ansatz to the full Bloch sphere restores the missing conjugate direction.
This example isolates the issue: the failure is in the variational manifold, not in Schrödinger’s equation.
Worked example: a fixed linear subspace
Section titled “Worked example: a fixed linear subspace”Let be linearly independent, time-independent basis vectors, not necessarily orthonormal, and set
The residual orthogonality conditions against every basis vector give
where
This is simply Schrödinger evolution projected onto
Because is a complex-linear space, the projection principles agree. If is positive definite and is time independent, the projected norm is conserved:
The projected energy is also conserved:
If , then the subspace is invariant and the evolution is exact for every initial state in . Otherwise, the residual is the component of outside .
This example connects TDVP with Galerkin projection, basis-set truncation, configuration interaction, and spectral methods. If the basis itself moves in time, additional connection terms appear; omitting them breaks covariance under time-dependent basis changes.
Worked example: a thawed Gaussian
Section titled “Worked example: a thawed Gaussian”The static normalization and covariance structure are developed in Gaussian Variational Methods. For dynamics in one dimension, use the normalized ansatz
Here:
- is the center;
- is the mean momentum;
- is the position variance;
- is the momentum conjugate to the width;
- carries the overall phase.
For
the variational energy is
with
Up to a total time derivative and the phase term, the Berry part of the action is
The action equations are therefore canonical:
and
The center feels the potential averaged over the packet, while the width feels both the averaged potential and a repulsive quantum-pressure term proportional to .
Harmonic oscillator
Section titled “Harmonic oscillator”For
the Gaussian average is
The center obeys the classical equation
and the width obeys the Ermakov equation
Its stationary solution is
the root-mean-square width of the oscillator ground state. The full Gaussian manifold is invariant under quadratic Hamiltonians, so these equations reproduce exact Gaussian evolution. This includes squeezed states, whose widths oscillate rather than remain fixed.
For a generic anharmonic potential, exact evolution generates skewness, kurtosis, interference, and possibly packet splitting. A single Gaussian cannot represent those features. The TDVP trajectory may remain smooth and energy-conserving while becoming physically inaccurate, which is why residual and ansatz-enlargement tests are essential. The free-particle limit is discussed in Gaussian Wave Packets.
Conservation laws and symmetries
Section titled “Conservation laws and symmetries”Conservation properties depend on both the variational principle and the geometry of the ansatz.
If the manifold consists of normalized states and the evolution is expressed in horizontal tangent vectors, norm preservation is built in. For an unnormalized linear ansatz, the projected equations preserve the induced norm when the projected Hamiltonian is Hermitian with respect to the overlap matrix.
Energy
Section titled “Energy”For time-independent , action TDVP conserves . McLachlan TDVP on a generic real manifold does not automatically inherit this result. It does conserve energy when it is equivalent to the action or Dirac–Frenkel formulation under the required geometric hypotheses.
For explicitly time-dependent , even exact dynamics gives
so energy conservation is not the appropriate diagnostic.
Other Noether charges
Section titled “Other Noether charges”Suppose a unitary group acts on the Hilbert space and leaves both the Hamiltonian and the variational manifold invariant. If the associated infinitesimal symmetry directions belong to the tangent space and the action formulation is regular, the corresponding variational Noether charges are conserved.
Symmetry of alone is insufficient. An ansatz that is not closed under the symmetry can violate the charge even when the exact evolution preserves it. Conversely, building a symmetry sector directly into the ansatz may enforce the charge exactly while excluding physically relevant symmetry-breaking states.
Residuals and a posteriori error control
Section titled “Residuals and a posteriori error control”For a phase-fixed variational path , define the full residual
The residual answers a local question: how badly does the proposed path fail to satisfy Schrödinger’s equation? It vanishes if and only if the path is exact in the chosen phase convention.
Let be the exact solution with the same initial state and phase. Unitarity and Duhamel’s formula give the a posteriori bound
This bound is rigorous under the usual domain assumptions for the self-adjoint Hamiltonian. It can be conservative, but it turns a residual history into a cumulative state-vector error certificate.
For physical rays, an arbitrary phase mismatch can make the Hilbert-space norm misleading. Either align phases before applying the bound or formulate the diagnostic with horizontal residuals and a projective distance. The distinction matters in long simulations, where an innocuous accumulated phase can dominate .
Residual monitoring should be combined with:
- convergence under enlargement of the variational manifold;
- comparison with exact or independently converged evolution on benchmark systems;
- conservation-law drift appropriate to the chosen principle;
- time-step refinement, which separates integration error from variational error;
- observables sensitive to directions omitted by the ansatz.
A tiny numerical time-step does not cure a large projection residual. Conversely, a rich ansatz does not compensate for a poorly resolved time integrator.
Imaginary-time projection
Section titled “Imaginary-time projection”Normalized imaginary-time evolution is
Unlike real-time Schrödinger evolution, this is a gradient-like flow that suppresses excited-state components. McLachlan projection onto a normalized real variational manifold gives
Because
the parameter equation becomes
Thus imaginary-time TDVP is natural-gradient descent in the metric induced by the state manifold. On the supported subspace of ,
where is the Moore–Penrose pseudoinverse and compatibility with the metric range is understood.
Imaginary-time evolution does not turn an inadequate ansatz into an exact ground-state method. It converges, at best, to a stationary point of the energy restricted to the chosen manifold. The result should be checked with the static variational diagnostics in Variational Parameters.
Coherent-state and semiclassical bridge
Section titled “Coherent-state and semiclassical bridge”Coherent-state manifolds often carry natural canonical coordinates. Restricting the quantum action to such a manifold produces Hamilton equations for expectation-value coordinates, with quantum corrections encoded in the variational energy and geometry.
For Hamiltonians no more than quadratic in canonical operators, the appropriate Gaussian or coherent-state family is invariant and the resulting motion is exact. For more general Hamiltonians, the same equations are semiclassical approximations whose accuracy depends on spreading, deformation, and interference.
The exact coherent-state construction, driven oscillator, and relation to phase-space dynamics are developed in Coherent-State Dynamics. Coherent-State Semiclassics Preview compares this one-manifold projection with thawed Gaussians, coherent-state boundary-value saddles, and initial-value representations. TDVP supplies the projection logic; it does not by itself establish a classical limit.
Tensor-network bridge
Section titled “Tensor-network bridge”A matrix product state (MPS) of fixed bond dimension is a nonlinear variational manifold. MPS TDVP projects onto its tangent space, converting many-body Schrödinger evolution into equations for the tensors.
The geometry has practical consequences:
- a one-site, fixed-bond-dimension TDVP keeps the state on the same smooth manifold and can preserve norm and energy to integration accuracy;
- fixed bond dimension prevents the ansatz from representing unrestricted entanglement growth;
- two-site variants can enlarge the effective bond space and then truncate it;
- truncation introduces an additional error and can modify exact conservation properties;
- gauge fixing is required because many tensor parameterizations represent the same physical state.
The residual measures the component of the many-body evolution that the current tangent space cannot represent. Bond-dimension convergence and truncation diagnostics remain necessary even when energy is conserved. The role of entanglement and bond dimension is introduced in Entanglement in Many-Body Physics; detailed MPS integration algorithms belong to computational many-body methods.
Variational quantum-simulation bridge
Section titled “Variational quantum-simulation bridge”For a parameterized quantum circuit
McLachlan projection again produces a metric linear system for . Matrix elements of and the force vector can, in principle, be estimated from circuit measurements and combined with a classical linear solver.
Three cautions are fundamental:
- A real circuit parameterization need not have a complex-linear tangent space, so formal equivalence among variational principles must be checked.
- Removing or including the global-phase direction changes the equations unless the corresponding correction is handled consistently.
- Finite-shot noise and hardware noise perturb both sides of an often ill-conditioned linear system; regularization bias can then be comparable to projection error.
The variational equation is only one layer of the algorithmic error budget. Expressivity, measurement cost, conditioning, numerical integration, and device noise must be assessed separately.
Practical workflow
Section titled “Practical workflow”A reproducible TDVP calculation should make the following choices explicit.
1. Define the manifold
Section titled “1. Define the manifold”State the normalized ansatz, parameter domain, and any coordinate singularities. Identify whether the tangent space is real, complex-linear, or Kähler.
2. Remove redundancies
Section titled “2. Remove redundancies”Fix phase, tensor-network gauge, orbital gauge, or other parameter redundancies. Construct horizontal tangent vectors or an equivalent gauge-fixed basis.
3. Name the principle
Section titled “3. Name the principle”Specify Dirac–Frenkel, McLachlan, or stationary action. Do not label a real-part normal equation “Dirac–Frenkel” without explaining the restriction that produced it.
4. Assemble geometric data
Section titled “4. Assemble geometric data”Compute , , or the complex Gram matrix required by the chosen principle. Check rank and conditioning along the trajectory.
5. Solve and integrate
Section titled “5. Solve and integrate”Use a rank-aware linear solver. Choose a time integrator suited to the structure and stiffness of the reduced equations. Time-step error and projection error are distinct.
6. Validate
Section titled “6. Validate”Monitor residual norms, conserved quantities, parameter-domain boundaries, and convergence under ansatz enlargement and time-step refinement.
Common mistakes
Section titled “Common mistakes”- Confusing static and dynamical variational principles. Rayleigh–Ritz gives spectral bounds under specific hypotheses; TDVP gives projected equations of motion.
- Leaving the phase direction untreated. The raw tangent Gram matrix can then be singular or the residual can be dominated by a physically irrelevant phase.
- Claiming universal equivalence. Dirac–Frenkel, McLachlan, and action TDVP agree only under geometric and regularity assumptions.
- Blindly inverting a metric matrix. Near-null directions amplify numerical noise and can generate enormous, physically meaningless parameter velocities.
- Using conservation as the only accuracy test. A restricted Hamiltonian flow can conserve its own energy while following the wrong trajectory.
- Ignoring moving-basis terms. Time-dependent orbitals or basis functions contribute connection terms to the coefficient equations.
- Conflating integration and variational error. Smaller time steps reduce discretization error, not the component of the exact velocity outside the tangent space.
- Overinterpreting smooth parameter motion. A single packet may evolve smoothly after the exact state has split into branches that the ansatz cannot represent.
- Regularizing without a sensitivity study. A metric cutoff or diagonal shift changes the dynamics and belongs in the reported method.
Exercises
Section titled “Exercises”1. Phase equation and horizontal velocity
Section titled “1. Phase equation and horizontal velocity”Let with . Project Schrödinger’s equation first along and then with . Derive the phase equation and the exact horizontal velocity.
Solution
Differentiation gives
After canceling , Schrödinger’s equation is
Taking the inner product with yields
and hence
Applying removes every term proportional to :
Therefore
2. Missing qubit direction
Section titled “2. Missing qubit direction”For the real-meridian qubit ansatz in the counterexample, verify and show explicitly why McLachlan gives for . What state-space direction is missing?
Solution
The tangent vector is orthogonal to the state, so it is already horizontal. Its squared norm is
The force matrix element is
where the term drops out by orthogonality. This number is real, so the McLachlan force is its imaginary part divided by and vanishes. Since , .
Evolution under changes the relative phase between and . The ansatz includes only real amplitudes and therefore lacks the azimuthal Bloch-sphere direction. Multiplying the tangent by produces precisely a direction outside the real tangent space.
3. Conservation in a nonorthogonal subspace
Section titled “3. Conservation in a nonorthogonal subspace”Starting from , with and time independent, prove conservation of and .
Solution
The equation and its adjoint are
Therefore
For the energy, use and its adjoint:
4. Gaussian width dynamics
Section titled “4. Gaussian width dynamics”For the harmonic potential, derive the Ermakov equation from the canonical Gaussian equations. Find the stationary width and verify that the corresponding zero-point contribution to the energy is when .
Solution
For the harmonic oscillator,
Using gives
which is the stated Ermakov equation. A stationary width obeys
so
At the stationary point, the width-dependent energy is
5. Imaginary time as natural-gradient descent
Section titled “5. Imaginary time as natural-gradient descent”Assume is positive definite. Starting from
prove that the variational energy cannot increase with imaginary time. When can equality hold?
Solution
Solving for the velocity gives
Hence
Positive definiteness makes the quadratic form nonnegative. Equality holds exactly when for every variational direction. This means the state is stationary within the manifold, not necessarily an exact eigenstate of .
6. Residual accumulation
Section titled “6. Residual accumulation”Let exact and variational states have the same initial condition and satisfy
Use the unitary propagator to derive the residual error bound.
Solution
Set . Then
Variation of constants gives
Because is unitary,
The comparison assumes a common phase convention. A time-dependent global phase changes the state-vector residual even though it leaves the physical ray unchanged.
References
Section titled “References”- P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press (1958), especially the action formulation of quantum dynamics.
- J. Frenkel, Wave Mechanics: Advanced General Theory, Oxford University Press (1934).
- A. D. McLachlan, “A variational solution of the time-dependent Schrödinger equation,” Molecular Physics 8, 39–44 (1964), doi:10.1080/00268976400100041.
- P. Kramer and M. Saraceno, Geometry of the Time-Dependent Variational Principle in Quantum Mechanics, Lecture Notes in Physics 140, Springer (1981), doi:10.1007/3-540-10579-4.
- J. Broeckhove, L. Lathouwers, E. Kesteloot, and P. Van Leuven, “On the equivalence of time-dependent variational principles,” Chemical Physics Letters 149, 547–550 (1988), doi:10.1016/0009-2614(88)80380-4.
- L. Hackl, T. Guaita, T. Shi, J. Haegeman, E. Demler, and J. I. Cirac, “Geometry of variational methods: dynamics of closed quantum systems,” SciPost Physics 9, 048 (2020), doi:10.21468/SciPostPhys.9.4.048.
- C. Lubich, “On variational approximations in quantum molecular dynamics,” Mathematics of Computation 74, 765–779 (2005), doi:10.1090/S0025-5718-04-01685-0.
- C. Lubich, From Quantum to Classical Molecular Dynamics: Reduced Models and Numerical Analysis, European Mathematical Society (2008), doi:10.4171/067.
- E. J. Heller, “Time-dependent approach to semiclassical dynamics,” Journal of Chemical Physics 62, 1544–1555 (1975), doi:10.1063/1.430620.
- J. Haegeman, C. Lubich, I. Oseledets, B. Vandereycken, and F. Verstraete, “Unifying time evolution and optimization with matrix product states,” Physical Review B 94, 165116 (2016), doi:10.1103/PhysRevB.94.165116.
- X. Yuan, S. Endo, Q. Zhao, Y. Li, and S. C. Benjamin, “Theory of variational quantum simulation,” Quantum 3, 191 (2019), doi:10.22331/q-2019-10-07-191.