Quantum Approximate Optimization Algorithm (QAOA)
Imagine you have a hard 'best arrangement' puzzle, like splitting a group of people into two teams so that the fewest friendships get cut between them. QAOA is a recipe for using a small quantum computer, working hand in hand with an ordinary one, to hunt for good arrangements. The quantum part prepares a state of the qubits and then nudges it back and forth between two steps: one step that rewards arrangements scoring well on your puzzle, and one step that gently stirs the qubits so different possibilities can mix and interfere. You repeat this pair of steps a few times (p rounds), each round controlled by a couple of tunable angles. Then you measure the qubits, which gives you one candidate answer, and you check its score on a normal computer.
Here is the honest part. QAOA does not 'try every arrangement at once.' What the angles control is how the amplitudes interfere so that, when you measure, good arrangements come out more often than bad ones, on average. So you run it many times and keep the best result you saw. A classical optimizer adjusts the angles between runs to push that average up. It is called 'approximate' because it aims for a good-enough answer, not a guaranteed-best one, and with few rounds the quality is limited. QAOA is one of the most studied algorithms for today's noisy, small machines, and it is genuinely interesting, but as of now no one has shown it beating strong classical optimization solvers on a real, useful problem.
QAOA is hybrid and runs on near-term (NISQ) hardware, but a clear, practical speedup over good classical solvers has not been demonstrated; treat any 'quantum optimization advantage' claim with healthy skepticism.