Quantum Algorithms Database

Variational Quantum Eigensolver (VQE)

A hybrid quantum-classical algorithm for finding the lowest energy state of a molecule or material, designed to work on noisy near-term hardware.

Last reviewed September 30, 2026. Check the linked sources for anything that may have changed since.

Year

2014 (experiment); 2016 (theory)

Inventor(s)

Alberto Peruzzo and collaborators (2014); Jarrod McClean, Jonathan Romero, Ryan Babbush, and Alán Aspuru-Guzik (2016)

Speedup Type

Heuristic (No Proven Speedup)

Difficulty

★★★☆☆

Overview

The variational quantum eigensolver, or VQE, is a hybrid algorithm for finding the lowest-energy state of a quantum system, which is the central problem of quantum chemistry. A quantum computer prepares a trial state controlled by a small set of adjustable angles and measures its energy, and a classical optimizer adjusts the angles to lower that energy, repeating until it converges.

VQE was designed for the noisy devices of today. It uses short circuits that fit within the limited coherence time of current hardware, and it replaces the deep circuits of quantum phase estimation with many repeated shallow runs.

The problem

Finding the ground-state energy of a quantum system (like a molecule), which is exponentially hard to compute classically as system size grows.

History

VQE was introduced in 2014 by Peruzzo and colleagues in Nature Communications, who ran it on a two-qubit photonic processor to compute the ground-state energy of the helium hydride ion. McClean and collaborators generalized the approach in 2016, and the same year researchers at Google, including O'Malley, ran it on a superconducting chip to compute the energy of molecular hydrogen across bond lengths.

In 2017, IBM's Kandala and colleagues used a hardware-efficient ansatz to compute energies of hydrogen, lithium hydride, and beryllium hydride on up to six qubits. Later work added adaptive ansatz construction such as ADAPT-VQE in 2019, and in 2018 McClean and colleagues identified barren plateaus, regions where gradients vanish exponentially, which remain a central obstacle. In 2020, Google ran Hartree-Fock-based calculations on 12 qubits.

Intuition

VQE rests on the variational principle from quantum mechanics: the energy of any trial state is at least the true ground-state energy. So if you search over a family of states and minimize the energy, the best energy found is an upper bound on the true value, and a better ansatz gets closer.

The quantum computer's job is to prepare states from a parameterized family and estimate the energy, which is a sum of many simple terms called Pauli strings. Each term is measured separately by rotating the basis and counting outcomes. The classical computer sums the terms, updates the parameters, and repeats. The quantum computer is used for what classical computers struggle with, representing entangled states, while the classical optimizer handles the rest.

The design of the ansatz involves a trade-off. Chemically motivated ansatzes, such as unitary coupled cluster, are accurate but deep. Hardware-efficient ansatzes use gates native to the device and are shallow but may not represent the right state and can suffer from barren plateaus.

How it works

A quantum computer prepares trial states and measures their energy, while a classical optimizer iteratively adjusts parameters to minimize that energy — splitting the work between quantum and classical hardware.

  1. Write the molecular Hamiltonian in the second-quantized form and map fermions to qubits with the Jordan-Wigner or Bravyi-Kitaev transformation, producing a sum of Pauli strings.
  2. Choose an ansatz circuit with adjustable parameters, such as unitary coupled cluster or a hardware-efficient layered circuit, and pick initial parameters, often from Hartree-Fock theory.
  3. Run the circuit on the quantum computer and measure each group of commuting Pauli terms many times to estimate their expectation values.
  4. Combine the expectation values with their coefficients to obtain the energy estimate.
  5. Pass the energy to a classical optimizer such as COBYLA, SPSA, or gradient descent, which proposes new parameters.
  6. Repeat until the energy converges, and report the final energy and parameters.

Worked example

For molecular hydrogen in a minimal basis, the problem can be reduced to two qubits with a Hamiltonian containing about five Pauli terms. A simple ansatz applies a single rotation with one adjustable angle. Scanning that angle, the energy forms a curve with a minimum near minus 1.137 hartree at the equilibrium bond length of about 0.74 angstroms, which matches the exact answer.

Larger molecules require many more terms. A molecule with 12 qubits can have thousands of Pauli terms, and each must be measured with enough shots to keep statistical error below chemical accuracy, which is about 1.6 millihartree, or one kilocalorie per mole. This measurement overhead is one of the main practical difficulties.

Complexity and resources

Circuit depthShort and tunable, often tens to hundreds of gates
MeasurementsGrows with the number of Hamiltonian terms; millions of shots for realistic molecules
Classical optimizationMany iterations of a noisy, potentially non-convex search
Accuracy guaranteeNone: it gives an upper bound that depends on the ansatz and optimizer
Target accuracyChemical accuracy, about 1.6 millihartree

Hardware needs

A small to moderate number of qubits with gate errors low enough to keep the circuit useful, plus error mitigation.

Fast repeated execution, since thousands to millions of circuit runs are needed per energy evaluation.

A classical computer for optimization and for Hamiltonian preparation.

Real-world impact

One of the most promising NISQ-era applications, actively used in early quantum chemistry and materials science research, including drug discovery exploration.

Applications

Computing ground-state energies of small molecules and model systems such as the Hubbard model.

Exploring catalysts, battery materials, and drug fragments as a research tool.

Testing hybrid quantum-classical workflows and error mitigation techniques.

Serving as a benchmark and teaching example for variational algorithms.

Limitations

  • No quantum advantage over classical chemistry methods has been shown for VQE so far, and the molecules treated are small and classically solvable.
  • Barren plateaus can make training exponentially hard for deep or random ansatzes.
  • Noise limits accuracy, and measurement counts grow quickly with system size.
  • The optimizer can get stuck in local minima, and results depend on the starting point.

Common misconceptions

  • VQE does not guarantee the exact ground state, only an upper bound on its energy.
  • It does not make quantum chemistry easy today. Classical methods like coupled cluster and DMRG remain better for the molecules that devices can handle.
  • A small error in measured energy does not mean the state is correct, since energy errors can hide state errors.

How it compares

Quantum phase estimation offers accuracy guarantees but needs fault-tolerant hardware, while VQE runs on noisy devices without guarantees.

QAOA uses a similar hybrid loop for optimization problems instead of chemistry.

Quantum imaginary time evolution is an alternative that avoids a classical optimizer at the cost of deeper circuits.

Why it matters

VQE launched the era of hybrid quantum-classical computing and showed that useful-looking experiments are possible without error correction. It remains the standard workflow in quantum chemistry software such as Qiskit Nature, PennyLane, and OpenFermion.

It is also a lesson in limits. Careful studies of VQE have clarified how noise, optimization, and measurement cost can eliminate the potential advantage, which has pushed the field toward fault-tolerant algorithms for chemistry.

Where VQE came from

The variational quantum eigensolver was introduced in 'A variational eigenvalue solver on a quantum processor' by Alberto Peruzzo, Jarrod McClean, Peter Shadbolt, Man-Hong Yung, Xiao-Qi Zhou, Peter J. Love, Alan Aspuru-Guzik and Jeremy L. O'Brien (arXiv 1304.3061). The paper's motivation is that finding eigenvalues of certain operators for large quantum systems is intractable on conventional computers, and that quantum phase estimation can solve the problem but needs fully coherent evolution.

The authors propose an alternative that greatly reduces the coherence required, combined with a state-preparation method based on ansatz states tuned by classical optimisation. They implemented it with a small photonic quantum processor working together with a conventional computer, and used it to calculate the ground-state energy of the He-H+ molecule to within chemical accuracy. That demonstration is small, but it established the hybrid pattern that most near-term quantum chemistry work follows.

The loop: prepare, measure, update

VQE rests on the variational principle: the expected energy of any trial state is never lower than the true ground-state energy. So if you can prepare a family of states controlled by a few parameters and measure their energy, you can search for the parameters that minimise it, and the minimum is an upper bound on the ground-state energy.

In practice the quantum computer prepares the parametrised state with a short circuit (the ansatz), measures the expectation value of each term of the Hamiltonian, and returns a number. A classical optimiser such as gradient descent or a gradient-free method proposes new parameters. The loop repeats until the energy stops improving. The quantum part stays shallow, which is the whole point on noisy hardware, and the classical part carries the iteration.

  • Ansatz: a parametrised circuit that defines which states can be reached.
  • Measurement: the Hamiltonian is split into Pauli terms, each measured many times to estimate its average.
  • Optimiser: a classical routine that updates the parameters; noisy objective functions make this hard.
  • Result: an upper bound on the ground-state energy, only as good as the ansatz allows.

Why VQE is difficult in practice

Three problems recur in the research literature. First, the measurement cost: a molecule's Hamiltonian can have thousands or more Pauli terms, and each needs many repeated shots to reduce statistical noise, so the number of circuit executions grows quickly. Second, the optimisation landscape: for expressive ansatz circuits on many qubits the gradients can become extremely small, a phenomenon called barren plateaus, so the optimiser has nothing to follow. Third, ansatz choice: a chemically motivated ansatz tends to be deep, and a hardware-efficient ansatz may not contain the true ground state at all.

These issues are why VQE is best described as a promising method for the noisy era rather than a guaranteed route to quantum advantage. The original paper presents it as a way to make today's hardware more useful by lowering coherence requirements, and that claim is about feasibility, not about beating classical chemistry methods.

VQE compared with quantum phase estimation

Quantum phase estimation can in principle give the ground-state energy to arbitrary precision, but it needs long, coherent circuits that only fault-tolerant machines can run. VQE trades that precision and the formal guarantees for shallow circuits. A reasonable summary is that VQE is the near-term approach and phase estimation is the long-term one. Many researchers expect that, once error-corrected hardware exists, VQE-style methods will be used mainly to prepare good starting states for phase estimation.

Frequently asked questions

What is VQE used for?

Finding the ground-state energy of molecules and materials by combining a quantum processor with a classical optimizer.

Why is VQE called variational?

Because it varies the parameters of a trial state to minimize the energy, using the variational principle that any trial state's energy is at least the true minimum.

Does VQE beat classical methods?

Not so far. Results to date are on small molecules that classical computers handle easily.

What is a barren plateau?

A region of the parameter landscape where gradients become exponentially small with system size, making optimization extremely hard.

What is chemical accuracy?

An energy error of about 1.6 millihartree, or 1 kilocalorie per mole, which is roughly what is needed to predict chemical reaction rates reliably.

Related algorithms

References and further reading

Sources opened and checked on December 1, 2026. Resource estimates and claims change, so check the originals.

  1. A variational eigenvalue solver on a quantum processor (arXiv (Peruzzo et al.)) Opened. Source for the authors, motivation, He-H+ demonstration and chemical accuracy statement.
  2. Quantum measurements and the Abelian Stabilizer Problem (arXiv (A. Yu. Kitaev)) Opened. Background on the eigenvalue-measurement procedure behind phase estimation.

→ Read the full deep-dive in our Learning Center

← Back to Algorithms Database