where h q p and g qs pr are the one-and two-electron integrals, γ p q are elements of the 1-RDM, V nuc is the nuclear-nuclear repulsion energy, E ot is an on-top functional of the density (ρ) and on-top pair density (Π), and p, q, r, s are general spatial molecular orbital indices.