cda-tum / mqt-core

MQT Core - The Backbone of the Munich Quantum Toolkit
http://mqt.readthedocs.io/projects/core
MIT License
52 stars 28 forks source link

🚨 fix Qiskit 1.2 deprecation warnings #673

Closed burgholzer closed 3 weeks ago

burgholzer commented 3 weeks ago

Description

Fixes all the deprecation warnings raised by Qiskit 1.2. A warning filter still has to be applied since Qiskit itself imports deprecated code on the default path. This should be fixed in a follow-up release.

Checklist:

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.0%. Comparing base (89f18fb) to head (91d77f5). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673/graphs/tree.svg?width=650&height=150&src=pr&token=MqstsRKdqp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) ```diff @@ Coverage Diff @@ ## main #673 +/- ## ===================================== Coverage 87.0% 87.0% ===================================== Files 125 125 Lines 13781 13781 Branches 2164 2164 ===================================== Hits 11996 11996 Misses 1785 1785 ``` | [Flag](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [cpp](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `86.6% <ø> (ø)` | | Carriedforward from [d98f8cd](https://app.codecov.io/gh/cda-tum/mqt-core/commit/d98f8cd5ece54163d18a807b32973839973bcbbc?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | | [python](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `99.7% <100.0%> (ø)` | | | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) to find out more. | [Files](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [src/mqt/core/plugins/qiskit.py](https://app.codecov.io/gh/cda-tum/mqt-core/pull/673?src=pr&el=tree&filepath=src%2Fmqt%2Fcore%2Fplugins%2Fqiskit.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9jb3JlL3BsdWdpbnMvcWlza2l0LnB5) | `100.0% <100.0%> (ø)` | |