-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated use of
qiskit.test.mock
(#1547)
* Remove deprecated use of qiskit.test.mock Terra 0.21 triggers deprecation warnings for `qiskit.test.mock`, in favour of `qiskit.providers.fake_provider`, which has been available since Terra 0.20. The only uses are in the tests, but it still technically requires a version bump in the Terra requirement. It's fairly likely something else will bump the Terra version further before release of Aer 0.11. * Flatten unnecessarily nested import This is also necessary because the submodule structure of `qiskit.providers.fake_provider` is not guaranteed to be a public interface, especially in Terra 0.20. Co-authored-by: Hiroshi Horii <[email protected]>
- Loading branch information
1 parent
7f24786
commit 3b5f444
Showing
5 changed files
with
9 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The required version of Qiskit Terra has been bumped to 0.20.0. |
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