From 8bd9a6bd211e36a3cbf51f2599e04bea2c3571b3 Mon Sep 17 00:00:00 2001 From: "A.M. Santana" Date: Mon, 7 Aug 2023 16:05:30 +0000 Subject: [PATCH] remove scrap test Signed-off-by: A.M. Santana --- python/tests/unittests/test_NoiseModel.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/python/tests/unittests/test_NoiseModel.py b/python/tests/unittests/test_NoiseModel.py index 6936d8660a9..d01856e862f 100644 --- a/python/tests/unittests/test_NoiseModel.py +++ b/python/tests/unittests/test_NoiseModel.py @@ -197,22 +197,6 @@ def test_bit_flip_simple(): cudaq.reset_target() -def test_Bit(): - cudaq.set_target('density-matrix-cpu') - noise = cudaq.NoiseModel() - # Bit flip channel with `0.0` probability of the qubit flipping 180 degrees. - bit_flip = cudaq.BitFlipChannel(1.0) - noise.add_channel('x', [0], bit_flip) - - kernel = cudaq.make_kernel() - qubit = kernel.qalloc() - # This will bring the qubit to the |1> state. - # Remains with a probability of `1 - p = 0.0`. - kernel.x(qubit) - noisy_counts = cudaq.sample(kernel, noise_model=noise) - noisy_counts.dump() - - def test_kraus_channel(): """Tests the Kraus Channel with a series of custom Kraus Operators.""" cudaq.set_target('density-matrix-cpu')