Skip to content

Fix calling backend.name() for backendV2 (#11065) (#11076) #11092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

mtreinish
Copy link
Member

@mtreinish mtreinish commented Oct 23, 2023

Summary

  • 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 mtreinish@kortar.org

  • Update releasenotes/notes/fix_backend_name-e84661707058b529.yaml

Co-authored-by: Matthew Treinish mtreinish@kortar.org

Details and comments

Backported from #11076

Co-authored-by: Matthew Treinish mtreinish@kortar.org
(cherry picked from commit d781dcc)

Co-authored-by: Jun Doi doichan@jp.ibm.com
(cherry picked from commit 2f76ef0)

* 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 <mtreinish@kortar.org>

* Update releasenotes/notes/fix_backend_name-e84661707058b529.yaml

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
(cherry picked from commit d781dcc)

Co-authored-by: Jun Doi <doichan@jp.ibm.com>
(cherry picked from commit 2f76ef0)
@mtreinish mtreinish added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Oct 23, 2023
@mtreinish mtreinish added this to the 0.25.3 milestone Oct 23, 2023
@mtreinish mtreinish requested review from woodsp-ibm and a team as code owners October 23, 2023 15:45
@qiskit-bot
Copy link
Collaborator

One or more of the the following people are requested to review this:

  • @Qiskit/terra-core

Copy link
Contributor

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ElePT ElePT enabled auto-merge October 23, 2023 15:56
@ElePT ElePT added this pull request to the merge queue Oct 24, 2023
Merged via the queue into Qiskit:stable/0.25 with commit c3b652c Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants