The Virtues of the Quantum Approximate Optimization Algorithm