diff --git a/release-notes/0.12.1.rst b/release-notes/0.12.1.rst index 86d04c4a4..56881e2ec 100644 --- a/release-notes/0.12.1.rst +++ b/release-notes/0.12.1.rst @@ -31,7 +31,7 @@ Bug Fixes a past date. - The ``noise_factors`` and ``extrapolator`` options in - `qiskit_ibm_runtime.options.ResilienceOptions `__ + `qiskit_ibm_runtime.options.ResilienceOptions `__ will now default to ``None`` unless ``resilience_level`` is set to 2. Only options relevant to the resilience level will be set, so when using ``resilience_level`` 2, ``noise_factors`` will still default to diff --git a/release-notes/0.28.0.rst b/release-notes/0.28.0.rst index 1b1c8994e..1af0a8914 100644 --- a/release-notes/0.28.0.rst +++ b/release-notes/0.28.0.rst @@ -12,6 +12,6 @@ New Features Other Notes ----------- -- The V1 Primitives ``SamplerV1`` and ``EstimatorV1`` have been completely removed. Please use the - `migration guide `__ and use theV2 Primitives instead. (`1857 `__) +- The V1 Primitives ``SamplerV1`` and ``EstimatorV1`` have been completely removed. Please see the + `migration guide `__ and use the V2 Primitives instead. (`1857 `__) - The ``service`` parameter is now required in ``Session.from_id()``. (`1868 `__) diff --git a/test/integration/test_fake_backends.py b/test/integration/test_fake_backends.py index dd255371d..2532dd5ab 100644 --- a/test/integration/test_fake_backends.py +++ b/test/integration/test_fake_backends.py @@ -78,30 +78,7 @@ def test_circuit_on_fake_backend_v2(self, backend, optimization_level): max_count = max(counts.items(), key=operator.itemgetter(1))[0] self.assertEqual(max_count, "11") - @idata( - itertools.product( - [be for be in FAKE_PROVIDER.backends() if be.configuration().num_qubits > 1], - [0, 1, 2, 3], - ) - ) - @unpack - def test_circuit_on_fake_backend(self, backend, optimization_level): - if not optionals.HAS_AER and backend.configuration().num_qubits > 20: - self.skipTest( - "Unable to run fake_backend %s without qiskit-aer" - % backend.configuration().backend_name - ) - backend.set_options(seed_simulator=42) - pm = generate_preset_pass_manager(backend=backend, optimization_level=optimization_level) - isa_circuit = pm.run(self.circuit) - sampler = Sampler(backend) - job = sampler.run([isa_circuit]) - pub_result = job.result()[0] - counts = pub_result.data.meas.get_counts() - max_count = max(counts.items(), key=operator.itemgetter(1))[0] - self.assertEqual(max_count, "11") - - @data(*FAKE_PROVIDER.backends(), *FAKE_PROVIDER_FOR_BACKEND_V2.backends()) + @data(*FAKE_PROVIDER_FOR_BACKEND_V2.backends()) def test_to_dict_properties(self, backend): properties = backend.properties() if properties: @@ -120,7 +97,7 @@ def test_backend_v2_dtm(self, backend): if backend.dtm: self.assertLess(backend.dtm, 1e-6) - @data(*FAKE_PROVIDER.backends(), *FAKE_PROVIDER_FOR_BACKEND_V2.backends()) + @data(*FAKE_PROVIDER_FOR_BACKEND_V2.backends()) def test_to_dict_configuration(self, backend): configuration = backend.configuration() if configuration.open_pulse: @@ -142,7 +119,7 @@ def test_to_dict_configuration(self, backend): self.assertIsInstance(configuration.to_dict(), dict) - @data(*FAKE_PROVIDER.backends(), *FAKE_PROVIDER_FOR_BACKEND_V2.backends()) + @data(*FAKE_PROVIDER_FOR_BACKEND_V2.backends()) def test_defaults_to_dict(self, backend): if hasattr(backend, "defaults"): defaults = backend.defaults()