Quantum Approximate Optimization with Hard and Soft Constraints | Synapse