Skip to main content
KetQat

Appearance

Algorithm · intermediate

Variational quantum eigensolver (VQE)

A hybrid loop in which a quantum device prepares a parameterized trial state and estimates its energy, and a classical optimizer updates the parameters to lower it; the output is an upper bound on the ground energy, up to sampling and device error.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Input. H=∑jαjPjH = \sum_j \alpha_j P_j on nn qubits; an ansatz ∣ψ(θ⃗)⟩=U(θ⃗)∣ψ0⟩\ket{\psi(\vec\theta)} = U(\vec\theta)\ket{\psi_0} with pp parameters; a classical optimizer; a shot budget per energy evaluation.

Procedure.

  1. Choose initial parameters θ⃗(0)\vec\theta^{(0)} (for chemistry often those that make U(θ⃗(0))U(\vec\theta^{(0)}) the identity, so the trial state is the Hartree–Fock reference).
  2. For t=0,1,2,…t = 0, 1, 2, \dots: prepare ∣ψ(θ⃗(t))⟩\ket{\psi(\vec\theta^{(t)})} repeatedly, measure the Pauli terms (grouped where they commute), and form the estimate E^(θ⃗(t))=∑jαjp^j\hat E(\vec\theta^{(t)}) = \sum_j \alpha_j \hat p_j. If the optimizer uses gradients, estimate them with the parameter-shift rule.
  3. Pass the estimates to the classical optimizer, which returns θ⃗(t+1)\vec\theta^{(t+1)}; stop when the estimated energy or gradient no longer changes beyond its statistical error.
  4. Output the final parameters and the energy estimate.

Guarantee. Only the variational principle: every exactly evaluated energy is at least the ground energy E0E_0. Nothing guarantees that the optimizer finds the best parameters, that the ansatz contains a state close to the ground state, or that the number of iterations is small; the energy estimate carries the statistical error quantified by the measurement-cost formula and any bias from device noise.

The method was introduced and demonstrated on a photonic processor by Peruzzo et al. and given a general framework by McClean, Romero, Babbush and Aspuru-Guzik. Adaptive variants grow the ansatz one generator at a time, choosing at each step the operator from a pool with the largest energy gradient (Grimsley, Economou, Barnes and Mayhall).

Holds when

  • A Hamiltonian given as a Pauli sum H=∑jαjPjH = \sum_j \alpha_j P_j (for fermions, after a fermion-to-qubit mapping).
  • A parameterized circuit that can be run repeatedly, and measurements of each Pauli term (or of commuting groups of terms).

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Alberto Peruzzo, Jarrod McClean, Peter Shadbolt, … Jeremy L. O'Brien (2014). A variational eigenvalue solver on a photonic quantum processor. Nature Communications 5, 4213. doi:10.1038/ncomms5213arXiv:1304.3061
  2. Jarrod R. McClean, Jonathan Romero, Ryan Babbush, Alán Aspuru-Guzik (2016). The theory of variational hybrid quantum-classical algorithms. New Journal of Physics 18, 023023. doi:10.1088/1367-2630/18/2/023023arXiv:1509.04279
  3. Harper R. Grimsley, Sophia E. Economou, Edwin Barnes, Nicholas J. Mayhall (2019). An adaptive variational algorithm for exact molecular simulations on a quantum computer. Nature Communications 10, 3007. doi:10.1038/s41467-019-10988-2arXiv:1812.11173
  4. M. Cerezo, Andrew Arrasmith, Ryan Babbush, … Patrick J. Coles (2021). Variational quantum algorithms. Nature Reviews Physics 3, 625-644. doi:10.1038/s42254-021-00348-9arXiv:2012.09265

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Procedure and the variational-principle-only guarantee checked against theorem/rayleigh-ritz-variational-principle and Cerezo et al. arXiv:2012.09265; attributions: Peruzzo et al. (photonic processor, Nat. Commun. 5, 4213), McClean et al. (NJP 18, 023023, general theory), ADAPT-VQE compared with Grimsley et al. arXiv:1812.11173 abstract (ansatz grown one operator at a time; gradient criterion is the published selection rule). Reference metadata compared with Crossref.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 40db163f2afac08f. Source file knowledge/records/algorithm/variational-quantum-eigensolver.md in the content repository (readable there once it is public).