-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calling backend.name() for backendV2 (#11065)
* add check for backend version to get backend name * move backend_interface_version * check backend is None before get version * Update qiskit/utils/backend_utils.py Co-authored-by: Matthew Treinish <[email protected]> * Update releasenotes/notes/fix_backend_name-e84661707058b529.yaml Co-authored-by: Matthew Treinish <[email protected]> --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed an issue in the :class:`.QuantumInstance` class where it was assuming | ||
all ``AerSimulator`` backends were always :class:`.BackendV1`. This would cause | ||
combatibility issues with the 0.13.0 release of ``qiskit-aer`` which is starting to | ||
use :class:`.BackendV2` for `AerSimulator`` backends. |