From 0a767f3275f9dc96636eb071b9052555368bcf6a Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Fri, 15 Nov 2024 17:36:42 +0100 Subject: [PATCH] Provider class is deprecated --- qiskit_experiments/framework/experiment_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qiskit_experiments/framework/experiment_data.py b/qiskit_experiments/framework/experiment_data.py index db71273ffd..a4cd953967 100644 --- a/qiskit_experiments/framework/experiment_data.py +++ b/qiskit_experiments/framework/experiment_data.py @@ -36,7 +36,7 @@ from qiskit.result import Result from qiskit.providers.jobstatus import JobStatus, JOB_FINAL_STATES from qiskit.exceptions import QiskitError -from qiskit.providers import Job, Backend, Provider +from qiskit.providers import Job, Backend from qiskit.utils.deprecation import deprecate_arg from qiskit.primitives import BitArray, SamplerPubResult, BasePrimitiveJob @@ -76,6 +76,7 @@ # `TYPE_CHECKING` means that the import will never be resolved by an actual # interpreter, only static analysis. from . import BaseExperiment + from qiskit.providers import Provider LOG = logging.getLogger(__name__)