where we see that the terms involving Ĥp and Ĥep vanish, and the expectation value of Ĥe is analogous to the ordinary RHF energy. To evaluate the expectation value of Ĥdse , we can first expand Ĥdse in terms of the dipole operator (with electronic and nuclear contributions) and dipole expectation values as follows: