/ quantum course Back to lab
PATHWAY PROGRESS0/27 passed

09 / Scientific applications · LESSON 21 / 27 · 25 MIN

QAOA and combinatorial optimization.

Turn a graph cost into a hybrid optimization objective.

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

1. For a single edge, what cut value does bit string 01 have?
2. Does a deeper QAOA guarantee a real-world advantage?

Sign in with email or a wallet to check your answers and keep your lesson progress in sync.

Your account

Sign in to pick up your progress on any device.

or

Wallet sign-in uses a free signature (EIP-4361) on whatever EVM network your wallet is on. No gas, no transaction.