---
title: Variational Quantum Eigensolver
url: https://www.emergentmind.com/topics/variational-quantum-eigensolver
type: topic
---

# Variational Quantum Eigensolver

The Variational Quantum Eigensolver (VQE) is a hybrid quantum-classical algorithm designed to estimate the ground-state energy and eigenstates of quantum many-body Hamiltonians, particularly in the context of quantum chemistry and condensed matter physics. By variationally minimizing an energy expectation value over a parameterized class of quantum circuits (ansätze), VQE leverages both near-term quantum devices for state preparation and measurement, and classical optimization routines for parameter updates. VQE’s adaptability to different Hamiltonian structures, its compatibility with noisy intermediate-scale quantum (NISQ) hardware, and ongoing algorithmic improvements have established it as the leading paradigm for quantum simulation in the NISQ era.

## 1. Fundamental Principles and Workflow

The VQE framework is built on the variational principle, which guarantees that the expectation value of a Hamiltonian $H$ evaluated in any trial quantum state $|\psi(\theta)\rangle$ yields an upper bound to the true ground-state energy $E_0$:
\[
E_0 \leq \langle\psi(\theta)|H|\psi(\theta)\rangle
\]
The algorithm operates by choosing a parameterized quantum circuit $U(\theta)$ that acts on a simple reference state (such as $|0\rangle^{\otimes n}$ or a product Hartree–Fock state), producing a variational state $|\psi(\theta)\rangle = U(\theta)|0\rangle^{\otimes n}$. The energy $E(\theta)$ is estimated by decomposing $H$ into a sum of observables, typically Pauli strings in quantum chemistry applications:
\[
H = \sum_a w_a P_a\qquad (P_a \in \{I,X,Y,Z\}^{\otimes n})
\]
Measured expectation values $\langle P_a \rangle_\theta$ are accumulated, and the result is fed into a classical optimizer, which proposes updates to the variational parameters $\theta$ to decrease $E(\theta)$ iteratively [2505.04768, 2512.22572].

## 2. Ansätze and Circuit Design

Effective ansatz construction is critical for VQE’s expressiveness and resource efficiency, as circuit depth and parameter count must balance hardware limitations with the need to capture complex many-body correlations.

- **Unitary Coupled Cluster (UCC) and variants:** For quantum chemistry, the Unitary Coupled Cluster Singles and Doubles (UCCSD) ansatz is widely used:
  \[
  |\psi_{\mathrm{UCC}}(\mathbf{t})\rangle = \exp\left(\hat{T} - \hat{T}^\dagger\right)|\Psi_{\mathrm{HF}}\rangle\;
  \]
  where $\hat{T}$ includes particle-hole excitations. The factorized/Trotterized form is common for hardware compatibility [2505.04768, 2302.08679]. Efficient application of high-rank UCC terms is enabled using linear-combination-of-unitaries (LCU) techniques that exploit hidden SU(2) algebras, allowing polynomial (cubic) CNOT scaling for rank-$n$ excitations, which is crucial for strongly correlated systems [2302.08679].

- **Hardware-Efficient Ansatz (HEA):** Layers of parameterized single-qubit rotations and entangling gates (such as CNOT or CZ) are composed to form shallow, device-friendly circuits. Block-structured ansätze tailored to hardware connectivity or evolved under genetic algorithms can further reduce CNOT counts and circuit depth, approaching chemical accuracy with an order-of-magnitude fewer two-qubit gates than fixed hardware-efficient circuits [2007.04424, 1910.09694].

- **Symmetry-Adapted and Problem-Inspired Design:** For lattice models and molecular systems with symmetry, ansätze invariant under $U(1)$, $SU(2)$, spatial, or permutation group actions exploit physical constraints to decrease parameter count and mitigate barren plateaus [1902.02663, 2308.10719].

- **Tensor Network and Qubit-efficient Constructions:** Quantum tensor network representations (e.g., MPS, PEPS) can be constructed via register reuse, enabling simulation of systems larger than available qubit counts, with resource scaling determined by the virtual bond dimension [1902.02663].

## 3. Measurement and Classical Optimization

The energy functional $E(\theta)$ requires the estimation of expectation values for each term in the Hamiltonian decomposition, often numbering $O(N^4)$ in molecular systems. Key strategies include:

- **Measurement grouping:** Exploit commutativity by partitioning the set of Pauli terms into groups that can be measured in a single basis, reducing the number of circuit evaluations [2505.04768, 2512.22572].

- **Hamiltonian sampling:** Variance-minimizing approaches (VVQE) and stochastic gradient descent via Hamiltonian term sampling can dramatically reduce measurement overhead by sub-sampling Hamiltonian terms to estimate both the energy and its variance, while retaining unbiasedness [2006.15781].

- **Gradient estimation:** Use of parameter-shift rules and analytic gradients enables efficient derivative computation even on hardware, essential for gradient-based optimizers. Gradient-free optimizers such as SPSA, COBYLA, and classical evolutionary strategies are routinely employed, with trade-offs in convergence reliability and shot efficiency [2512.22572, 2007.04424].

## 4. Algorithmic Variants, Extensions, and Error Mitigation

VQE admits a broad family of algorithmic extensions, addressing both performance and hardware limitations:

- **Variance Minimization and Excited States:** Optimizing a weighted sum of energy and variance (VVQE) allows direct targeting of arbitrary eigenstates (including low-lying excited states) without explicit orthogonality constraints; energy variance provides a certificate for eigenstate accuracy [2006.15781].

- **Contextual Subspace Approaches:** Hamiltonians are decomposed into a large “noncontextual” component (optimized classically) and a smaller “contextual” remainder handled by VQE with reduced qubit count, trading classical cost for quantum resource efficiency [2011.10027].

- **Measurement-Based VQE:** Alternatives to circuit-based state preparation leverage measurement-based quantum computation (MBQC), where entangled graph states and single-qubit measurements replace gate sequences, potentially lowering coherence time requirements and offering new ansatz families [2010.13940].

- **Photonic and Multi-platform Implementations:** VQE is hardware-agnostic and can be adapted to photonic, trapped-ion, or superconducting platforms. Photonic VQE leverages path, polarization, or orbital angular momentum modes for qubit and qudit encodings, exploiting low decoherence and mature optical infrastructure for NISQ applications [2512.18952].

- **Noise Mitigation and Denoising:** Techniques such as variational denoising with quantum autoencoders, zero-noise extrapolation, and Pauli noise inversion are used to recover ground-state energy accuracy and fidelity from noisy VQE outputs, leveraging either additional quantum neural networks or classical post-processing [2304.00549, 2512.22572].

- **Quasi-dynamical and Annealing-inspired Heuristics:** Sequential layer-wise VQE, where each new variational cycle is initialized to the previously optimized state with new parameters set to zero, can systematically lower the energy, reduce the impact of barren plateaus, and aid in escaping local minima [2202.10130].

## 5. Applications and Practical Performance

VQE has been extensively deployed on problems in quantum chemistry, strongly correlated electron systems (Hubbard, Heisenberg, XXZ, SU(N) rings), and combinatorial optimization. Notable benchmarks include:

- **Quantum chemistry:** For diatomics and small polyatomics (H₂, LiH, BeH₂, H₂O), VQE achieves chemical accuracy with $\sim$4–12 qubits, using UCC or evolved ansätze, matching full configuration-interaction energies within milli-Hartree errors on simulators and hardware [2505.04768, 2512.22572, 2007.04424, 2308.10719, 1909.09114].

- **Strongly correlated lattice models:** Simulations of SU(N) Hubbard rings, XXZ spin chains, and frustrated systems demonstrate the ability of VQE pipelines (ansatz mapping, measurement grouping, classical optimization) to resolve quantum phases (superfluid, Mott, beat), excitation spectra, and correlation functions within a few percent of exact results, even on NISQ devices [2106.15552, 2511.16721, 2005.00544].

- **Qubit resource and circuit depth efficiency:** Advanced evolutionary and genetic ansatz optimization protocols have yielded ground-state fidelities $>90-99\%$ with up to $18\times$ shallower circuits and $12\times$ fewer CNOTs than traditional UCCSD formulations. State-specific VQE methods directly target excited-state manifolds with the same hardware cost as ground-state VQE [1910.09694, 2007.04424, 2308.10719].

- **Hardware demonstration:** VQE routines have been realized on IBM Q and other quantum hardware, with optimization over ansatz depth, error mitigation, and warm-start heuristics required to robustly track ground-state energy curves and chemical reaction pathways [2512.22572].

## 6. Scalability, Barren Plateaus, and Resource Estimates

Scalability remains a central challenge for VQE:

- **Resource scaling:** Number of qubits is set by the number of spin-orbitals in the basis for quantum chemistry ($n=N_f$), while circuit depth per evaluation is determined by ansatz form—$O(N^5)$ for UCC, $O(kN^3)$ for $k$-UpCCGSD, $O(NL)$ for hardware-efficient circuits. Measurement circuits scale naively as $O(N^4)$ but can be compressed by grouping and sub-sampling [2505.04768, 2512.22572].

- **Barren plateaus:** Gradient vanishing with increasing system size or sign problem is acute for deep, unstructured ansätze, global cost functions, and certain fermion-to-qubit mappings (notably Jordan–Wigner in non-local models). Approaches such as symmetry constraints, adaptive ansatz growth, contextually-motivated subspace restriction, and quasi-dynamical evolution all serve to mitigate these effects [2202.10130, 2005.00544, 1902.02663].

- **Classical optimization cost:** Number of parameter updates is governed by convergence rate (gradient-based vs gradient-free), landscape ruggedness, and noise. Hybrid loop costs are dominated by quantum circuit evaluations per iteration.

A summary of scaling is provided in the following table, as presented in [2505.04768]:

| Ansatz/Approach           | Spatial complexity (qubits) | Circuit depth per energy | Energy measurements           |
|---------------------------|-----------------------------|-------------------------|-------------------------------|
| UCC(UCCSD)/UCCG           | $n=N_f$                     | $O(N^5)$                | $O(N^4)$                      |
| k-UpCCGSD                 | $n=N_f$                     | $O(k N^3)$              | $O(N^4)$                      |
| Hardware-efficient        | $n$                         | $O(nL)$                 | $O(M)$, $M\sim N_f^4$         |

## 7. Variants and Advanced Algorithms

Recent advances have generalized or extended VQE in several directions:

- **Non-orthogonal Variational Quantum Eigensolver (NOVQE):** By solving a generalized eigenvalue problem in a non-orthogonal ansatz subspace, NOVQE systematically improves accuracy without circuit deepening, using efficient off-diagonal measurement protocols and adaptive shot allocation to manage uncertainties [1909.09114].

- **State-Specific VQE and Excitation Targeting:** Construction of symmetry-adapted, multi-determinant references and totally (spatial) symmetric, spin-scalar unitaries allows for direct targeting of ground or excited electronic states with arbitrary symmetry, eliminating the need for additional ancillas or orthogonalization constraints [2308.10719].

- **Sparse Hamiltonian VQE:** Application to general sparse-matrix problems (fermionic, bosonic, quantum field theory) using one-sparse, self-inverse Hermitian decompositions, enlarging the applicable problem domains beyond Pauli-based models [2012.07171].

## References

- "Variational Quantum Eigensolver for SU($N$) Fermions" [2106.15552]
- "Contextual Subspace Variational Quantum Eigensolver" [2011.10027]
- "Variational quantum eigensolvers by variance minimization" [2006.15781]
- "Variational Denoising for Variational Quantum Eigensolver" [2304.00549]
- "Efficient application of the factorized form of the unitary coupled-cluster ansatz for the variational quantum eigensolver algorithm by using linear combination of unitaries" [2302.08679]
- "Improved variational quantum eigensolver via quasi-dynamical evolution" [2202.10130]
- "Tangent Vector Variational Quantum Eigensolver: A Robust Variational Quantum Eigensolver against the inaccuracy of derivative" [2105.01141]
- "Variational quantum eigensolvers for sparse Hamiltonians" [2012.07171]
- "A measurement-based variational quantum eigensolver" [2010.13940]
- "A Non-Orthogonal Variational Quantum Eigensolver" [1909.09114]
- "Photonic variational quantum eigensolver for NISQ-compatible quantum technology" [2512.18952]
- "Variational quantum eigensolver for chemical molecules" [2512.22572]
- "Quasiparticle Variational Quantum Eigensolver" [2511.16721]
- "MoG-VQE: Multiobjective genetic variational quantum eigensolver" [2007.04424]
- "An Introduction to Variational Quantum Eigensolver Applied to Chemistry" [2505.04768]
- "Ground or Excited State: a State-Specific Variational Quantum Eigensolver for Them All" [2308.10719]
- "Variational Quantum Eigensolver for Frustrated Quantum Systems" [2005.00544]
- "Variational Quantum Eigensolver with Fewer Qubits" [1902.02663]
- "A Domain-agnostic, Noise-resistant, Hardware-efficient Evolutionary Variational Quantum Eigensolver" [1910.09694]

For a comprehensive treatment of VQE algorithmic advances, especially as applied to specific model Hamiltonians, quantum platforms, error mitigation, and extensions for excited-state calculations or hardware-optimized ansatz design, see the cited works.

Source: https://www.emergentmind.com/topics/variational-quantum-eigensolver