Parameter-setting heuristic for the quantum alternating operator ansatz | Synapse