Closed fevangelista closed 1 month ago
@fevangelista Thank you for clearing up the logic. I only have a few minor comments.
Sorry this took a while. The newer code I just added can handle symmetry and works fine. Note that I changed the test since projection and frozen MCSCF orbitals do not make sense together.
@fevangelista This new procedure fails if the target basis set is smaller than the one in the reference. For example, energy('forte', ref_wfn=wfn, basis='cc-pvdz')
fails if wfn
is obtained from cc-pVTZ. The dimension of Ca
is incorrect.
I also have a concern of doing general basis set projection without separating occupied and unoccupied. Is the ordering of occupied orbitals preserved between the two sets of orbitals? This seems important for maintaining a good guess of active space for CASSCF.
This is a reworked version of PR #420. Here is the original description:
Description
This PR implements new orbital orthonormalization procedure for initial orbitals in Forte. The new procedure keeps the relative ordering of the guess orbitals, that is, no canonicalization procedure is performed. Now initial orbitals can come from a different basis set (see added test case
df-casscf-4-basis
).To actually check these initial guess orbitals, some Python codes can be added in the input:
User Notes
Checklist
output.ref
file