forked from qiskit-community/qiskit-experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove remaining references to Provider classes
This chane is a follow up to 519bb53 to remove remaining references to the Provider base classes which were deprecated in Qiskit 1.1. Providers are now unspecified objects that generate backends. As a follow up, work is needed on the `ExperimentData` class to tighten up how it works with providers, especially since the main provider now is `QiskitRuntimeService` from qiskit-ibm-runtime, which already was not actually a `Provider`.
- Loading branch information
Showing
4 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
fixes: | ||
- | | ||
All references to ``qiskit.providers.Provider`` have been removed the code | ||
base. The provider base classes were deprecated in Qiskit 1.1 with planned | ||
removal in Qiskit 2.0. Qiskit Experiments has some support code for working | ||
with providers to retrieve job data, but it takes the provider object as | ||
input. The only explicit references to the provider classes were in type | ||
annotations and test support code under ``qiskit_experiments.test``. The | ||
type annotations have been removed and the test code now uses its own class | ||
without a parent. |