def x2c1e(self): from pyscf.x2c import x2c x2chf = x2c.RHF(self.mol) x2c_keys = x2chf._keys x2chf.__dict__.update(self.__dict__) x2chf._keys = self._keys.union(x2c_keys) return x2chf
def X2C(mol, *args): '''X2C Hartree-Fock''' from pyscf.x2c import x2c if dhf.zquatev and mol.spin == 0: return x2c.RHF(mol, *args) else: return x2c.UHF(mol, *args)
def RHF(mol, *args): return x2c.RHF(mol, *args)