Later, in Sec. 3.1.2, we will examine an entangled basis for the electron and photon degrees of freedom which we call the polarized Fock state (PFS) basis. In order to construct this basis, we require a unitary transformation of the electronic states such that the dipole operator in the truncated Hilbert space is diagonal. In this way, we can define the dipole operator as,