-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test suite to work with Qiskit<1.0 and >=1.0
This commit *does not* touch the primitives, which appear to be broken at a relatively basic level with Qiskit 1.0 - hopefully the primitives team can fix that separately. This modifies the test suite to work with both Qiskit 0.46 and 1.0.0rc1 simultaneously. Unfortunately, some of the new-style fake backends aren't in 0.46, so I just put in some import switches for my ease here. A few tests, particularly in the noise model sections, were asserting specific things about the properties/calibrations of Terra's fake backends, which was quite fragile already, so in those particular cases I replaced them with a manually constructed `Target` with properties entirely under Aer's control.
- Loading branch information
1 parent
891a451
commit 1ba6190
Showing
7 changed files
with
151 additions
and
142 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 was deleted.
Oops, something went wrong.
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.