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")
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")
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