Skip to content

Stop using deprecated BaseBackend class#1501

Merged
hhorii merged 2 commits into
Qiskit:mainfrom
mtreinish:drop-basebackend
Apr 6, 2022
Merged

Stop using deprecated BaseBackend class#1501
hhorii merged 2 commits into
Qiskit:mainfrom
mtreinish:drop-basebackend

Conversation

@mtreinish
Copy link
Copy Markdown
Member

Summary

The BaseBackend class in qiskit-terra (along with the rest of the legacy
provider interface) is deprecated and being removed soon in
Qiskit/qiskit#7886. To avoid potential compatibility issues or
deprecation warnings we shouldn't be using this class anymore. This
commit removes the last 2 uses of these legacy classes to avoid issues
moving forward.

Details and comments

The BaseBackend class in qiskit-terra (along with the rest of the legacy
provider interface) is deprecated and being removed soon in
Qiskit/qiskit#7886. To avoid potential compatibility issues or
deprecation warnings we shouldn't be using this class anymore. This
commit removes the last 2 uses of these legacy classes to avoid issues
moving forward.
@mtreinish mtreinish added the stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable label Apr 5, 2022
@mtreinish mtreinish added this to the Aer 0.10.4 milestone Apr 5, 2022
@hhorii hhorii merged commit 07a8532 into Qiskit:main Apr 6, 2022
@mtreinish mtreinish deleted the drop-basebackend branch April 6, 2022 11:22
@mtreinish mtreinish mentioned this pull request Apr 6, 2022
1 task
mtreinish added a commit to hhorii/qiskit-aer that referenced this pull request Apr 6, 2022
The BaseBackend class in qiskit-terra (along with the rest of the legacy
provider interface) is deprecated and being removed soon in
Qiskit/qiskit#7886. To avoid potential compatibility issues or
deprecation warnings we shouldn't be using this class anymore. This
commit removes the last 2 uses of these legacy classes to avoid issues
moving forward.

Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
(cherry picked from commit 07a8532)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants