squlearn icon indicating copy to clipboard operation
squlearn copied to clipboard

WIP: Qiskit 2 support

Open MoritzWillmann opened this issue 10 months ago • 3 comments

A couple of changes are necessary to support Qiskit 2.0. I started to adapt some things but there are still things missing, also some things wee need to wait on.

  • [x] qiskit_algorithms needs to be updated to support 2.0
  • [x] BackendProperties doesn't seem to exist anymore and needs to be replaced accordingly in automatic_backend_selection
  • [x] Mapomatic needs to support 2.0
  • [ ] qiskit_machine_learning needs to support 2.0 or remove qiskit_machine_learning dep

MoritzWillmann avatar Apr 03 '25 07:04 MoritzWillmann

Maybe a good chance to get rid of the qiskit_algorithms, which is only needed for fidelity quantum circuits. We have fast implementation for that for PennyLane and Qulacs, but not for Qiskit.

David-Kreplin avatar Apr 08 '25 14:04 David-Kreplin

Mapomatic causes problems with Qiskit 2.0 since it also checks for BackendV1 that is depricated in Qiskit 2.0. I don't know, if they ever gonna update the Mapomatic Package, maybe we have to create a fix and hope someone will merge it and relase a new Mapomatic version.

David-Kreplin avatar Apr 08 '25 14:04 David-Kreplin

Mapomatic causes problems with Qiskit 2.0 since it also checks for BackendV1 that is depricated in Qiskit 2.0. I don't know, if they ever gonna update the Mapomatic Package, maybe we have to create a fix and hope someone will merge it and relase a new Mapomatic version.

Should be fixed now (https://github.com/qiskit-community/mapomatic/pull/77)

MoritzWillmann avatar Nov 13 '25 09:11 MoritzWillmann