Input. The cost Hamiltonian , the mixer , a depth .
Procedure.
-
For angles and prepare
For an Ising , is a product of two-qubit rotations and single-qubit rotations, and is a layer of gates.
-
Estimate by sampling, and let a classical optimizer update the angles to increase it.
-
Measure the final state in the computational basis several times and keep the best string found.
Guarantee. Each sample has expected cost , and the best of several samples is at least as good in expectation. is non-decreasing in at the optimum, since setting recovers depth . As the optimum of tends to , because a Trotterized adiabatic path from the ground state of to the maximum of is one choice of angles (Farhi, Goldstone and Gutmann, preprint); the depth needed for this argument grows with the inverse spectral gap of that path. No efficient bound on the depth or on the classical optimization is part of the algorithm.
Hadfield et al. generalize the mixer so that it preserves a feasible subspace (for example an mixer that conserves Hamming weight), avoiding penalty terms. Zhou et al. study optimal angles numerically and find patterns that give heuristic initializations at larger .