Optically programable quasi phase matching in four-wave mixing | Synapse