예제 #1
0
 def test_ParameterSweep_fileIO(self, num_cpus):
     sweep = self.initialize(num_cpus)
     sweep.filewrite(self.tmpdir + "test.h5")
     sweep_copy = scq.read(self.tmpdir + "test.h5")
예제 #2
0
 def test_HilbertSpace_fileIO(self):
     hilbertspc = self.hilbertspace_initialize2()
     hilbertspc.generate_lookup()
     hilbertspc.filewrite(self.tmpdir + "test.h5")
     hilbertspc_copy = scq.read(self.tmpdir + "test.h5")
예제 #3
0
 def test_file_io(self):
     self.qbt = self.qbt_type.create()
     self.qbt.filewrite(self.tmpdir + "test.h5")
     qbt_copy = scq.read(self.tmpdir + "test.h5")
     assert self.qbt == qbt_copy