Loading python/tests/test_jit_decompose.py +3 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ class TestKernelJIT(unittest.TestCase): foo(q) counts = q.counts() self.assertTrue('110' in counts) self.assertTrue(counts['110'] == 1024) # The decompose infidelity (~1e-4) can cause # some small variations in the bitstring sampling. self.assertTrue(counts['110'] > 1000) @qjit def all_x(q : qreg): Loading Loading
python/tests/test_jit_decompose.py +3 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ class TestKernelJIT(unittest.TestCase): foo(q) counts = q.counts() self.assertTrue('110' in counts) self.assertTrue(counts['110'] == 1024) # The decompose infidelity (~1e-4) can cause # some small variations in the bitstring sampling. self.assertTrue(counts['110'] > 1000) @qjit def all_x(q : qreg): Loading