Quantum nonlinearity for optical neural computing | Synapse