Skip to content

Remove primitives V1 #934

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

Open
edoaltamura opened this issue May 22, 2025 · 1 comment
Open

Remove primitives V1 #934

edoaltamura opened this issue May 22, 2025 · 1 comment
Labels
type: design 📐 Relevant to code architecture type: epic 😎 A theme of work that contain sub-tasks
Milestone

Comments

@edoaltamura
Copy link
Collaborator

What should we add?

When adding support for Qiskit 2.0, V1 primitives need to be removed, and only V2 primitives will be supported. This change is expected to be made around the release of our version 0.9.0.

@edoaltamura edoaltamura added type: design 📐 Relevant to code architecture type: epic 😎 A theme of work that contain sub-tasks labels May 22, 2025
@edoaltamura edoaltamura added this to the v.0.9.0 milestone May 22, 2025
@edoaltamura edoaltamura changed the title Deprecate primitives V1 Remove primitives V1 May 22, 2025
@ttrenty
Copy link

ttrenty commented May 27, 2025

A fresh installation of the library using pip install qiskit-machine-learning doesn't work as expected at the moment. It installs qiskit>=1.0, which currently resolves to qiskit-2.0.1. However, the tutorials at https://qiskit-community.github.io/qiskit-machine-learning/tutorials/index.html still rely on Qiskit 1.x primitives.

I had to run pip install "qiskit>=1.0,<2.0" --force-reinstall --upgrade to ensure compatibility with the tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: design 📐 Relevant to code architecture type: epic 😎 A theme of work that contain sub-tasks
Projects
None yet
Development

No branches or pull requests

2 participants