where d α ge = g|∇ α |e = -d α eg . The elements are nonzero only when the corresponding basis (ket and bra) have the same photon number, according to Eq. 32. The nuclear gradients can be decomposed into two matrices as indicated by Eq. 28, with the ∇ α [V ] expressed as