Approximation Ratios
Every approximation algorithm for a combinatorial optimization problem is judged by a single dimensionless number: the approximation ratio. This ratio measures how close the algorithm's solution comes to the best possible answer.
Definition
Let be the optimal value of the cost function over all bit strings, and let be the expected cost value produced by the algorithm (averaged over its randomness or quantum measurements). The approximation ratio is
For a maximization problem (like Max-Cut) we have , with meaning the algorithm always finds the optimum. A higher is better.
Why approximation ratios matter
Exact solvers for NP-hard problems require exponential time in the worst case. Approximation algorithms trade optimality for speed: they run in polynomial time but accept a solution that might be slightly worse than optimal. The approximation ratio quantifies the price of that trade.
Two landmark results frame the landscape:
- A random partition of the vertices achieves for Max-Cut in expectation, since each edge is cut with probability .
- The Goemans-Williamson semidefinite programming algorithm (1995) achieves , which is known to be nearly tight under the Unique Games Conjecture.
QAOA's approximation ratio for Max-Cut
Farhi, Goldstone, and Gutmann (2014) showed analytically that a QAOA circuit with optimally chosen angles achieves an expected cut fraction satisfying
on ring graphs (simple cycles) in the large-graph limit. This exceeds the random baseline of and narrows the gap toward the Goemans-Williamson bound of . On 3-regular graphs the same analysis gives a lower bound of approximately , still comfortably above the random-cut baseline.
As , QAOA converges to the exact optimum: the approximation ratio approaches . The open question is how deep must be to surpass classical heuristics on practically interesting instances.
Computing the ratio in practice
Suppose you run a one-layer QAOA circuit on a small Max-Cut instance, measure many times, and find that the average number of cut edges is . If you also know (by brute force on a small graph) that the true maximum cut has value , then
For example, on a 4-node ring graph with cut edges, if QAOA achieves on average, the approximation ratio is .
Try it
A Max-Cut instance has an optimal cut value of . QAOA with finds an expected cut value of . Return the approximation ratio as a decimal number.
Sign in on the full site to ask questions and join the discussion.