Iterative layerwise training for the quantum approximate optimization algorithm | Synapse