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 tutorials to work with Qiskit 1.0 #331

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

woodsp-ibm
Copy link
Member

Summary

Qiskit 1,0 removed the deprecated qiskit.tools which included some .jupyter from which the magics that did the version and copyright were imported. This PR adds a local file in the tutorials folder that contains just these magics and changes the import to use this.

Similar fix to qiskit-community/qiskit-algorithms#156

Details and comments

@woodsp-ibm woodsp-ibm added stable backport potential The bug might be minimal and/or import enough to be port to stable type: documentation Issues related to documentation labels Feb 16, 2024
@woodsp-ibm
Copy link
Member Author

This is now failing due to it using Optimization which is failing dues to DiagonalEstimator for which a fix is in qiskit algorithms but as yet unreleased.

@woodsp-ibm
Copy link
Member Author

Qiskit Algorithms 0.3.0 was released so all passes - well its failing in testing the stable set of tutorials that are there against main here. Since this is intended to be backported to fix them too that will have to be ignored.

Copy link
Collaborator

@t-imamichi t-imamichi left a comment

Choose a reason for hiding this comment

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

LGTM

@t-imamichi t-imamichi merged commit 4a93f7d into qiskit-community:main Feb 20, 2024
13 of 14 checks passed
mergify bot pushed a commit that referenced this pull request Feb 20, 2024
mergify bot added a commit that referenced this pull request Feb 20, 2024
(cherry picked from commit 4a93f7d)

Co-authored-by: Steve Wood <[email protected]>
@woodsp-ibm woodsp-ibm deleted the fix_tutorials branch February 20, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge stable backport potential The bug might be minimal and/or import enough to be port to stable type: documentation Issues related to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants