Qiskit / qiskit-addon-mthree

Matrix-free Measurement Mitigation
https://qiskit.github.io/qiskit-addon-mthree/
Apache License 2.0
37 stars 27 forks source link

Fix broken CI #210

Closed arnaucasau closed 7 months ago

arnaucasau commented 7 months ago

CI was broken for four reasons:

  1. pylint was pinned to version 2.16.2 which doesn't support Python 3.12 and 3.11 officially
  2. Python 3.12 removed support for the imp library in favor of importlib and we were using a version of ipykernal that was importing the old library. The PR pins ipykernal to the first version supporting importlib. See this issue.
  3. The 'QuantumCircuit' object has no method 'bind_parameters' in qiskit 1.0 as we can see in #791 . This PR replaces the call to bind_parameters for assign_parameters as explained in the qiskit 1.0 release notes.
  4. The qiskit.execute function is not available in Qiskit 1.0 anymore -> Migration guide