Paper commentary
Variational Quantum Algorithms
Variational quantum algorithms split quantum computation between a shallow circuit and a classical optimizer
- Problem Near-term quantum devices have few qubits, limited connectivity and noise that caps circuit depth. Fault-tolerant machines are not expected soon, so useful computation needs a strategy built around these limits.
- Method Variational Quantum Algorithms run a parametrized quantum circuit and train its parameters with a classical optimizer. Instead of a deep circuit, the quantum computer estimates a cost while the classical side updates the parameters.
- Results The review surveys VQAs across applications and finds trainability, accuracy and efficiency remain open challenges. For linear systems, Ref. [139] tested 10 to 30 qubits and found time to solution growing logarithmically in N.
Why NISQ hardware pushes toward variational methods
Quantum algorithms with an exponential speedup, such as factoring, quantum simulation and solving linear systems, are the main reason large quantum machines are being built. The first cloud-accessible quantum computer appeared in 2016, but noise and a small qubit count blocked serious runs of those algorithms, which is why the devices now in use are called NISQ computers.
Current devices reach between 50 to 100 qubits, enough to outperform classical machines on contrived tasks, but no practical speedup has been demonstrated yet.
Any strategy for these devices has to cope with few qubits, limited connectivity between them, and coherent and incoherent errors that cap how deep a circuit can be. VQAs address this with a division of labour: the quantum circuit stays shallow, and a classical optimizer handles the search over its parameters.
Because one optimization framework can cover many tasks, the review treats VQAs as a general template and examines how each part is designed and where it fails.
Cost function, ansatz and the hybrid loop
A VQA starts from a cost function that encodes the solution, and from an ansatz whose parameters are then trained against that cost. The cost maps values of the trainable parameters to real numbers, so over the parameter space it defines a landscape whose minima the optimizer searches.
In general the cost depends on training states, observables and the parametrized unitary; in many tasks it takes the sum form below. \[ C(\theta)=\sum_k f_k\left(\mathrm{Tr}[O_k U(\theta)\rho_k U^\dagger(\theta)]\right) \] Each term sends a training state \(\rho_k\) through the parametrized unitary, measures the observable \(O_k\), and passes the resulting expectation value through a function \(f_k\).
A usable cost must be faithful, so that its minimum corresponds to the solution, and it must be estimable on a quantum computer with possible classical post-processing. It should also be operationally meaningful, so that smaller values mean better solutions, and it must be trainable. The authors assume the cost should not be efficiently computable classically, since otherwise the VQA would give no quantum advantage.
At each iteration the quantum computer estimates the cost or its gradient, and the classical optimizer updates the parameters to solve the following problem. \[ \theta^*=\arg\min_\theta C(\theta) \] Circuit depth and ancilla count must stay small, because NISQ devices suffer gate errors, have few qubits and decohere quickly.
How the ansatz is built
The ansatz fixes what the parameters are and therefore how they can be trained. A problem-inspired ansatz uses information about the task, while a problem-agnostic ansatz can be used when no such information is available.
For a cost of this form, the parameters enter a unitary that is built as a product of L layers. \[ U(\theta)=U_L(\theta_L)\cdots U_2(\theta_2)U_1(\theta_1) \] Each layer is a product of exponentials of the form e^{-i\theta_m H_m} interleaved with fixed unitaries W_m, where H_m is Hermitian.
The hardware-efficient ansatz draws its gates from the set the device supports natively, which avoids the extra depth of compiling an arbitrary unitary into that set. Its advantages include encoding symmetries, placing correlated qubits near each other, and matching Hamiltonians that resemble the device's own interactions. For local spin Hamiltonians, a heuristic result cited from Ref.
[14] says that near criticality the required depth grows with system size.
The unitary coupled cluster ansatz is problem-inspired and targets the ground state energy of a fermionic molecular Hamiltonian. It proposes a candidate ground state by exciting a reference state.
Linear systems, optimization and factoring
The Quantum Linear Systems Problem asks for a normalized state \(|x\rangle\) with \(A|x\rangle\) proportional to \(|b\rangle\). Classical methods scale polynomially in the dimension N, and HHL scales logarithmically in N, but HHL needs circuit depths that are hard to reach in the near term.
VQA approaches assume that A is a linear combination of efficiently implementable unitaries, and build a Hamiltonian H_G = A(1 - |b\rangle\langle b|)A^\dagger whose ground state is the solution. The cost is the expectation of this Hamiltonian in the ansatz state, and its gradients can vanish exponentially in the number of qubits, which is a barren plateau.
A local Hamiltonian with the same ground state, or a hybrid ansatz that sums several sub-states with variational coefficients, is proposed to mitigate this.
Ref. [139] tested n = 10,..., 30 qubits for Ising-inspired linear systems and n = 2,..., 7 qubits for random sparse systems. The time to solution grew logarithmically in N, and the authors read this as a hint that VQAs could give an exponential speedup analogous to HHL if larger systems behave similarly.
For matrix-vector multiplication, the Hamiltonian is H_M = 1 - A|b\rangle\langle b|A^\dagger divided by the squared norm of A|b\rangle, and its zero-energy ground state is |x\rangle. \[ |\langle\psi(\theta^*)|x\rangle|^2 \ge 1-\langle\psi(\theta^*)|H_M|\psi(\theta^*)\rangle \] Because the fidelity to the exact solution is bounded below by one minus the cost, a small cost certifies that the approximate solution is good.
Since large Shor implementations are not feasible near term, Ref. [145] treats factoring as a ground-state problem of a classical Ising model and searches it with QAOA. Numerical heuristics suggest that a number of layers scaling linearly with n, \(p\in O(n)\), gives a large overlap with the ground state.
QAOA was introduced for combinatorial problems and encodes the objective in a problem Hamiltonian H_P, alternating its evolution with a mixer H_M for p rounds. Its cost is the expectation of H_P in the output state, and the time intervals are trained classically. \[ C(\gamma,\beta)=\langle\psi_p(\gamma,\beta)|H_P|\psi_p(\gamma,\beta)\rangle \] The landscape is non-convex with many local optima, so choosing a classical optimizer that needs few quantum calls remains an active question.
For principal component analysis, Ref. [147] diagonalizes a state by minimizing the Hilbert-Schmidt distance between it and its dephased version, which yields all eigenvalues and eigenvectors. That approach needs 2n qubits for an n-qubit state, and the requirement can be reduced with the VQA of Ref. [113].
Reducing the cost of estimating observables
Shots can be allocated at random with probabilities proportional to \(|c_i|\sqrt{\mathrm{Var}(\sigma_i)}\) instead of evenly. This keeps the estimates unbiased and can work with as little as one shot, which can help early in an optimization where low precision is acceptable.
Classical shadows build an approximate classical representation of a state from measurements in randomly chosen bases, so each shot contributes to many Pauli expectation values. The number of measurements scales logarithmically with the number of qubits.
A restricted Boltzmann machine can be fitted to Pauli measurements and then used to compute expectation values. Because the values come from the approximate machine rather than raw samples, the sampling variance drops substantially, at the cost of a small positive bias. The fit still needs the same Pauli operators to be measured, so the number of operators is not reduced.
How hardware noise affects training and the cost
The review separates three possible effects of hardware noise: slower training, a noisy global optimum that differs from the noise-free one, and a shift in the final optimal cost.
The authors link slower training to incoherent noise, which flattens the cost landscape and reduces gradient magnitudes. Gradients also decay exponentially with circuit depth, and the authors explain this by noting that costs are usually extremized by pure states while noise reduces purity.
Under local Pauli noise, the cost concentrates exponentially in ansatz depth around the value for the maximally mixed state, as shown in Refs. [202, 203]. The same effect was observed earlier for QAOA in Refs. [230, 231]. Concentration matters beyond trainability: a QAOA cost can be computed classically after sampling, but for VQE problems the energy estimate itself is corrupted.
Where VQAs tolerate noise
A coherent error that turns U(θ) into U(θ+δ) can be absorbed, because under mild assumptions the optimizer recalibrates that block on the fly. Success depends on optimizing faster than the calibration drifts and on enough variational flexibility in the ansatz.
Some noise channels can drive optimization into subspaces that are resilient to them, as an energetic trade-off [55]. Ref. [150] showed for quantum compiling that the global minima of the noisy cost match those of the noise-free cost, a property called Optimal Parameter Resilience. Whether other VQAs share this resilience for given noise models is left open.
For holographic quantum simulation, Ref. [232] shows that under certain conditions local observables change by at most an amount that depends on the noise parameter but not on the system size.
Error mitigation and its variance cost
Quantum Error Mitigation post-processes measurement outcomes to suppress the effect of physical errors on expectation values. Zero-noise extrapolation deliberately boosts the noise, for example by inserting extra noisy pulses or lengthening gates, measures at several noise levels, and extrapolates back to zero noise. Uncertainty propagates through this extrapolation, so the variance of the mitigated result grows and the sampling cost rises.
Extrapolation methods cannot fully mitigate physical errors by design, whereas probabilistic error cancellation can give unbiased values if the noise is completely characterized. Because the inverse of a physical error map is generally unphysical, the measurement outcomes must be post-processed accordingly.
Near-Clifford circuits can be simulated classically, so their exact expectation values can be compared with hardware outputs to mitigate errors without a full error model. Regression on Clifford data can estimate and invert the effect on observables, and zero-noise extrapolation can be merged with that regression.
Limits on trainability and accuracy
Noise-induced barren plateaus are named as one of the leading challenges for VQAs, and the noise results discussed do not account for error mitigation. The hardware-efficient ansatz can run into trainability problems under random initialization.
The Ref. [139] scaling was observed only up to n = 30 for Ising-inspired systems and up to n = 7 for random sparse systems, so larger systems were not tested. Error mitigation increases sampling cost because the variance of the mitigated result grows. Extrapolation methods cannot fully remove physical errors by design.
Quantum advantage for practical applications has not yet been realized.
Paper info
- Authors
- M. Cerezo, Andrew Arrasmith, Ryan Babbush, Simon C. Benjamin, Suguru Endo, Keisuke Fujii, Jarrod R. McClean, Kosuke Mitarai, Xiao Yuan, Lukasz Cincio, Patrick J. Coles
- Venue
- arXiv · Preprint
- First published
- 2020-12-16
- Added
- 2026-11-12
- Updated
- 2021-10-4
- Version
- v2
- arXiv
- 2012.09265
- DOI
- 10.1038/s42254-021-00348-9
- Category
- quant-ph · cs.LG · stat.ML
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
M. Cerezo, Andrew Arrasmith, Ryan Babbush, Simon C. Benjamin, Suguru Endo, Keisuke Fujii, Jarrod R. McClean, Kosuke Mitarai, Xiao Yuan, Lukasz Cincio, Patrick J. Coles (2020). Variational Quantum Algorithms. arXiv:2012.09265v2. https://doi.org/10.1038/s42254-021-00348-9
BibTeX
@article{cerezo2020variational,
title = {{Variational Quantum Algorithms}},
author = {M. Cerezo and Andrew Arrasmith and Ryan Babbush and Simon C. Benjamin and Suguru Endo and Keisuke Fujii and Jarrod R. McClean and Kosuke Mitarai and Xiao Yuan and Lukasz Cincio and Patrick J. Coles},
year = {2020},
eprint = {2012.09265},
archivePrefix = {arXiv},
doi = {10.1038/s42254-021-00348-9},
url = {https://arxiv.org/abs/2012.09265v2}
}