forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds the initial implementation of the v2 providers interface. The rfc document in Qiskit/RFCs#2 documents the rationale beind the PR. At a high level this introduces a python based API that provides a general interface for writing additional providers to terra that is flexible enough for both additional types of services in the future and also making it less specific to the IBM Quantum API. Moving forward we will encourage existing provider to migrate to this new interface. Included in this commit the Basicaer provider has been converted to a v2 provider. This will provide a good example for providers on how to use the new model. This is still very much in progress, prior to removing the WIP this will be split into 3 PRs. The first will add the Counts class, the second will add the v2 providers interface, and the 3rd will migrate the BasicAer provider to use the v2 interface all 3 are combined for now for ease ease of testing and development (with github's limitations around dependencies between PRs), but each is an independent piece that can stand on it's own (and will make it much easier for final review). Implements Qiskit/RFCs#2 Fixes Qiskit#4105
- Loading branch information
Showing
17 changed files
with
1,074 additions
and
555 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
Oops, something went wrong.