Optical realization of quantum Kerr medium dynamics.