where V l is the laser coupling strength and ω l is the frequency of the laser. This laser model assumes the external laser pulse is directly coupling to the cavity mode through a partially-reflective mirror or other cavity structure. In addition to the Hamiltonian dynamics, the effect of cavity loss is included in the system through the Lindblad master equation