Skip to content

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

Merged
ElePT merged 2 commits into
Qiskit:stable/0.25from
mtreinish:backport-11076
Oct 24, 2023
Merged

Fix calling backend.name() for backendV2 (#11065) (#11076)#11092
ElePT merged 2 commits into
Qiskit:stable/0.25from
mtreinish:backport-11076

Conversation

@mtreinish
Copy link
Copy Markdown
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: Fixed Add a "Fixed" entry in the GitHub Release changelog. label Oct 23, 2023
@mtreinish mtreinish added this to the 0.25.3 milestone Oct 23, 2023
@mtreinish mtreinish requested review from a team and woodsp-ibm as code owners October 23, 2023 15:45
@qiskit-bot
Copy link
Copy Markdown
Collaborator

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

  • @Qiskit/terra-core

Copy link
Copy Markdown
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: Fixed Add a "Fixed" entry in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants