Skip to content
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

Fix test cases for Qiskit 0.45.2 #2035

Merged
merged 3 commits into from
Jan 23, 2024
Merged

Conversation

doichanj
Copy link
Collaborator

@doichanj doichanj commented Jan 19, 2024

Summary

This is fix of test cases for update on the latest Qiskit

Details and comments

Removed unnecessary from qiskit import Aer

Using circuit.library.Diagonal instead of deprecated QuantumCircuit.diagonal

Replace unittest.TestCase to testtools.TestCase to remove warmings on Python 3.12 reverted because testtools.TestCase does not have subTest

@doichanj doichanj added stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable Changelog: Deprecation Include in Deprecated section of changelog labels Jan 19, 2024
@doichanj doichanj requested a review from hhorii January 19, 2024 08:06
hhorii
hhorii previously approved these changes Jan 19, 2024
Copy link
Collaborator

@hhorii hhorii left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@hhorii hhorii left a comment

Choose a reason for hiding this comment

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

LGTM

@doichanj doichanj merged commit cd478c2 into Qiskit:main Jan 23, 2024
35 checks passed
doichanj added a commit to doichanj/qiskit-aer that referenced this pull request Feb 6, 2024
* fix test cases for Qiskit 0.45.2

* format

* revert  testtools.TestCase to unittest.TestCase
@doichanj doichanj mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Deprecation Include in Deprecated section of changelog 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