Skip to content

Commit 0b35f3e

Browse files
authored
✨ Support for Qiskit 1.0 (#556)
## Description This PR marks the official support of Qiskit 1.0 in mqt-core. In order to avoid all kinds of ugly compatibility hacks, this PR also changes the minimum required Qiskit version to 1.0. Since Qiskit has devoted themselves to following semantic versioning from now on out, this hopefully means fewer compatibility changes in the future. ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. Signed-off-by: burgholzer <burgholzer@me.com>
1 parent 2de8a6b commit 0b35f3e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

pyproject.toml

+1-7
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ docs = [
6161
"mqt.core[evaluation]"
6262
]
6363
qiskit = [
64-
"qiskit[qasm3-import]>=0.45.0",
64+
"qiskit[qasm3-import]>=1.0.0",
6565
]
6666
dev = ["mqt.core[coverage, docs]",]
6767

@@ -127,14 +127,8 @@ addopts = ["-ra", "--strict-markers", "--strict-config"]
127127
xfail_strict = true
128128
filterwarnings = [
129129
"error",
130-
'ignore:.*qiskit.__qiskit_version__.*:DeprecationWarning:qiskit:',
131-
'ignore:.*qiskit.utils.algorithm_globals.QiskitAlgorithmGlobals*:DeprecationWarning:qiskit',
132-
'ignore:.*Building a flow controller with keyword arguments is going to be deprecated*:PendingDeprecationWarning:qiskit',
133130
'ignore:\s.*Pyarrow.*:DeprecationWarning:',
134131
'ignore:.*datetime\.datetime\.utcfromtimestamp.*:DeprecationWarning:',
135-
'ignore:.*qiskit.utils.parallel*:DeprecationWarning:qiskit',
136-
'ignore:.*qiskit.tools.events*:DeprecationWarning:qiskit',
137-
'ignore:.*qiskit.qasm*:DeprecationWarning:qiskit',
138132
]
139133
log_cli_level = "info"
140134
testpaths = ["test/python"]

test/python/constraints.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ pandas==2.1.2; python_version >= "3.9"
33
pybind11==2.11.0
44
pytest==7.0.0
55
pytest-console-scripts==1.4
6-
qiskit==0.45.0
6+
qiskit==1.0.0
77
scikit-build-core==0.8.1
88
setuptools-scm==7.0.0

0 commit comments

Comments
 (0)