Skip to content

Commit 93854fd

Browse files
committed
📌 Prepare everything for a v2.3.0 release
Signed-off-by: Lukas Burgholzer <burgholzer@me.com>
1 parent faa34ed commit 93854fd

9 files changed

Lines changed: 117 additions & 101 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
clang-version: 20
151151
cmake-args: -DBUILD_MQT_DDSIM_BINDINGS=ON
152152
files-changed-only: true
153-
install-pkgs: "nanobind==2.11.0"
153+
install-pkgs: "nanobind==2.12.0"
154154
setup-python: true
155155
cpp-linter-extra-args: "-std=c++20"
156156

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ repos:
4545

4646
## Check pyproject.toml file
4747
- repo: https://github.com/henryiii/validate-pyproject-schema-store
48-
rev: 2026.04.11
48+
rev: 2026.04.21
4949
hooks:
5050
- id: validate-pyproject
5151
priority: 0
5252

5353
## Ensure uv.lock is up to date
5454
- repo: https://github.com/astral-sh/uv-pre-commit
55-
rev: 0.11.6
55+
rev: 0.11.7
5656
hooks:
5757
- id: uv-lock
5858
priority: 0
@@ -69,7 +69,7 @@ repos:
6969

7070
## Check for typos
7171
- repo: https://github.com/adhtruong/mirrors-typos
72-
rev: v1.45.0
72+
rev: v1.45.1
7373
hooks:
7474
- id: typos
7575
priority: 3
@@ -102,7 +102,7 @@ repos:
102102

103103
## Format configuration files with prettier
104104
- repo: https://github.com/rbubley/mirrors-prettier
105-
rev: v3.8.2
105+
rev: v3.8.3
106106
hooks:
107107
- id: prettier
108108
types_or: [yaml, markdown, html, css, scss, javascript, json, json5]
@@ -120,15 +120,15 @@ repos:
120120

121121
## Format C++ files with clang-format
122122
- repo: https://github.com/pre-commit/mirrors-clang-format
123-
rev: v22.1.3
123+
rev: v22.1.4
124124
hooks:
125125
- id: clang-format
126126
types_or: [c++, c, cuda]
127127
priority: 5
128128

129129
## Format and lint Python files with ruff
130130
- repo: https://github.com/astral-sh/ruff-pre-commit
131-
rev: v0.15.10
131+
rev: v0.15.11
132132
hooks:
133133
- id: ruff-format
134134
types_or: [python, pyi, jupyter, markdown]

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ This project adheres to [Semantic Versioning], with the exception that minor rel
99

1010
## [Unreleased]
1111

12+
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#230)._
13+
14+
## [2.3.0] - 2026-04-23
15+
16+
### Changed
17+
18+
- ⬆️ Update `mqt-core` to version 3.5.1 ([#847]) ([**@burgholzer**])
19+
- ⬆️ Update `nanobind` to version 2.12.0 ([#847]) ([**@burgholzer**])
20+
1221
## [2.2.0] - 2026-02-19
1322

1423
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#220)._
@@ -88,14 +97,16 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._
8897

8998
<!-- Version links -->
9099

91-
[unreleased]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.2.0...HEAD
100+
[unreleased]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.3.0...HEAD
101+
[2.3.0]: https://github.com/munich-quantum-toolkit/ddsim/releases/tag/v2.3.0
92102
[2.2.0]: https://github.com/munich-quantum-toolkit/ddsim/releases/tag/v2.2.0
93103
[2.1.0]: https://github.com/munich-quantum-toolkit/ddsim/releases/tag/v2.1.0
94104
[2.0.0]: https://github.com/munich-quantum-toolkit/ddsim/releases/tag/v2.0.0
95105
[1.24.0]: https://github.com/munich-quantum-toolkit/ddsim/releases/tag/v1.24.0
96106

97107
<!-- PR links -->
98108

109+
[#847]: https://github.com/munich-quantum-toolkit/ddsim/pull/847
99110
[#779]: https://github.com/munich-quantum-toolkit/ddsim/pull/779
100111
[#773]: https://github.com/munich-quantum-toolkit/ddsim/pull/773
101112
[#770]: https://github.com/munich-quantum-toolkit/ddsim/pull/770

UPGRADING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This document describes breaking changes and how to upgrade. For a complete list
44

55
## [Unreleased]
66

7+
## [2.3.0]
8+
9+
This release updates the minimum required `mqt-core` version to `v3.5.1` as well as the `nanobind` version to `v2.12.0`.
10+
711
## [2.2.0]
812

913
### Python wheels
@@ -88,7 +92,8 @@ The default compilers of our test systems support all relevant features of the s
8892

8993
<!-- Version links -->
9094

91-
[unreleased]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.2.0...HEAD
95+
[unreleased]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.3.0...HEAD
96+
[2.3.0]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.2.0...v2.3.0
9297
[2.2.0]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.1.0...v2.2.0
9398
[2.1.0]: https://github.com/munich-quantum-toolkit/ddsim/compare/v2.0.0...v2.1.0
9499
[2.0.0]: https://github.com/munich-quantum-toolkit/ddsim/compare/v1.24.0...v2.0.0

cmake/ExternalDependencies.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ if(BUILD_MQT_DDSIM_BINDINGS)
3333
endif()
3434

3535
# cmake-format: off
36-
set(MQT_CORE_MINIMUM_VERSION 3.4.1
36+
set(MQT_CORE_MINIMUM_VERSION 3.5.1
3737
CACHE STRING "MQT Core minimum version")
38-
set(MQT_CORE_VERSION 3.5.0
38+
set(MQT_CORE_VERSION 3.5.1
3939
CACHE STRING "MQT Core version")
40-
set(MQT_CORE_REV "848371e7fd5a81c906e8f2b9a1983cd89ffa4990"
40+
set(MQT_CORE_REV "3c0ba57083ca797bcdca24e8813ba46acf5da5f5"
4141
CACHE STRING "MQT Core identifier (tag, branch or commit hash)")
4242
set(MQT_CORE_REPO_OWNER "munich-quantum-toolkit"
4343
CACHE STRING "MQT Core repository owner (change when using a fork)")

include/PathSimulator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <list>
2323
#include <map>
2424
#include <memory>
25-
#include <nlohmann/json_fwd.hpp>
25+
#include <nlohmann/json.hpp>
2626
#include <stdexcept>
2727
#include <string>
2828
#include <taskflow/core/async.hpp> // IWYU pragma: keep

pyproject.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
[build-system]
1010
requires = [
11-
"nanobind~=2.11.0",
11+
"nanobind~=2.12.0",
1212
"scikit-build-core>=0.12.2",
1313
"setuptools-scm>=9.2.2",
14-
"mqt.core~=3.4.1",
14+
"mqt.core~=3.5.1",
1515
]
1616
build-backend = "scikit_build_core.build"
1717

@@ -48,7 +48,7 @@ classifiers = [
4848
]
4949
requires-python = ">=3.10"
5050
dependencies = [
51-
"mqt.core[qiskit]~=3.4.1",
51+
"mqt.core[qiskit]~=3.5.1",
5252
"qiskit>=1.1",
5353
]
5454
dynamic = ["version"]
@@ -299,10 +299,10 @@ test-skip = [
299299
environment = { DEPLOY = "ON" }
300300
# The SOVERSION needs to be updated when the shared libraries are updated.
301301
repair-wheel-command = """auditwheel repair -w {dest_dir} {wheel} \
302-
--exclude libmqt-core-ir.so.3.4 \
303-
--exclude libmqt-core-qasm.so.3.4 \
304-
--exclude libmqt-core-circuit-optimizer.so.3.4 \
305-
--exclude libmqt-core-dd.so.3.4"""
302+
--exclude libmqt-core-ir.so.3.5 \
303+
--exclude libmqt-core-qasm.so.3.5 \
304+
--exclude libmqt-core-circuit-optimizer.so.3.5 \
305+
--exclude libmqt-core-dd.so.3.5"""
306306

307307
[tool.cibuildwheel.macos]
308308
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0" }
@@ -337,10 +337,10 @@ mqt-ddsim = { workspace = true }
337337

338338
[dependency-groups]
339339
build = [
340-
"nanobind~=2.11.0",
340+
"nanobind~=2.12.0",
341341
"scikit-build-core>=0.12.2",
342342
"setuptools-scm>=9.2.2",
343-
"mqt.core~=3.4.1",
343+
"mqt.core~=3.5.1",
344344
]
345345
docs = [
346346
"breathe>=4.36.0",
@@ -359,8 +359,8 @@ docs = [
359359
"qiskit[visualization]>=1.0.0",
360360
]
361361
test = [
362-
"pytest>=9.0.1",
363-
"pytest-cov>=7.0.0",
362+
"pytest>=9.0.3",
363+
"pytest-cov>=7.1.0",
364364
"pytest-sugar>=1.1.1",
365365
"pytest-xdist>=3.8.0",
366366
"numpy>=2.1; python_version >= '3.13'",
@@ -369,6 +369,6 @@ test = [
369369
dev = [
370370
{include-group = "build"},
371371
{include-group = "test"},
372-
"nox>=2025.11.12",
373-
"ty==0.0.29",
372+
"nox>=2026.04.10",
373+
"ty==0.0.32",
374374
]

python/mqt/ddsim/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def backends(
7676
filters: Additional filtering criteria.
7777
kwargs: Additional filtering criteria.
7878
"""
79-
backends = [
79+
backends: list[Backend] = [
8080
backend_cls() for backend_name, backend_cls in self._BACKENDS if name is None or backend_name == name
8181
]
8282
return cast("list[BackendV2]", filter_backends(backends, filters=filters, **kwargs))

0 commit comments

Comments
 (0)