Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if(BUILD_MQT_CORE_BINDINGS)
endif()

# top-level call to find Python
find_package(Python 3.10 REQUIRED COMPONENTS Interpreter Development.Module
find_package(Python 3.11 REQUIRED COMPONENTS Interpreter Development.Module
${SKBUILD_SABI_COMPONENT})
endif()

Expand Down
2 changes: 1 addition & 1 deletion eval/dd_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Licensed under the MIT License

# /// script
# requires-python = ">=3.10"
# requires-python = ">=3.11"
# dependencies = [
# "pandas[output-formatting]>=2.1.2",
# "pandas[output-formatting]>=2.2.3; python_version >= '3.13'",
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
nox.options.default_venv_backend = "uv"


PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]
PYTHON_ALL_VERSIONS = ["3.11", "3.12", "3.13", "3.14"]

if os.environ.get("CI", None):
nox.options.error_on_missing_interpreters = True
Expand Down
15 changes: 5 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,19 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Typing :: Typed",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dynamic = ["version"]

[project.optional-dependencies]
pennylane = [
"pennylane>=0.45.1,<0.46; python_version >= '3.11'",
"pennylane>=0.45.1,<0.46",
]
qiskit = [
"qiskit[qasm3-import]>=1.1.0",
Expand Down Expand Up @@ -216,9 +215,6 @@ ignore = [
future-annotations = true
typing-modules = ["mqt.core._compat.typing"]

[tool.ruff.lint.flake8-tidy-imports.banned-api]
"typing.assert_never".msg = "Use mqt.core._compat.typing.assert_never instead."

[tool.ruff.lint.isort]
known-first-party = ["mqt.core"]

Expand Down Expand Up @@ -337,10 +333,9 @@ docs = [
"sphinxext-opengraph>=0.13.0",
"qiskit[visualization]>=1.1.0",
"openqasm-pygments>=0.2.0",
"pennylane>=0.45.1,<0.46; python_version >= '3.11'",
"pennylane>=0.45.1,<0.46",
"graphviz>=0.21.0",
"sphinx>=8.1.3; python_version < '3.11'",
"sphinx>=9.0; python_version >= '3.11'",
"sphinx>=9.0",
"mlir-pygments>=1.0.0",
]
test = [
Expand All @@ -349,7 +344,7 @@ test = [
"pytest-cov>=7.1.0",
"pytest-sugar>=1.1.1",
"pytest-xdist>=3.8.0",
"pennylane>=0.45.1,<0.46; python_version >= '3.11'",
"pennylane>=0.45.1,<0.46",
"qiskit[qasm3-import]>=1.1.0",
"numpy>=2.1; python_version >= '3.13'",
"numpy>=2.3.2; python_version >= '3.14'",
Expand Down
29 changes: 0 additions & 29 deletions python/mqt/core/_compat/typing.py

This file was deleted.

2 changes: 1 addition & 1 deletion python/mqt/core/plugins/qiskit/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def result(self) -> Result:
qobj_id=self.job_id(),
job_id=self.job_id(),
success=overall_success,
date=datetime.datetime.now(datetime.timezone.utc).isoformat(),
date=datetime.datetime.now(datetime.UTC).isoformat(),
results=experiment_results,
)

Expand Down
4 changes: 0 additions & 4 deletions test/python/plugins/qdmi_pennylane/test_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@

from __future__ import annotations

import sys
from typing import cast

import numpy as np
import pytest

if sys.version_info < (3, 11):
pytest.skip("PennyLane requires Python 3.11 or newer.", allow_module_level=True)

try:
import pennylane as qp
except ImportError:
Expand Down
5 changes: 0 additions & 5 deletions test/python/plugins/qdmi_pennylane/test_ddsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@

from __future__ import annotations

import sys

import numpy as np
import pytest

if sys.version_info < (3, 11):
pytest.skip("PennyLane requires Python 3.11 or newer.", allow_module_level=True)

try:
import pennylane as qp
except ImportError:
Expand Down
4 changes: 0 additions & 4 deletions test/python/plugins/qdmi_pennylane/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@

from __future__ import annotations

import sys
from typing import cast

import numpy as np
import pytest

if sys.version_info < (3, 11):
pytest.skip("PennyLane requires Python 3.11 or newer.", allow_module_level=True)

try:
import pennylane as qp
except ImportError:
Expand Down
20 changes: 0 additions & 20 deletions test/python/plugins/qdmi_pennylane/test_optional.py

This file was deleted.

Loading
Loading