예제 #1
0
 def setUp(self):
     super().setUp()
     driver = PyQuanteDriver(
         atoms="H .0 .0 .0; H .0 .0 0.735",
         units=UnitsType.ANGSTROM,
         charge=0,
         multiplicity=1,
         basis=BasisType.BSTO3G,
     )
     self.driver_result = driver.run()
예제 #2
0
 def test_lih_rohf(self):
     """lijh rohf test"""
     driver = PyQuanteDriver(
         atoms=self.lih,
         units=UnitsType.ANGSTROM,
         charge=0,
         multiplicity=1,
         basis=BasisType.BSTO3G,
         method=MethodType.ROHF,
     )
     result = self._run_driver(driver)
     self._assert_energy(result, "lih")
예제 #3
0
 def test_oh_uhf(self):
     """oh uhf test"""
     driver = PyQuanteDriver(
         atoms=self.o_h,
         units=UnitsType.ANGSTROM,
         charge=0,
         multiplicity=2,
         basis=BasisType.BSTO3G,
         method=MethodType.UHF,
     )
     result = self._run_driver(driver)
     self._assert_energy(result, "oh")
예제 #4
0
 def setUp(self):
     super().setUp()
     PyQuanteDriver(atoms=self.lih)