Quantum Approximate Optimization Algorithm (QAOA)

Research Depth 129 in the knowledge graph I know this Set as goal
Unlocks 3 downstream topics
QAOA optimization combinatorial NISQ MaxCut

Core Idea

The Quantum Approximate Optimization Algorithm (QAOA) is a variational hybrid quantum-classical algorithm for approximately solving combinatorial optimization problems. It alternates between a problem Hamiltonian (encoding the objective function as phases) and a mixing Hamiltonian (creating transitions between candidate solutions), with p layers of parameterized rotations. The circuit depth grows linearly with p, and as p increases, QAOA interpolates between a single-round heuristic and the adiabatic algorithm (which is exact in the infinite-depth limit). QAOA is a leading candidate for near-term quantum advantage on optimization problems like MaxCut, satisfiability, and portfolio optimization.

Explainer

Combinatorial optimization problems — finding the best configuration among exponentially many candidates — are ubiquitous in logistics, finance, machine learning, and physics. Many are NP-hard, so no polynomial-time classical algorithm is expected. QAOA provides a quantum approach that may offer practical advantages for approximate solutions, even on near-term hardware without error correction.

The algorithm is defined by a problem Hamiltonian C (a diagonal operator whose eigenvalues are the objective function values on each computational basis state) and a mixing Hamiltonian B (typically the sum of Pauli X operators on all qubits, generating transitions between basis states). For MaxCut, C = sum over edges (i,j) of (1 - Z_i * Z_j)/2, which counts the number of cut edges for each bit-string assignment. The initial state is |+>^n (uniform superposition). The QAOA circuit applies p alternating layers: first e^(-i*gamma_k*C) (the problem unitary), then e^(-i*beta_k*B) (the mixer), for k = 1 to p. The 2p parameters {gamma_1,...,gamma_p, beta_1,...,beta_p} are optimized classically to maximize the expected value of C.

The QAOA circuit encodes a physical process: the problem unitary imprints the objective function as phases (good solutions get different phases than bad ones), and the mixer creates superpositions that allow interference between solutions. After p rounds, constructive interference at high-quality solutions and destructive interference at low-quality solutions biases the final measurement toward good answers. At depth p=1 for MaxCut on 3-regular graphs, QAOA provably achieves an approximation ratio of at least 0.6924 — better than random but short of the best classical algorithm (Goemans-Williamson at 0.878). As p increases, the approximation ratio improves.

In the limit p -> infinity, QAOA becomes equivalent to the quantum adiabatic algorithm: start in the ground state of B (the uniform superposition) and slowly interpolate the Hamiltonian from B to C. The adiabatic theorem guarantees that if the interpolation is slow enough, the system stays in the ground state, arriving at the optimal solution. QAOA with finite p is a Trotterized, variational version of this process. The open question is whether QAOA at moderate depth p = O(poly(n)) can achieve better approximation ratios than the best classical algorithms for specific problems. Recent results show that QAOA can outperform classical local algorithms on certain structured instances, but a definitive quantum advantage for optimization has not yet been demonstrated. QAOA remains one of the most studied algorithms for near-term quantum devices.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationSchrödinger Equation: Time-Dependent FormWavefunctions and Boundary ConditionsBoundary Value Problems in ElectrostaticsParticle in a Box (Infinite Square Well)Quantum NumbersSpin-1/2 SystemsPauli MatricesQuantum GatesQuantum CircuitsVariational Quantum Eigensolver (VQE)Quantum Approximate Optimization Algorithm (QAOA)

Longest path: 130 steps · 674 total prerequisite topics

Prerequisites (3)

Leads To (2)