Research Explained · Algorithms
A Quantum Approximate Optimization Algorithm
Edward Farhi, Jeffrey Goldstone, and Sam Gutmann
Massachusetts Institute of Technology · 2014 · Difficulty ★★★★☆
Reference
Farhi, E., Goldstone, J., & Gutmann, S. (2014). A quantum approximate optimization algorithm. arXiv:1411.4028.
Preprint: arXiv:1411.4028
This page is an independent explanation. For exact wording, figures, and data, read the original paper.
The short version
Farhi, Goldstone, and Gutmann introduce the quantum approximate optimization algorithm, or QAOA, which alternates two simple operations to find good approximate solutions to combinatorial problems. For the MaxCut problem on three-regular graphs, a single round already guarantees a cut of at least 0.6924 of the optimum.
Key findings
- QAOA builds a state by alternating a cost operator, which depends on the problem, with a mixing operator, with 2p adjustable angles for p rounds.
- The expected cost of the resulting state is measured, and a classical optimizer tunes the angles to improve it.
- For MaxCut on three-regular graphs, p equal to 1 guarantees an approximation ratio of at least 0.6924.
- As p increases, the algorithm can approach the exact solution, in the limit connecting to adiabatic quantum computation.
Background: why this paper was written
By 2014 the first experiments on noisy qubits were running, and Peruzzo and coauthors had introduced the variational eigensolver in a form for chemistry. A natural question was whether a similar hybrid approach could address combinatorial optimization, a field of great commercial interest, where problems such as scheduling and routing are hard for classical computers in the worst case.
The authors, at MIT, had earlier developed adiabatic quantum computation, in which a system is slowly changed from an easy Hamiltonian to a problem Hamiltonian whose ground state is the answer. Adiabatic evolution requires long run times when the energy gap is small, and the idea behind QAOA was to replace the slow, continuous change with a fixed number of discrete steps whose sizes are optimized.
What the researchers did
A combinatorial problem is described by a cost function on n-bit strings, for instance the number of edges cut by a partition of a graph. The algorithm starts with an equal superposition of all bit strings. It then applies, in alternation, a unitary generated by the cost function, e to the minus i gamma times C, which gives each bit string a phase that depends on its cost, and a unitary generated by the sum of single-qubit X operators, e to the minus i beta times B, which mixes amplitude between strings that differ by one bit. After p rounds, the state depends on 2p angles.
The authors analyze the expected cost of the final state for MaxCut. For p equal to 1 on three-regular graphs, each edge's contribution depends only on a small neighborhood of the graph, so the expectation can be computed analytically as a function of the two angles. Optimizing the angles gives a guaranteed approximation ratio of 0.6924 of the maximum cut. The classical Goemans-Williamson algorithm guarantees 0.878, so the result is below the best classical guarantee, but it was a first analytic bound for a quantum optimization circuit.
They also argue that for any p, the algorithm can be made arbitrarily accurate as p goes to infinity, since it can mimic a discretized adiabatic evolution. Finding the best angles for large p is a classical optimization problem, and the authors discuss strategies for it. A follow-up paper in 2016 by Farhi and Harrow argued that sampling from the output distribution of even the p equal to 1 circuit cannot be done efficiently by classical computers under standard complexity assumptions.
Results
The p equal to 1 guarantee of 0.6924 for three-regular MaxCut was the first rigorous performance bound for QAOA.
Later calculations by Wurtz and Love gave about 0.7559 for p equal to 2 and 0.7924 for p equal to 3, still below the 0.878 classical bound.
Experiments by Google in 2021 on up to 23 qubits, by a trapped-ion group in 2020 on up to 40 qubits, and many others have implemented QAOA, mostly on small graphs with performance comparable to or worse than classical heuristics.
Key facts and numbers
| Item | Detail |
|---|---|
| Year | 2014 (arXiv, November) |
| Parameters | 2p angles for p rounds |
| p = 1 guarantee | At least 0.6924 for MaxCut on three-regular graphs |
| Classical baseline | Goemans-Williamson guarantees 0.878 |
| Circuit depth | Grows linearly with p times the number of constraints |
Limitations and caveats
No proof exists that QAOA outperforms the best classical algorithms, and results by Farhi, Gamarnik, and Gutmann in 2020 show that low-depth QAOA is limited on random graphs because of a structural property called the overlap gap.
The angle optimization is nonconvex, and measurement cost grows with problem size. Noise limits the depth that can be used on current hardware.
Constrained problems need modified mixers or penalty terms, which complicate implementation.
Why it matters
QAOA is the leading gate-based candidate for optimization on near-term quantum devices and the standard benchmark for hybrid optimization on hardware from every major vendor.
What happened next
QAOA led to a large literature, including the quantum alternating operator ansatz of Hadfield and coauthors, which extends the framework to constrained problems, and studies of parameter concentration and warm starts.
In 2024 a team from JPMorgan Chase and Quantinuum reported evidence of a scaling advantage over some classical solvers for a hard problem called low autocorrelation binary sequences, a claim still being examined by other researchers.
How to read the original paper
The first sections define the algorithm and are readable with some linear algebra. The MaxCut analysis involves counting subgraphs and can be skipped in a first reading.
The QAOA and Max-Cut pages on this site explain the algorithm and its benchmarks in simpler terms.
Original abstract (paraphrased)
We introduce a quantum algorithm that produces approximate solutions for combinatorial optimization problems. The algorithm depends on an integer p and the quality of the approximation improves as p is increased. The quantum circuit that implements the algorithm consists of unitary gates whose locality is at most the locality of the objective function whose optimum is sought. The depth of the circuit grows linearly with p times the number of constraints. We show that for MaxCut on three-regular graphs the algorithm with p equal to 1 achieves an approximation ratio of at least 0.6924.
Frequently asked questions
What does QAOA stand for?
Quantum Approximate Optimization Algorithm.
Does QAOA beat classical optimization?
Not conclusively. Analytic results show that low-depth QAOA falls short of the best classical guarantees on some problems, and experiments are on small instances.
What does the parameter p mean?
The number of alternating cost and mixer layers. Larger p gives a more expressive circuit and a deeper, noisier computation.
Keep exploring
- Algorithm: Quantum Approximate Optimization Algorithm (QAOA)
- Algorithm: Max-Cut with Quantum Algorithms (QAOA and Quantum Max-Cut)
- Algorithm: Adiabatic Quantum Computation
- Algorithm: Quantum Annealing
- Hardware: IBM Heron (r1, r2, and r3)
- Dictionary: Variational Quantum Algorithm
- Dictionary: Quantum Annealing
- Dictionary: Barren Plateau
- Dictionary: Hybrid Quantum-Classical Computing
- Industry: Quantum Computing for Finance
- Industry: Quantum Computing for Logistics
- Industry: Quantum Computing for Transportation
Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.