---
title: "Variational ansatz-based quantum simulation of imaginary time"
description: "How variational imaginary time evolution uses shallow quantum circuits to find molecular ground states, and what its numerical tests establish."
canonical: "https://research.elamur.ai/free/en/papers/mcardle-2019-variational-ansatz-based-quantum-simulation/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/mcardle-2019-variational-ansatz-based-quantum-simulation/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Variational ansatz-based quantum simulation of imaginary time evolution

# Variational ansatz-based quantum simulation of imaginary time evolution

Paper · 2019 · Sam McArdle, Tyson Jones, Suguru Endo et al.

**Authors:** [Sam McArdle](https://md.research.elamur.ai/free/en/authors/sam-mcardle/), Tyson Jones, Suguru Endo, [Ying Li](https://md.research.elamur.ai/free/en/authors/ying-li/), [Simon C. Benjamin](https://md.research.elamur.ai/free/en/authors/simon-c-benjamin/) and [Xiao Hui Yuan](https://md.research.elamur.ai/free/en/authors/xiao-hui-yuan/) · **Year:** 2019 · **Venue:** npj Quantum Information · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**549** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2796248767|W2896609142|W2972223037) · npj Quantum Information · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1038/s41534-019-0187-2](https://doi.org/10.1038/s41534-019-0187-2)
- [arXiv 1804.03023](https://arxiv.org/abs/1804.03023)
- [OpenAlex](https://openalex.org/W2972223037)

## Deep dive: Variational ansatz-based quantum simulation of imaginary time evolution

How variational imaginary time evolution uses shallow quantum circuits to find molecular ground states, and what its numerical tests establish. · about 33 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Finding the lowest-energy state of a quantum system is difficult because the state’s description grows rapidly as particles are added. Imaginary time evolution offers a useful mathematical route: it progressively suppresses contributions from higher-energy states, leaving the ground-state contribution dominant when that contribution was present initially. The difficulty is implementing this process. Ordinary quantum gates describe unitary transformations, while imaginary time evolution is non-unitary. McArdle and colleagues propose a hybrid procedure that follows this otherwise inaccessible evolution by repeatedly adjusting the parameters of a quantum circuit.

The central move is to replace direct application of the imaginary time operator with a local approximation inside a chosen family of states. A parameterized circuit prepares a trial state, also called an ansatz. Quantum measurements determine both the direction associated with decreasing energy and a matrix describing how changes in circuit parameters change the state. A classical computer solves a linear system using these quantities, updates the parameters, and sends the new values back to the circuit. Repeating this cycle approximates imaginary time evolution within the states the circuit can represent.

The authors test the method through numerical simulations of molecular hydrogen, H₂, and lithium hydride, LiH. For H₂, a universal circuit can represent the entire relevant trajectory, allowing a direct comparison with exact imaginary time evolution. The variational simulation follows that evolution and reaches the ground state in every reported trial. For LiH, the circuit is deliberately more restricted: it uses 137 parameters on eight qubits. Against a variational quantum eigensolver using gradient descent, the imaginary time procedure reaches the ground-state neighborhood more quickly and more reliably, particularly when the initial parameters are random. The reported success criterion is an energy within 1 mHartree of the exact ground-state energy for the Hamiltonian being simulated.

These results support an optimization method, instead of an unrestricted guarantee of finding ground states. The authors construct a small adversarial example in which the chosen circuit prevents imaginary time optimization from avoiding undesirable local minima. They also find that noise in the energy-related measurements can undermine the method even when the additional matrix is measured accurately. Their broader proposals—general optimization, thermal-state preparation, and quantum [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/)—remain applications to investigate. The demonstrated contribution is a practical way to turn imaginary time dynamics into updates for shallow quantum circuits, with encouraging molecular simulations and explicit evidence about where that approach can fail.

### Ideas worth borrowing

#### Measure the geometry of the representation

Parameter changes do not have equal effects on a represented state. One circuit parameter may substantially alter the wavefunction, while another produces a similar change to a neighboring parameter. The matrix used by the authors captures these relationships through overlaps between state derivatives. This makes the update depend on the representation itself, alongside the energy objective. The reusable idea is to ask what a parameter update does to the represented object before deciding its size and direction. It applies conceptually to constrained numerical representations in which ordinary coordinate-wise optimization can misrepresent the significance of a change.

#### Approximate an inaccessible process through accessible states

The imaginary time operator cannot simply be installed as an ordinary sequence of unitary gates. The authors instead ask which available change in a parameterized state most closely follows the desired evolution. This converts a difficult operation into a projection problem. The same reasoning can guide other constrained simulators: specify the evolution one wants, identify the changes the representation permits, and fit the latter to the former. Its usefulness depends on checking whether the permitted states contain enough of the desired behavior.

#### Separate trajectory fidelity from destination quality

A ground-state search can succeed even when its intermediate path differs from exact imaginary time evolution. The authors make this distinction explicit. For reconstructing dynamics, the path is part of the answer; for minimizing energy, the endpoint may matter more. This suggests a useful evaluation principle: measure agreement with a reference trajectory when trajectory accuracy is the goal, and measure solution quality when optimization is the goal. A method can perform well under one criterion while remaining approximate under the other.

#### Spend measurement effort where errors matter most

The algorithm requires both an energy-related vector and a matrix describing the ansatz. The noise experiments suggest that these quantities need not receive identical measurement budgets. Some successful settings use substantially less sampling for the matrix, while inaccurate vector estimates remain a bottleneck that more matrix measurements cannot repair. The transferable lesson is to investigate error sensitivity by component. Uniform precision can waste resources when different parts of an iterative procedure have different influence on the final answer.

#### Treat numerical stabilization as part of the method

The parameter equation can be underdetermined because distinct parameter changes may describe equivalent or closely related state changes. The authors therefore use regularization instead of relying on an ordinary matrix inverse. Their numerical analysis shows that stabilization affects allowable step sizes and eventual convergence. This is a broadly useful engineering lesson: the solver, regularization rule, and update size jointly determine the behavior of an iterative algorithm. They deserve reporting and testing alongside the conceptual update equation.

#### Use favorable and adversarial examples together

The H₂ experiment demonstrates that the procedure can recover the intended evolution when its circuit is expressive enough. A separate toy system demonstrates that restricted expressiveness can still leave the optimization trapped. These examples answer different questions and make the evidence more informative when read together. A favorable case checks implementation and mechanism; an adversarial case tests the boundary of the claim. Researchers can borrow this pairing whenever a proposed method combines a principled ideal process with an imperfect representation.

### How Mova uses it

For Mova, a small transparent language system written in Rust, the connection is methodological. The paper concerns quantum-state preparation and molecular energy calculations. It supplies no evidence of an implemented Mova component, and its molecular experiments do not establish a language-processing result. Any use in Mova should therefore be described as a possible design or evaluation practice.

The most relevant possibility is to distinguish the intended operation from the operations a compact representation actually supports. In the paper, exact imaginary time evolution supplies the target direction, while the ansatz limits which changes are available. A transparent language system could use a similar distinction when it maintains a restricted representation of linguistic information: describe the desired change explicitly, then make the approximation introduced by the representation visible. This would be a conceptual borrowing. It would not require a quantum computer, and it would not inherit the paper’s ground-state convergence reasoning.

A related possibility concerns diagnostics. The paper shows why a failed optimization should not immediately be blamed on its update rule. The desired answer might be absent from the chosen state family, the local direction might be estimated poorly, or the linear solve might be unstable. A Mova experiment could preserve that separation by recording representation limits, objective changes, and numerical failures as different observations. Such records would serve [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) by making a failure easier to investigate. The paper demonstrates the value of distinguishing these causes in quantum simulation; applying the distinction to language would require its own implementation and evidence.

The contrast between trajectory fidelity and endpoint quality also offers a useful evaluation habit. If an internal procedure is intended to reproduce a particular sequence of transformations, matching only the final result would leave part of the claim untested. If the procedure is intended only to reach an acceptable solution, a different intermediate path may be harmless. For a transparent system, declaring which of these promises is being made can prevent an optimization result from being mistaken for an explanation of the process that produced it.

The noise analysis suggests another possible practice: allocate computation according to measured sensitivity. Mova could investigate whether some intermediate quantities need more accurate estimation or more careful checking than others. The relevant borrowing is the experimental question, not the numerical allocation found for LiH. The paper’s sampling requirements concern quantum measurements and provide no direct budget for a Rust language system.

A concrete Mova adoption would therefore begin with a small, inspectable experiment and clearly separated claims about representation, updating, and evaluation. Nothing in the molecular results justifies saying that Mova already uses imaginary time evolution, that quantum machinery improves its language behavior, or that the paper supplies a ready-made language algorithm.

### The problem and its context

#### Why imaginary time helps with ground states

A quantum state can contain contributions from several energy eigenstates. Under ordinary real time evolution, these contributions acquire changing phases. Imaginary time produces a different effect: contributions associated with higher energies are suppressed more strongly. After normalization, the lowest-energy contribution present in the starting state becomes increasingly important.

This makes imaginary time useful for ground-state calculations. It replaces the static question of finding a lowest-energy state with a dynamical question: how does an initial state change under an energy-selective propagation? The paper also places imaginary time in a wider setting, mentioning its roles in statistical mechanics, finite-temperature calculations, and methods related to real time dynamics.

The required initial overlap matters. Exact imaginary time evolution cannot amplify a ground-state component that is absent. When that component is non-zero, the long-time limit selects the ground state. The variational procedure adds another condition: the chosen circuit must permit suitable progress toward that state.

The paper’s optimization objective is the expectation value of the Hamiltonian, the operator specifying the system’s energy. Finding the smallest expectation attainable by a trial family is a variational problem. Whether that smallest attainable value equals the true ground-state energy depends on the family’s expressiveness.

#### Why classical storage becomes difficult

The authors identify a basic obstacle for classical simulation: a general many-particle wavefunction requires a description whose size grows exponentially with the system. Applying an imaginary time propagator to that description can therefore demand rapidly increasing memory and computation.

The introduction discusses established classical approaches, including quantum Monte Carlo and density matrix renormalization group. It also notes the existence of efficient trial-state representations for particular applications. The argument is not that every useful quantum calculation is classically impossible. Rather, powerful general representations can remain expensive, and the methods that work efficiently exploit structure.

That distinction motivates the use of quantum hardware. A quantum processor can hold a many-body state directly in its qubits, avoiding the need to list all amplitudes as classical data. But compact state storage does not automatically provide every desired transformation of that state. Imaginary time evolution exposes precisely this gap between representing a state and implementing its mathematical evolution.

#### Why ordinary quantum gates do not directly solve it

The paper contrasts the real time and imaginary time propagators. Real time evolution is unitary, which allows its approximation by quantum gate sequences. The authors describe Trotterization as an established route for decomposing real time dynamics into operations on small groups of qubits.

Replacing real time with imaginary time changes the mathematical character of the propagator. It becomes non-unitary. Accordingly, the same straightforward gate-decomposition argument no longer applies. The problem is not simply to make an existing circuit shorter; it is to realize an evolution that does not have the form of an ordinary closed-system quantum gate sequence.

The authors respond by changing what the quantum processor is asked to do. It prepares states and measures quantities. A classical computer then uses those measurements to calculate parameter changes. Each prepared state still comes from unitary gates, while the sequence of parameter choices approximates a non-unitary mathematical process.

This division of labor is central to the proposal. The quantum part supplies information about states that may be costly to represent classically. The classical part supplies numerical integration and linear algebra, including the handling of a process that need not itself correspond to physical time evolution.

#### What earlier variational methods contributed

The paper builds on classical variational treatments of time evolution. In those methods, a parameterized trial state is updated over small intervals so that its motion approximates a governing equation. The authors describe earlier use of this approach for both real and imaginary time.

A closer quantum-computing predecessor is the real time variational simulation method of Li and Benjamin. The present paper adapts that style of hybrid calculation to imaginary time. It also uses related measurement constructions for determining overlaps and energy-dependent terms.

The variational quantum eigensolver, or VQE, supplies another important comparison. VQE prepares a parameterized quantum state, measures its energy, and uses classical optimization to select new parameters. The quantum approximate optimization algorithm, QAOA, similarly uses a parameterized circuit in an optimization setting.

The proposed method retains the hybrid structure of these approaches but changes how the parameters move. Instead of giving an optimizer only the energy objective and its gradient information, it also supplies information about how the ansatz responds to parameter changes.

#### Why the optimization rule matters

A circuit with a manageable number of parameters can still define a difficult search problem. Each parameter can take many values, and the resulting energy landscape can contain local minima. The authors therefore distinguish economical state preparation from easy classical optimization.

Gradient descent responds to how the energy changes with the parameter coordinates. Variational imaginary time also considers relationships among changes in the represented quantum state. This additional information is encoded in the matrix called A.

The paper’s question is whether that extra structure improves ground-state searches enough to justify measuring it. The molecular comparisons and the noise experiments address different parts of this question. The former investigate convergence behavior; the latter ask how expensive and fragile the additional information might be.

The hardware motivation is similarly specific. Hybrid routines can use relatively shallow circuits and can potentially be combined with error mitigation. Those properties make the proposal relevant to current and near-term processors in the authors’ framing. They do not, on their own, demonstrate a completed hardware experiment or a general computational advantage.

### The method, step by step

#### Specify the energy operator

The algorithm begins with a Hamiltonian expressed as a weighted collection of Pauli products:

```
H = ∑ᵢ λᵢhᵢ
```

H is the Hamiltonian. Each hᵢ is an observable formed from a tensor product of Pauli matrices, and λᵢ is its real coefficient. The index i runs over the Hamiltonian terms.

This representation matters because the algorithm must estimate quantities involving those terms on a quantum processor. The authors assume that the number of Hamiltonian terms grows polynomially with system size. They identify molecular systems and the Fermi–Hubbard setting as examples fitting this assumption.

The Hamiltonian defines the target problem before any circuit parameters are optimized. For the molecular experiments, obtaining it requires a separate chemistry preparation procedure, described below. The variational algorithm then treats the resulting qubit Hamiltonian as its energy operator.

#### Define the evolution being approximated

The imaginary time propagator is:

```
e^(−Hτ)
```

H is the Hamiltonian, τ is imaginary time, and e denotes the operator exponential. The negative sign produces the energy-dependent suppression that makes the evolution useful for low-energy searches.

Because this operation does not preserve the norm of a general input state, the paper writes the normalized state as:

```
|ψ(τ)⟩ = A(τ)e^(−Hτ)|ψ(0)⟩
```

The ket |ψ(0)⟩ is the initial state, and |ψ(τ)⟩ is its normalized state after imaginary time τ. A(τ) is a scalar normalization factor. This scalar should be distinguished from the matrix A introduced later.

The normalization factor is:

```
A(τ) = 1/√⟨ψ(0)|e^(−2Hτ)|ψ(0)⟩
```

The bra ⟨ψ(0)| is the conjugate counterpart of the initial ket. The expression inside the square root gives the squared norm produced by the unnormalized propagation. Dividing by its square root restores unit norm.

The corresponding differential equation is:

```
∂|ψ(τ)⟩/∂τ = −(H − Eτ)|ψ(τ)⟩
```

The derivative on the left describes how the state changes with imaginary time. Eτ is the state’s current expected energy. Subtracting that scalar contribution enforces normalization during the evolution.

The energy expectation is:

```
Eτ = ⟨ψ(τ)|H|ψ(τ)⟩
```

Eτ is the average energy obtained from state |ψ(τ)⟩ under Hamiltonian H. The bra–operator–ket expression is the expectation value.

These equations define the desired process. They do not yet specify an implementable circuit. The rest of the method replaces unrestricted state evolution with parameter evolution inside an available circuit family.

Following imaginary time with a parameterized circuit The steps in order.

#### Choose a family of accessible states

The trial state is prepared by applying a parameterized unitary circuit to a reference state:

```
|φ(θ⃗)⟩ = V(θ⃗)|0̄⟩
```

The vector θ⃗ contains the real-valued circuit parameters. V is the complete parameterized circuit, |0̄⟩ is its reference input, and |φ(θ⃗)⟩ is the resulting trial state.

The circuit is written as an ordered product:

```
V(θ⃗) = U_N(θ_N)⋯U_k(θ_k)⋯U_1(θ_1)
```

U_k is the gate controlled by parameter θ_k. N is the number of parameterized gates in this notation. The ordering specifies which operations act first and which act later.

The ansatz space consists of all states reachable by changing these parameters while retaining the circuit structure. This is a smaller target than the entire quantum state space for a restricted circuit.

The authors motivate such a restriction by the possibility that physically important states occupy a comparatively limited portion of the full space. But this motivation does not prove that a particular circuit contains the required trajectory. The choice of ansatz remains a substantive approximation.

#### Fit the desired motion to the available motion

A small parameter change produces a state change along the derivatives of the ansatz. McLachlan’s variational principle selects parameter velocities that make this available motion approximate the desired imaginary time motion.

The paper expresses the principle as:

```
δ‖(∂/∂τ + H − Eτ)|φ(τ)⟩‖ = 0
```

The symbol δ indicates variation with respect to the available evolution. The quantity inside the norm is the residual between the trial state’s motion and the normalized imaginary time equation. Here |φ(τ)⟩ abbreviates the trial state evaluated at the parameters used at time τ.

The supplementary derivation expands this residual and varies the parameter velocities. Its useful computational result is a real linear system:

```
∑ⱼ Aᵢⱼθ̇ⱼ = Cᵢ
```

Aᵢⱼ is an entry of the ansatz-dependent matrix A. θ̇ⱼ is the imaginary time derivative of parameter θⱼ. Cᵢ is an entry of the energy-dependent vector C. For each i, the equation combines the parameter velocities through A to match the corresponding component of C.

This is the point where the non-unitary evolution becomes a classical numerical problem. The processor does not apply the full imaginary time operator. It supplies the information needed to determine how an ordinary unitary circuit should be retuned.

#### Construct the matrix and vector

The matrix entries are defined by derivative overlaps:

```
Aᵢⱼ = Re(⟨∂ᵢφ|∂ⱼφ⟩)
```

The notation |∂ⱼφ⟩ means the derivative of the trial state with respect to θⱼ. Its bra counterpart is ⟨∂ᵢφ|. Re takes the real part of their inner product.

A therefore records relationships between the state changes produced by different parameters. If parameter directions are redundant, their derivative states can be dependent, making A singular or poorly conditioned.

The defining energy-dependent vector is:

```
Cᵢ = −Re(⟨∂ᵢφ|H|φ⟩)
```

Cᵢ combines the derivative associated with θᵢ, the Hamiltonian H, and the current trial state |φ⟩. Its sign points towards decreasing energy under the paper’s update convention.

The normalization term Eτ disappears from this parameter equation because the unitary circuit preserves the trial state’s norm. The supplementary derivation uses the derivative of the normalization condition to show that cancellation.

Both A and C are real, so the resulting parameter velocities can remain real as required by the circuit gates. This is essential: a formally calculated state direction is useful only if it can be translated into valid changes of the circuit controls.

The paper compares this procedure with moving along C directly. Its geometric contribution is the solution of the system involving A, which adjusts the update according to the way parameters affect the state.

#### Turn derivatives into measurable circuits

The algorithm would lose much of its purpose if it required classical access to the full trial wavefunction. The authors therefore explain how the necessary overlaps can be estimated using quantum circuits.

For the gate families considered, a gate derivative can be decomposed as:

```
∂Uᵢ(θᵢ)/∂θᵢ = ∑ₖ fₖ,ᵢ Uᵢ(θᵢ)σₖ,ᵢ
```

Uᵢ is the original gate, fₖ,ᵢ is a scalar coefficient, and σₖ,ᵢ is a unitary insertion associated with derivative term k. The sum expresses the derivative through circuits closely related to the original one.

The derivative of the full state then takes the form:

```
|∂ᵢφ⟩ = ∑ₖ fₖ,ᵢ Ṽₖ,ᵢ|0̄⟩
```

Ṽₖ,ᵢ is the original circuit with the appropriate σₖ,ᵢ inserted at the gate associated with parameter θᵢ. The remaining gates retain their ordinary order.

For the rotation and controlled-rotation gates discussed in the paper, the derivative expansion contains only a small number of terms. A single-qubit Z rotation, for example, can be differentiated by adding a Z operation and accounting for a known scalar factor. Controlled rotations require a corresponding decomposition into insertion terms.

The resulting overlap measurements have a shared general form:

```
a Re(e^(iϑ)⟨0̄|U|0̄⟩)
```

Here a is a scalar magnitude, ϑ is a phase, i is the imaginary unit, and U is the unitary sequence appearing in the overlap calculation. The bra and ket refer to the reference input state.

Ancilla-assisted circuits estimate these real parts. The supplementary discussion also shows how common circuit segments cancel, reducing the need to control a complete long unitary. Thus the measurement construction exploits the structure of the ansatz instead of treating every overlap as an unrelated operation.

#### Solve the parameter equation carefully

If A were nonsingular and accurately known, the parameter velocity could be written as:

```
θ̇⃗ = A⁻¹C⃗
```

θ̇⃗ is the vector of parameter velocities, C⃗ is the energy-dependent vector, and A⁻¹ denotes an inverse of A.

In practice, the inverse notation is only shorthand for solving the linear system. The authors emphasize that the equation may be underdetermined. Redundant parameters or inaccessible directions can prevent an ordinary inverse from existing.

The supplementary positivity argument treats A as a non-negative matrix and describes an inverse that retains non-zero eigendirections while assigning zero to null directions. The main discussion also mentions truncated singular value decomposition as an option.

The numerical molecular work instead uses Tikhonov regularization, minimizing:

```
‖C⃗ − Aθ̇⃗‖² + λ‖θ̇⃗‖²
```

The first term measures the failure to satisfy the parameter equation. The second discourages excessively large parameter velocities. λ is the regularization strength, distinct from the Hamiltonian coefficients λᵢ.

This makes the solver an explicit compromise. A weak penalty allows closer fitting but can amplify instability. A strong penalty keeps changes small but can restrict useful motion.

At each update, the authors select a regularization value using a 3-point L-curve procedure and constrain λ to the interval [10⁻⁴, 10⁻²]. They report that excessive regularization can lead to convergence above the ground state, while removing regularization can disrupt the expected energy decrease.

#### Advance through small imaginary time intervals

The simulations use an Euler update:

```
θ⃗(τ + δτ) ≃ θ⃗(τ) + δτ A⁻¹(τ)C⃗(τ)
```

δτ is the imaginary timestep. A and C are evaluated at the current parameters. The approximate equality reflects the finite-step numerical integration.

After updating the parameters, the circuit is prepared again and the relevant measurements are repeated. The quantities used for one update are therefore local to the current trial state.

The relationship between total duration and update count is:

```
N_T = τ_total/δτ
```

N_T is the number of steps, τ_total is the intended imaginary time duration, and δτ is the step size.

The authors establish energy descent for sufficiently small updates under the mathematical conditions of their variational scheme. This supports the procedure as an energy minimizer. It does not imply that every finite step chosen in practice will decrease energy, especially when measurements and linear solves are imperfect.

#### Compare with the same objective under gradient descent

Both methods seek the minimum energy accessible to the ansatz:

```
E_min = min_θ⃗ ⟨φ(θ⃗)|H|φ(θ⃗)⟩
```

E_min is the smallest expectation value attainable by varying θ⃗ within the chosen circuit family. The minimization is over parameters, not over every possible quantum state.

The gradient-descent baseline uses the paper’s energy-related update vector directly:

```
θ⃗(τ + δτ) = θ⃗(τ) + δτ C⃗(τ)
```

The symbols retain their earlier meanings. The distinguishing change is that this update does not solve a system involving A.

This comparison holds the ansatz and objective fixed while changing the update rule. It therefore examines whether information about the represented state helps the optimizer navigate the same parameterized energy landscape.

#### Prepare the molecular Hamiltonians

For chemistry, the authors first use the Born–Oppenheimer approximation: nuclei are treated as fixed classical charges while the electronic problem is solved. They then project the electronic Hamiltonian into a finite orbital basis.

In second-quantized notation, the resulting form is:

```
H = ∑ₚ,ᵩ hₚᵩaₚ†aᵩ + (1/2)∑ₚ,ᵩ,ᵣ,ₛ hₚᵩᵣₛaₚ†aᵩ†aᵣaₛ
```

The operators aₚ† and aₚ create and remove an electron in spin-orbital p. The coefficients hₚᵩ describe single-electron contributions, while hₚᵩᵣₛ describe electron-interaction contributions. The indices enumerate the chosen spin-orbitals.

The paper gives the underlying orbital integrals and notes that this molecular representation contains O(N_SO⁴) terms, where N_SO is the number of spin-orbitals. Jordan–Wigner or Bravyi–Kitaev transformations then express the fermionic operators through qubit operators.

Both molecular calculations use the minimal STO-3G basis. This is part of the definition of the tested problem: the reported energies concern these finite-basis Hamiltonians.

For H₂, the initial representation includes four spin-orbitals. The Bravyi–Kitaev Hamiltonian can be reduced to two qubits because of its operator structure. The simulation uses a universal ansatz with eight parameters.

For LiH, the authors reduce the orbital space before quantum simulation. They obtain a one-electron reduced density matrix from a configuration-interaction calculation including single and double excitations. A basis rotation diagonalizes that matrix, producing natural molecular orbitals and their occupation numbers.

An almost fully occupied core orbital is frozen, and an almost empty orbital is omitted. The resulting active problem contains two electrons distributed over eight spin-orbitals, mapped onto eight qubits through the Jordan–Wigner transformation. OpenFermion carries out these chemistry transformations.

The LiH circuit is inspired by the low-depth circuit ansatz. It combines chemical motivation with nearest-neighbor gates, repeats its two-qubit structure to depth M = 3, and uses 137 parameters. This restricted circuit is the representation within which both optimization methods operate.

### Experiments and results

#### What the numerical study measures

The experimental evidence consists of classical numerical simulations of quantum circuits. QuEST simulates the circuit behavior, and the GNU Scientific Library supplies exact diagonalization of the tested Hamiltonians to determine reference ground states.

The study asks several related questions. If the ansatz has enough expressive power, can the algorithm replicate genuine evolution in imaginary time? Does it improve energy minimization when the circuit is restricted? How does it behave from different initial states? How sensitive is it to sampling uncertainty and gate errors?

These questions require different observables. H₂ includes a comparison of the variational trajectory with exact imaginary time evolution. LiH emphasizes energy proximity and the fraction of runs meeting a ground-state accuracy criterion.

The exact reference in each case belongs to the Hamiltonian used in that simulation. For LiH, that means the active-space Hamiltonian after the orbital reduction, instead of an unrestricted description of the molecule.

#### H₂ checks whether the intended dynamics can be recovered

The H₂ calculation uses an internuclear separation of 0.75 Å and an imaginary timestep of 0.01. Initial circuit parameters are random.

The ansatz is universal for the reduced problem. This choice removes one major uncertainty: the accessible state family can represent the states encountered along the desired imaginary time path. It therefore provides a favorable check of the variational construction.

The figure compares the variational energy trajectory with exact imaginary time evolution and the exact ground-state energy. Its inset reports fidelity between the variational and exact evolving states. The authors attribute the remaining differences to Euler integration and its finite step size.

Every reported H₂ trial reaches the ground state. This establishes that the method can recover the intended behavior when the ansatz has enough expressive capacity. It does not establish that equally compact universal circuits will remain available for larger systems.

The paper does not supply a numerical trial count or a numerical fidelity value in the accompanying prose. Its justified result is the stated convergence across the reported trials, together with the plotted trajectory comparison.

#### LiH tests optimization with a restricted circuit

The LiH comparison uses an internuclear distance of 1.45 Å. Its eight-qubit circuit has 137 parameters, and the qubit Hamiltonian contains 181 terms.

Both imaginary time evolution and gradient descent optimize this same circuit. The comparison therefore concerns the update method within a fixed representational constraint.

The authors consider initialization near the Hartree–Fock state and initialization from uniformly random parameters. The near-Hartree–Fock runs include random parameter perturbations bounded by π/50. The random-start condition is a harder test because it removes the benefit of beginning near a chemically motivated reference.

For each method, the authors choose the largest tested stable step size under a rule requiring monotonic energy reduction during the first 200 iterations. These selected values differ:

LiH maximum stable timestep under the initial monotonicity check Gradient descent accepts a larger timestep, while imaginary time gives better reported convergence.

**The numbers**

| System or setting | imaginary time timestep |
| --- | --- |
| Gradient descent | 0.886 |
| Variational imaginary time (this paper) | 0.225 |

The chart compares a numerical integration setting, rather than solution accuracy. A larger stable step in parameter coordinates does not on its own imply faster progress toward the ground state. The update directions differ, so the selected step sizes must be interpreted together with the convergence results.

The noise-free convergence figure summarizes 1280 simulations for each reported initialization condition. A run counts as converged when its energy comes within 1 mHartree of the true ground-state energy of the simulated Hamiltonian.

The main curves report the fraction of runs that have met that criterion by a given iteration. Separate curves report average proximity to the ground state among the runs that have already converged.

That restriction on the average is important. It describes the quality of successful runs, not the average quality of every run. The success fraction and the conditional energy proximity answer complementary questions.

Under these conditions, imaginary time reaches the ground-state neighborhood faster and with a higher convergence rate than gradient descent. The advantage is most prominent for random initialization. The paper also reports better energy accuracy.

The prose does not give exact success percentages for the individual curves. As a result, the supported quantitative account consists of the trial count, accuracy criterion, circuit size, initialization rules, and selected step sizes, alongside the authors’ qualitative comparison of convergence behavior.

#### The LiH simulator uses an important computational shortcut

The H₂ tests simulate the full proposed experimental routine. The larger LiH tests accelerate the classical simulation by directly constructing each ansatz derivative wavefunction.

This shortcut permits derivative overlaps to be computed as classical inner products. The A matrix can then be assembled from N_p derivative-state evaluations rather than the N_p² circuit evaluations associated with the full experimental measurement routine.

The simulator also constructs the Hamiltonian-applied state once per iteration and uses overlaps with derivative states to populate C. This reduces the work required for the numerical experiment.

Direct access to these wavefunctions is a simulation convenience, not a capability assumed for quantum hardware. The authors explicitly note that recovering such wavefunctions experimentally would require measurements growing exponentially with qubit count.

The shortcut therefore supports investigation of the update dynamics, while leaving the physical measurement costs to a separate resource analysis. Reading the LiH simulation as an execution of every hardware measurement would overstate what was performed.

#### Noise tests examine both sampling and gate errors

The noisy LiH study starts from uniformly random parameters and runs for 2000 iterations. Each plotted point summarizes 100 trials. Success again means finishing within 1 mHartree of the reference ground-state energy.

The assumed gate-error rate is 10⁻⁴ per gate. Sampling uncertainty is varied separately for entries of A and Hamiltonian contributions used in C.

N_A denotes the measurement count used for a matrix entry. N_C denotes the measurement count associated with a Hamiltonian contribution in the vector calculation. Imaginary time requires both kinds of estimate; gradient descent uses the vector estimates.

The authors find that imaginary time can retain a substantial advantage even when its matrix entries receive much less sampling than its vector terms. This matters because estimating A is the additional quantum-measurement burden introduced by the method.

The advantage has a boundary. When N_C \< 2 × 10⁴, improving the precision of A cannot reliably rescue the procedure. In that regime, imaginary time can perform worse than gradient descent.

The result identifies the energy-related vector as a critical source of uncertainty. Better information about how the circuit changes cannot compensate indefinitely for an unreliable direction of energy improvement.

The noise treatment is deliberately simple. Gate errors reduce expected measurement values toward zero, while sampling fluctuations are introduced into the quantities used by the optimizer. These tests demonstrate behavior under those assumptions, instead of a complete characterization of processor noise.

#### Resource estimates put the improvement in perspective

The paper expresses gradient-vector measurement cost as:

```
O(N_C N_H N_p)
```

N_C is the sampling count per Hamiltonian contribution, N_H is the number of Hamiltonian terms, and N_p is the ansatz parameter count. O indicates the scaling estimate.

For imaginary time, the corresponding estimate is:

```
O(N_C N_H N_p + N_p²N_A)
```

The additional term accounts for measuring the ansatz matrix. N_A is the sampling count per matrix element.

If a Hamiltonian has many more terms than the circuit has parameters, the common vector calculation can dominate the cost. The authors explicitly say that this favorable domination does not apply to their LiH example.

Their practical argument instead combines several observations: A can tolerate lower sampling precision in useful settings, imaginary time converges faster in the molecular comparison, and gradient descent more often remains in undesirable minima.

Together, these observations motivate the expectation of fewer total measurements for successful ground-state searches. They do not constitute a general measured advantage over every optimizer or every ansatz.

The paper states that the supporting code and data can be obtained from the corresponding author on reasonable request. It names the simulation and chemistry packages used, but does not present a public repository as part of its availability statement.

### What the ablations show

#### Changing the toy system exposes the role of expressiveness

The paper’s toy examples provide a controlled investigation of the optimization mechanism. They compare imaginary time and gradient descent on deliberately small energy landscapes.

System A uses a diagonal Hamiltonian whose entries are 1, 2, 3, and 0. Its parameterized circuit includes an X rotation and a controlled Y rotation. An additional parameter represents global phase.

In the displayed trajectories, imaginary time reaches the global energy minimum throughout the illustrated landscape, whereas gradient descent can stop in local minima. This demonstrates that the A-dependent update can materially change optimization behavior even when both methods use the same objective.

System B alters both the Hamiltonian and the ansatz. Its diagonal Hamiltonian entries are 1, 1, 2, and 0, and its circuit introduces a shared rotation parameter acting on both qubits.

Here, imaginary time no longer avoids all traps. Its performance becomes comparable to gradient descent, and both methods can converge to undesirable minima.

The contrast rules out a broad interpretation of the favorable first example. Projecting imaginary time onto a restricted ansatz does not preserve the unrestricted process’s ground-state guarantee. The circuit can constrain the available motion enough to reintroduce local optimization failures.

The phase parameter also illustrates a representational detail that can affect dynamics. It is included so the other parameters are not forced to accommodate changing global phase. Though this phase does not change the measured energy landscape, the authors treat its handling as relevant to variational evolution.

#### Changing initialization tests dependence on a good starting state

The LiH experiments hold the Hamiltonian and circuit fixed while changing how the parameters are initialized. Starting near Hartree–Fock supplies useful prior structure. Uniformly random parameters remove that advantage.

Imaginary time performs better in both reported conditions, with the clearest improvement under random initialization. This supports the claim that the benefit extends beyond polishing a carefully prepared chemical reference.

It also explains why the authors discuss optimization applications in which good initial states are difficult to motivate. However, that connection is an argument for further testing. The paper does not include a separate general optimization benchmark.

Random initialization also leaves an important distinction intact: the observed convergence frequency concerns the tested parameter distribution. It does not imply success from every state allowed by the circuit.

#### Changing measurement allocation isolates an accuracy bottleneck

The noise experiment varies matrix sampling and vector sampling separately. This is more informative than a single test in which every measurement count rises together.

Increasing N_A asks whether a more accurate ansatz matrix improves convergence. Increasing N_C asks whether a more accurate energy-related direction improves it.

The reported low-N_C failure shows that these improvements are not interchangeable. An accurate matrix cannot reconstruct information missing from a noisy vector. Conversely, useful performance with relatively small N_A suggests that demanding equal precision everywhere would be unnecessarily expensive in some tested settings.

This analysis supplies the empirical basis for reducing the additional matrix-measurement burden. It supports a component-specific allocation of resources, with the qualification that the allocation was investigated for the particular LiH setup.

#### Changing the linear solver shows why stabilization matters

The supplementary numerical discussion compares Tikhonov regularization with LU decomposition, least-squares minimization, singular value decomposition, and truncated singular value decomposition.

Tikhonov regularization permits a larger usable timestep in the authors’ tests. The discussion also identifies problems at both extremes of its strength.

Without regularization, numerical residuals in the inverse calculation can interfere with monotonic energy reduction. With excessive regularization, parameter changes become too restricted and the procedure can settle above the ground state.

These observations show that regularization is consequential, instead of an implementation detail with no scientific effect. The reported algorithm includes a rule for selecting and bounding its strength.

The paper does not give a complete numerical performance table for every solver. Its evidence supports the stated choice for these simulations, without establishing a universal ordering of linear-system methods.

#### The universal H₂ circuit separates representation error from integration error

The H₂ experiment is another controlled comparison, although it is not a component-removal ablation. Using a universal ansatz makes the desired trajectory representable.

With that obstacle removed, the variational evolution can be compared directly with exact imaginary time evolution. The remaining discrepancy is attributed to the finite Euler step.

Together with the restricted LiH circuit and the adversarial toy system, this creates a useful progression of evidence. The method can track the target process when representation permits it; it can remain useful when the representation is restricted; and it can fail when that restriction obstructs the required motion.

### Limitations

#### Author-stated: the circuit may exclude the required states

The most important limitation is the ansatz. The authors explicitly acknowledge that a selected circuit may fail to represent states encountered during exact imaginary time evolution.

Even if the relevant physical states occupy a limited part of the full space, it remains difficult to prove that a practical ansatz contains them. Numerical success on particular examples does not resolve this representability question in general.

For ground-state search, the authors argue that modest deviations from the exact path may be acceptable. But their qualification is essential: approximation errors must not trap the procedure in an undesirable minimum.

The adversarial toy example demonstrates precisely such a failure. An energy-lowering variational trajectory can still end at the wrong destination because the allowed state changes are too restrictive.

Developing ansätze suited to imaginary time is therefore part of the open research problem. The update rule cannot independently repair every limitation of the state family.

#### Author-stated: energy descent depends on numerical conditions

The paper’s energy-decrease result applies with sufficiently small updates and the stated mathematical treatment of A. It does not license arbitrary timesteps.

The molecular work selects step sizes through an empirical monotonicity check over an initial interval. That is a practical stability procedure, not a proof covering every later noisy update.

Regularization adds another qualification. It changes the parameter direction to control instability, and the supplementary discussion reports that both inadequate and excessive stabilization can cause problems.

Measurement error further separates the mathematical evolution from its implementation. A noisy estimate of the local system may generate a poor update even when the exact equation would lower energy.

A careful interpretation therefore keeps the ideal variational argument, the finite-step integrator, the regularized solver, and the noisy estimates distinct. Their combined behavior is what the numerical experiments assess.

#### Author-stated: inaccurate vector estimates can erase the advantage

The noisy comparison establishes a clear boundary on the resource argument. Reducing matrix sampling can work, but the vector still needs adequate precision.

The reported condition involving N_C shows that more accurate matrix measurements do not always translate into better optimization. Once the energy-related direction becomes too uncertain, additional information about the ansatz offers limited help.

This is relevant to the claim of hardware suitability. The method can use shallow circuits and may tolerate some measurement imprecision, but it still depends on obtaining sufficiently useful estimates from those circuits.

The paper’s favorable noise results should therefore be read together with its unfavorable sampling regime. Both are part of the evidence about practical performance.

#### Setup-based: the molecular demonstrations are small and preprocessed

The tested molecular Hamiltonians are carefully reduced problems. H₂ uses a minimal basis and a two-qubit reduction. LiH uses a minimal basis and an active-space construction informed by a classical configuration-interaction calculation.

For LiH, orbital occupations justify freezing a nearly filled core orbital and removing a nearly empty orbital. These choices make the quantum calculation smaller, but also define an approximation before the variational optimization begins.

The simulated ground-state reference is exact for that resulting Hamiltonian. Reaching it does not remove the basis and active-space approximations used to construct the problem.

The study consequently demonstrates behavior on selected small chemistry instances. It does not show how the entire procedure scales across a broad range of molecules, orbital spaces, or circuit designs.

Nor does the H₂ result imply that universal ansätze are generally inexpensive. Its purpose is to verify the dynamics in a setting where representation is sufficiently flexible.

#### Setup-based: the baseline is specific

The main molecular baseline is VQE with gradient descent. This is a meaningful comparison because it shares the energy objective and circuit while omitting the ansatz matrix.

It does not represent every possible classical optimizer. The paper itself describes gradient descent as a canonical choice and leaves broader optimizer comparisons for further investigation.

As a result, the result supports superiority over the tested gradient-descent procedure under the reported conditions. It does not establish that imaginary time is the best optimization rule for all variational quantum calculations.

The choice of separate stable step sizes strengthens the comparison by avoiding a single arbitrary setting. Nonetheless, conclusions still belong to the reported tuning rule, solver choices, initialization distributions, and convergence criterion.

#### Setup-based: noise tests simplify experimental behavior

The gate-error treatment pushes expected values towards zero through mixing with a fully mixed state. Sampling uncertainty is then represented statistically in the estimated coefficients.

For the LiH circuits, the discussion uses D ≈ 100 gates and a resulting shrinkage factor ε ≈ 0.99. These are assumptions and approximations within the numerical noise treatment.

The study does not report execution on a quantum processor. It therefore cannot establish that every experimental error source will affect optimization in the same way as the simulated perturbations.

The same caution applies to error mitigation. Compatibility with mitigation methods is a proposed practical benefit, supported by the algorithm’s structure and earlier techniques discussed by the authors. A complete mitigated hardware demonstration is outside the reported experiments.

#### Setup-based: the simulation does not measure full hardware cost

The LiH implementation obtains derivative states directly and calculates overlaps classically. This accelerates the numerical study but bypasses the repeated measurement work required by a physical device.

The resource formulas address that work analytically, and the shot-noise experiments investigate some consequences of finite sampling. Neither should be confused with a measured end-to-end hardware runtime.

The paper’s expectation of a lower total measurement burden combines faster convergence with tolerance for less precise matrix estimates. It remains an expectation informed by the reported tests, rather than a universal resource theorem.

Classical preprocessing, regularization selection, circuit preparation, and measurement all contribute to a practical implementation. The paper does not establish a general crossover at which the complete workflow surpasses every classical alternative.

#### Proposed applications are broader than the demonstrations

The authors discuss general optimization through QAOA, thermal-state preparation, and quantum machine-learning applications. These proposals follow from the usefulness of imaginary time and Gibbs distributions, but they are not separately benchmarked.

Thermal-state preparation also concerns density operators rather than only the pure-state trajectories used for the molecular ground-state experiments. The discussion supplies the target thermal form without a comparable empirical study of preparation quality.

Likewise, favorable random-start behavior in LiH motivates optimism about optimization problems lacking a natural initial guess. It does not substitute for testing such problems.

The distinction is one of evidence scope. The paper demonstrates a variational imaginary time algorithm through molecular simulations and analyzes important numerical conditions. Its broader applications remain research directions.

### What came after

A specific account of later papers building on this work cannot be established from the citation material associated with this article. The earlier methods discussed by the authors should not be presented as subsequent developments.

The paper itself identifies several directions for continuation. One is to design circuit families better matched to imaginary time evolution, reducing the risk that representation constraints obstruct ground-state search. Another is to compare the update rule more extensively with conventional optimization methods.

The authors also propose combining the method with QAOA for general optimization, particularly where a useful starting state is difficult to choose. Their random-initialization results motivate that proposal, while leaving the optimization benchmarks to future investigation.

Thermal-state preparation supplies another path. The target Gibbs state is:

```
ρ_T = e^(−H/T)/tr(e^(−H/T))
```

ρ_T is the thermal density operator, H is the Hamiltonian, T is temperature, and tr is the trace that normalizes the operator. The authors connect sampling from such states to quantum machine learning and argue that their shallow-circuit approach could be useful there.

Finally, the paper points towards combining variational imaginary time with error mitigation. These directions describe the research program opened by the work. The established result remains narrower and concrete: parameterized quantum circuits can approximate imaginary time through measured local information and classical updates, with favorable molecular optimization behavior and identifiable limits imposed by representation, numerical stability, and measurement accuracy.

## Cite

Cite as Sam McArdle, Tyson Jones, Suguru Endo, Ying Li, Simon C. Benjamin and Xiao Hui Yuan. 2019. Variational ansatz-based quantum simulation of imaginary time evolution. npj Quantum Information.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1038/s41534-019-0187-2](https://doi.org/10.1038/s41534-019-0187-2) · [arXiv 1804.03023](https://arxiv.org/abs/1804.03023)

```bibtex
@inproceedings{mcardle2019variational,
  title = {{Variational ansatz-based quantum simulation of imaginary time evolution}},
  author = {Sam McArdle, Tyson Jones, Suguru Endo, Ying Li, Simon C. Benjamin and Xiao Hui Yuan},
  booktitle = {npj Quantum Information},
  year = {2019},
  doi = {10.1038/s41534-019-0187-2},
  eprint = {1804.03023},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1038/s41534-019-0187-2}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
