Optimal Protocols in Quantum Annealing and Quantum Approximate Optimization Algorithm Problems | Synapse