In quantum mechanics, as I understand, the Hamiltonian for a two level system is given as $$\hat{H} = \frac{1}{2}\hbar \omega_0 \hat{\sigma_{z}},$$ does anyone know why the perturbation term of the Hamiltonian, when the two level system is being subjected to an applied electric field $\vec{E} = E_0 \cos(\omega t) \hat{r}$ , is given as $$\vec{d} \cdot E_0 \cos(\omega t) \hat{\sigma_x}?$$ where $\vec{d}$ is the dipole moment $-q \hat{x}$. Also, what is the most general expression for this Hamiltonian of a two level system under the influence of an electric field?
Thanks for any assistance.