Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

ADAPT-VQE

A variational method that grows an ansatz by selecting operators from a pool using measured objective sensitivity.

Edition released Coverage: Overview · Technical
On this page

Definition, purpose and input assumptions

ADAPT-VQE constructs a circuit incrementally instead of fixing the entire ansatz in advance. At each stage it evaluates candidate operators, appends a useful one, and reoptimizes parameters. The operator pool, selection rule and stopping criterion are part of the method. Adaptive construction is internal algorithm design, not a user learning sequence.

Mathematical mechanism

For Hermitian generator A appended as exp(-i theta A), the energy derivative at theta=0 is i<psi|[A,H]|psi>. Its magnitude measures local first-order sensitivity along that candidate direction. A zero gradient for every operator in an incomplete pool does not prove that the state is the global ground state.

Fully solved reference example

Let H=Z and current state |+>. Candidate A=Y/2 gives [Y/2,Z]=iX, so i<[A,H]>=-<X>=-1. A small positive theta lowers energy. Candidate A=Z/2 commutes with H and gives gradient0.

The selected Y rotation produces R_Y(theta)|+>, whose Z expectation is -sin(theta). Optimizing theta to pi/2 reaches |1> with energy -1. This exact qubit example shows a successful operator choice and reoptimization. If the pool contained only Z rotations, every gradient would vanish at energy 0 even though the true ground energy is -1.

Limitations and classical comparison

Evaluating a large operator pool can require many measurements; a shallow final circuit does not mean inexpensive training. Noisy gradients can change operator selection. Classical chemistry-informed ansatzes and adaptive classical methods are meaningful comparisons under matched energy accuracy.

Scientific relationships

ADAPT-VQE generalizes fixed-ansatz VQE through operator selection and uses commutator-based gradient estimates. It is distinct from a guarantee of global optimization or exactness at a finite stopping tolerance.

A two-qubit pool that detects a missing correlated direction

Let H=Z0+Z1+X0X1 and begin at |00>, whose energy is two. Single-qubit generators X0/2,Y0/2,X1/2,Y1/2 all have zero energy gradient at this state. Their tangent directions connect |00> to one-excitation states, whereas the off-diagonal Hamiltonian term connects |00> directly to |11>. The absence of a local first-order signal is therefore a property of the tested directions, not evidence that the current energy is optimal.

Include the pair generator A=Y0X1/2. Its gradient is i<[A,H]>=1 at |00>. The contribution from X0X1 is Z0, with expectation one, while the other commutator terms have zero expectation on the reference. A small negative parameter lowers the energy. The appended operation exp(-iθA) prepares cos(θ/2)|00>+sin(θ/2)|11>, and its energy is 2 cos θ+sin θ.

Minimizing this single-angle function gives energy -√5, attained for example at θ=-π+atan(1/2). The even-parity block of H is [[2,1],[1,-2]], so -√5 is its exact lower eigenvalue. The odd-parity block has eigenvalues -1 and 1; hence this correlated one-factor ansatz reaches the full ground state of the synthetic two-qubit Hamiltonian. The successful selection is fully established by the spectrum, not inferred merely from a negative local slope.

Pool redundancy and insertion conventions

The alternative generator X0Y1/2 has the same action on the even-parity subspace and the same initial gradient. Either is an equally good first choice in this example. Appending both consecutively while the state remains in that subspace introduces redundant parameter directions: only their combined angle affects the state. The operators are different on the full Hilbert space, so this redundancy is conditional on the preserved sector rather than an operator identity.

The commutator formula assumes that the candidate factor is appended at the specified end of the current state-preparation circuit. Inserting it earlier changes the state and observables seen at that location, so the relevant derivative is conjugated by the surrounding circuit. An implementation must keep the candidate's insertion position, generator normalization, and sign convention aligned with its gradient score.

For an anti-Hermitian generator K, the derivative is <[H,K]>. For a Hermitian A in exp(-iθA), it is i<[A,H]>. These formulas agree when K=-iA. Confusing a Pauli generator P with P/2 changes the derivative by a factor of two and can alter step sizes or selection thresholds even when the ordering of absolute scores happens to remain the same.

Zero gradients can occur at an excited eigenstate

Now remove the X0X1 term and take H'=Z0+Z1 with the same reference |00>. It is an exact eigenstate of energy two, while the ground state |11> has energy minus two. For every operator A, the commutator expectation vanishes because <ψ|AH'|ψ>=2<ψ|A|ψ> and <ψ|H'A|ψ>=2<ψ|A|ψ>. Even a complete set of first-order directions therefore has zero gradient at this excited eigenstate.

Along the pair rotation above, the energy is 2 cos θ. Its first derivative at zero is zero, but its second derivative is minus two, revealing a direction of negative curvature. This gives a precise limitation of a gradient-only stopping test: it identifies stationarity in the tested tangent directions, not global minimality. A method may need a different reference, a finite perturbation, curvature information, or another criterion to move away from such a point.

Pool incompleteness is a separate failure mechanism. For the original H, a pool restricted to single-qubit directions misses a nonzero correlated gradient. For H', all first-order gradients vanish even without that restriction. The two examples should not be conflated, because enlarging the pool repairs the former immediately but does not by itself create a first-order signal in the latter.

Measurement and reoptimization costs

If a Hamiltonian has L Pauli terms and a pool has M Pauli generators, commutator scores involve products of those terms and generators. Commuting pairs contribute zero; anticommuting pairs produce Hermitian Pauli observables after the factor of i is included. Repeated products and symmetries can allow data reuse, but a shallow final ansatz does not imply that scoring the full pool was inexpensive.

Noisy score selection also has a multiple-comparison effect: taking the largest observed magnitude can favor a statistical fluctuation. Confidence intervals should match the number of tested candidates and their measurement ranges. When two true scores are tied, as in the pair-generator example, a deterministic tie rule makes the resulting circuit description reproducible without pretending that one direction is scientifically better.

After appending a new generator, reoptimizing earlier parameters can improve the state within the enlarged family. Holding them fixed defines a different greedy procedure. Total cost includes pool evaluation, all subsequent objective evaluations, state preparation, and the classical optimizer, not only the number of final factors. A classical exact eigensolver completely solves this four-dimensional example and supplies the reference energy.

Sources

  • Harper R. Grimsley; Sophia E. Economou; Edwin Barnes; Nicholas J. Mayhall · · Research paper · Preprint recorded · arXiv · DOI 10.1038/s41467-019-10988-2
    Verification scope

    Recorded source check ·

    Full primary text indexed, 11 pages, 1100 lines; operator-pool gradient selection and adaptive ansatz reoptimization inspected.

    Source-access record and selected assumptions only; no exhaustive external review, new hardware run, or generalized empirical-advantage claim.

  • Jonathan Romero; Ryan Babbush; Jarrod R. McClean; Cornelius Hempel; Peter Love; Alan Aspuru-Guzik · · Research paper · Preprint recorded · arXiv
    Verification scope

    Recorded source check ·

    Full primary text indexed, 18 pages, 2169 lines; excitation ansatz and implementation context inspected. Header date is recorded separately from baseline arXiv revision date.

    Source-access record and selected assumptions only; no exhaustive external review, new hardware run, or generalized empirical-advantage claim.