KnowledgeCookies logo Understanding the language of quantum science
QPicDepict / Quantum computing

QAOA and quantum optimization

QAOA alternates a phase operation encoding a cost with a mixing operation that lets amplitudes interfere.

QAOA and quantum optimization infographic. A reading guide and explanation follow.
One QAOA layer and sampling. Initialize, Uniform bit strings. Cost, Phase by C(z). Mixer, Interfere via B. Measure, Sample and score. Open full-size image Download PNG

How it works

  1. Encode

    Put the objective value C(z) on the computational basis states of a diagonal cost Hamiltonian.

  2. Mix

    Alternate the cost phase with a noncommuting mixer. The mixer makes the phase choices affect final probabilities.

  3. Optimize

    Use a classical search over angles, then sample strings and evaluate their classical objective.

Equation and quantities

∣ψ⟩=UB(β) UC(γ)∣+⟩⊗n\lvert\psi\rangle=U_B(\beta)\,U_C(\gamma)\lvert+\rangle^{\otimes n}

Worked example

For a two-vertex MaxCut graph, 01 and 10 cut the edge and have score 1, while 00 and 11 score 0. The optimizer seeks greater weight on 01 and 10.

Why it matters

QAOA is studied for discrete optimization and for understanding shallow variational circuits.

Limits and assumptions

Approximation quality varies with the graph, depth, optimization and noise. General quantum advantage is not established.

What can the cost phase alone do to a Z-basis histogram?

It leaves it unchanged. Mixing is needed to turn phases into probability changes.

Related reading