09 / Scientific applications · LESSON 21 / 27 · 25 MIN
QAOA and combinatorial optimization.
Turn a graph cost into a hybrid optimization objective.
C = Σ(i,j) (I−ZᵢZⱼ)/2 |γ,β⟩ = U_B(β)U_C(γ)|+…+⟩
Encoding MaxCut
For an edge (i,j), (I−ZᵢZⱼ)/2 is one if its two bits differ and zero otherwise, so summing over the edges counts the cut. MaxCut usually maximizes ⟨C⟩; some conventions minimize a negated cost, so state the sign.
Two alternating evolutions
The cost evolution exp(−iγC) adds phase, and the mixer exp(−iβΣXᵢ) shifts amplitudes. Repeat for p layers, measure candidate bit strings and tune the parameters classically. More layers add expressivity and also depth.
Benchmark honestly
QAOA promises neither a practical speedup nor the optimum on every graph. Compare against strong classical solvers and report wall-clock resources, the spread of solution quality and the limits of noisy devices.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.