Text this: Nonstationary quantum phenomena in cavity quantum electrodynamics and optomechanics