unitary matrices. At this point, one would like to rotate the orbitals at the second geometry so as to best line up with the orbitals at the first geometry. As described in Appendix A, this is a well-known problem in applied linear algebra, and the result is (denoting the new orbitals with tildes):