# Convert reduced density matrix from M.O. to A.O. basis

I am interested in converting the one-particle reduced matrix (rdm1) from the molecular orbital (M.O.) basis to the atomic orbital (A.O.) basis. Is the following method correct (in an identical fashion to how one converts the Fock matrix basis: How to calculate the Fock matrix in the molecular orbital basis PySCF?).

rdm1_ao = C @ rdm1_mo @ C.T
rdm1_mo = C.T @ rdm1_ao @ C


The point is: the AO $$\leftrightarrow$$ MO transformations of density matrices and Fock matrices require different formulas. For the Fock matrix the formulas are \begin{align} F_{MO} &= C^T F_{AO} C \tag{1}\\ F_{AO} &= SC F_{MO} C^TS \tag{2} \end{align} While for the density matrix, they are \begin{align} D_{MO} &= C^TS D_{AO} SC \tag{3}\\ D_{AO} &= C D_{MO} C^T \tag{4} \end{align} Herein $$S$$ is the AO overlap matrix, and $$C$$ is the MO coefficient matrix. The condition that MOs are orthonormal is utilized, otherwise one has to include the MO overlap matrix as well.
The reason for this difference is that, when we talk about the Fock matrix under some basis and the density matrix under some basis, we are talking about different things. The Fock matrix elements under a basis, no matter whether the basis is AO or MO, are the matrix elements of an operator, namely the Fock operator. Thus we can say, e.g. the diagonal elements of the AO Fock matrix are the energy expectation values of AOs. By contrast, for the density matrix, only the MO basis matrix elements are the matrix elements of an operator (the occupation number operator), but the AO basis matrix elements do not admit the same interpretation. We cannot say that the diagonal elements of the AO density matrix are the expectation values of the occupation numbers of AOs, because they can be larger than 2. Conceptually that explains the difference between the transformation rules of the density matrix and the Fock matrix. Actually proving the formulas is easier, by applying $$FC=SC\epsilon$$, $$C^TSC=I$$, and $$D=CnC^T$$ etc.
• +1 for another timely and thorough answer by wzkchem5! I made an edit: I'd recommend using the align environment instead of just using , because this allowed equations to be labeled, and even if you're not referring to your equations in the answer, other people may wish to refer to them. Notice we have the "cite" button which allows questions and answers to be cited and picked up by aggregators like Google Scholar. Jul 19, 2021 at 14:16