Optical realization of the dissipative quantum oscillator.