A mathematical description of vacuum Rabi oscillation begins with the Jaynes–Cummings model, which describes the interaction between a single mode of a quantized field and a two level system inside an optical cavity. The Hamiltonian for this model in the rotating wave approximation is