diff --git a/test/python/primitives/test_backend_estimator.py b/test/python/primitives/test_backend_estimator.py index 0df15f590728..b6aa909893fe 100644 --- a/test/python/primitives/test_backend_estimator.py +++ b/test/python/primitives/test_backend_estimator.py @@ -410,6 +410,7 @@ def test_layout(self, backend): else: self.assertEqual(value, -1) + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_circuit_with_measurement(self): """Test estimator with a dynamic circuit""" @@ -428,6 +429,7 @@ def test_circuit_with_measurement(self): result = estimator.run(bell, observable).result() self.assertAlmostEqual(result.values[0], 1, places=1) + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_dynamic_circuit(self): """Test estimator with a dynamic circuit""" diff --git a/test/python/primitives/test_backend_sampler.py b/test/python/primitives/test_backend_sampler.py index b4b8d79e32a3..91e9cc395e36 100644 --- a/test/python/primitives/test_backend_sampler.py +++ b/test/python/primitives/test_backend_sampler.py @@ -339,6 +339,7 @@ def test_primitive_job_size_limit_backend_v1(self): self.assertDictAlmostEqual(result.quasi_dists[0], {0: 1}, 0.1) self.assertDictAlmostEqual(result.quasi_dists[1], {1: 1}, 0.1) + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_circuit_with_dynamic_circuit(self): """Test BackendSampler with QuantumCircuit with a dynamic circuit""" diff --git a/test/python/providers/fake_provider/test_fake_backends.py b/test/python/providers/fake_provider/test_fake_backends.py index 9d2829a71aef..a759453f0dc1 100644 --- a/test/python/providers/fake_provider/test_fake_backends.py +++ b/test/python/providers/fake_provider/test_fake_backends.py @@ -40,8 +40,9 @@ class GeneratedFakeBackendsTest(QiskitTestCase): def setUp(self) -> None: self.backend = ConfigurableFakeBackend("Tashkent", n_qubits=4) + super().setUp() - @unittest.skip("Skipped until qiskit-aer#741 is fixed and released") + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_transpile_schedule_and_assemble(self): """Test transpile, schedule and assemble on generated backend.""" @@ -69,6 +70,7 @@ def test_transpile_schedule_and_assemble(self): class FakeBackendsTest(QiskitTestCase): """fake backends test.""" + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_fake_backends_get_kwargs(self): """Fake backends honor kwargs passed.""" @@ -83,6 +85,7 @@ def test_fake_backends_get_kwargs(self): self.assertEqual(sum(raw_counts.values()), 1000) + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "qiskit-aer is required to run this test") def test_fake_backend_v2_noise_model_always_present(self): """Test that FakeBackendV2 instances always run with noise.""" diff --git a/test/python/providers/test_fake_backends.py b/test/python/providers/test_fake_backends.py index 21a18e635d89..1a3920652d7c 100644 --- a/test/python/providers/test_fake_backends.py +++ b/test/python/providers/test_fake_backends.py @@ -101,7 +101,10 @@ def setUpClass(cls): ) def test_circuit_on_fake_backend_v2(self, backend, optimization_level): if not optionals.HAS_AER and backend.num_qubits > 20: + self.skipTest("Skipping until Qiskit/qiskit-aer#2023 is released.") self.skipTest("Unable to run fake_backend %s without qiskit-aer" % backend.backend_name) + else: + print(backend.num_qubits) job = execute( self.circuit, backend, @@ -122,6 +125,7 @@ def test_circuit_on_fake_backend_v2(self, backend, optimization_level): ) def test_circuit_on_fake_backend(self, backend, optimization_level): if not optionals.HAS_AER and backend.configuration().num_qubits > 20: + self.skipTest("Skipping until Qiskit/qiskit-aer#2023 is released.") self.skipTest( "Unable to run fake_backend %s without qiskit-aer" % backend.configuration().backend_name @@ -242,6 +246,7 @@ def test_non_cx_tests(self): backend = FakeSherbrooke() self.assertIsInstance(backend.target.operation_from_name("ecr"), ECRGate) + @unittest.skip("Skipped until Qiskit/qiskit-aer#2023 is released.") @unittest.skipUnless(optionals.HAS_AER, "Aer required for this test") def test_converter_simulator(self): class MCSXGate(ControlledGate):