Monte Carlo wave-function method in quantum optics | Synapse