Wave-function approach to dissipative processes in quantum optics | Synapse