Quantum optimization algorithm based on multistep quantum computation | Synapse