The ground and excited state \(\left|g\right\rangle\) and \(\left|e\right\rangle\) of the atom on an energy scale. Here, the energy of the ground state is \(E_g\ =\ 0\). The energy difference between the two states is \(\hbar\omega_0\). A photon of the surrounding light field has an energy \(\hbar\omega_L\).