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

Update Pennylane version requirement to one that is Qiskit 1.0 compatible #2659

Open
bdg221 opened this issue Feb 4, 2025 · 1 comment
Open
Labels
bug Something isn't working monitor-for-external-solution Tracking issues caused by external packages

Comments

@bdg221
Copy link
Collaborator

bdg221 commented Feb 4, 2025

Issue Description

This issue came from working on #2634 When looking to update the IBM hardware backend code in tutorials to move away from backend.run() that is now deprecated, the Pennylane IBMQ Backends includes:

# TODO: Remove the below comment when PennyLane supports Qiskit 1.0
# As of 03 May 2024, PennyLane is not compatible with Qiskit 1.0,
# but PennyLane plans to support the upgrade, soon

Checking requirements/requirements-pennylane.txt, the version used by Mitiq is:
pennylane-qiskit~=0.36.0
pennylane~=0.36.0

Current Pennylane version is 0.40.0 and Qiskit 1.0 is supported.

@bdg221 bdg221 added the bug Something isn't working label Feb 4, 2025
@purva-thakre
Copy link
Collaborator

purva-thakre commented Feb 11, 2025

Looks like #2639 is the blocker for this.

We will have to wait for pennylane-qiskit to become compatible with qiskit>1.3. I tried reducing the qiskit version for mitiq in bc68ce8 but it led to multiple pytest failures.

Image

https://github.com/PennyLaneAI/pennylane-qiskit/blob/1da7de6b673f41b79f7ced71fd04fc630e932ac0/requirements.txt#L2

@purva-thakre purva-thakre added the monitor-for-external-solution Tracking issues caused by external packages label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working monitor-for-external-solution Tracking issues caused by external packages
Projects
None yet
Development

No branches or pull requests

2 participants