Quantum optimization for training quantum neural networks | Synapse