Variational Quantum Eigensolver (VQE) – Overview
Track: Variational & NISQ Algorithms · Difficulty: Intermediate · Est: 14 min
Variational Quantum Eigensolver (VQE) – Overview
Overview
VQE is a variational algorithm designed to estimate the ground-state energy of a quantum system.
In many scientific and engineering problems, you have a Hamiltonian (an energy operator) and you want:
- the lowest possible energy value (ground-state energy)
- and sometimes an approximation of the corresponding ground state
VQE matters in the NISQ era because many “textbook” quantum approaches to eigenvalues, like full Quantum Phase Estimation (QPE), require deep, precise circuits. VQE instead uses a hybrid quantum–classical loop with relatively shallow circuits and many repeated measurements.
Intuition
Why we care about ground-state energy
Ground states are where many physical systems “live” at low temperature. Knowing the ground-state energy can tell you:
- whether a configuration is stable
- how a system changes when parameters change
- what the lowest-energy arrangement looks like
Why QPE is impractical on NISQ
QPE is powerful, but it tends to require:
- long coherent evolution
- controlled operations that are deep
- high fidelity across many steps
NISQ devices have limited coherence time and noisy gates. So VQE takes a different approach:
- don’t try to compute the eigenvalue directly via long coherent interference
- instead, propose a family of “guess states,” evaluate their energy, and improve the guess
The hybrid loop (the core idea)
VQE repeats a simple cycle:
- The quantum computer prepares a parameterized state .
- The quantum computer measures the energy estimate .
- A classical optimizer updates to try to reduce the energy.
Over time, the parameters move toward a lower-energy state.
Formal Description
VQE relies on a variational principle:
- For any normalized state , the expected energy is always at least the true ground-state energy.
So if you can find a state with low expected energy, you have an upper bound on the ground energy.
In VQE you choose an ansatz (a parameterized circuit) that produces states . You then try to solve the optimization problem:
- minimize the cost function
Key realities (important for honesty):
- You only minimize over the states your ansatz can reach.
- Noise and finite sampling mean you don’t observe the true expectation value, only an estimate.
- A “low energy” result is evidence, not a proof, that you found the true ground state.
Worked Example
Consider a 1-qubit toy Hamiltonian:
The two eigenstates are:
- with energy +1
- with energy −1 (the ground state)
Pick a simple ansatz:
- prepare
As you vary , the state moves from toward .
Energy measurement:
- measuring tells you the expected energy
A classical optimizer would push toward the value that makes the energy as low as possible. In the ideal case, it converges to with energy −1.
This tiny example shows the full VQE shape:
- parameterized circuit
- expectation-value measurement
- classical optimization
Turtle Tip
VQE is “search for the lowest energy” using a hybrid loop. The quantum computer evaluates energies; the classical computer decides how to change parameters.
Common Pitfalls
- Treating VQE as a guaranteed ground-state solver. It is limited by ansatz expressivity, optimization difficulty, and noise.
- Thinking VQE avoids hard quantum problems. It often replaces deep circuits with many measurements and a hard classical optimization.
- Over-interpreting a single final energy number. You also need to consider uncertainty, noise bias, and whether the ansatz can represent the true ground state.
Quick Check
- What quantity does VQE try to minimize?
- Why is QPE often impractical on NISQ devices?
- Name the three steps of the VQE hybrid loop.
What’s Next
Next we focus on a make-or-break component of VQE: ansatz design. The choice of parameterized circuit determines which states are reachable and how difficult optimization will be.
