def convert_from_(self, mf): '''Convert given mean-field object to RHF''' addons.convert_to_rhf(mf, self) return self
def to_rhf(self, mf): '''Convert the input mean-field object to a RHF/ROHF/RKS/ROKS object''' return addons.convert_to_rhf(mf)
def convert_from_(self, mf): '''Convert given mean-field object to RHF/ROHF''' from pyscf.pbc.scf import addons addons.convert_to_rhf(mf, self) return self