Skip to content

Commit bd48562

Browse files
mqt-app[bot]mqt-app[bot]burgholzerdenialhaag
authored
⬆️ Update munich-quantum-toolkit/core from v3.4.1 to v3.6.0 (#847)
This pull request updates the [munich-quantum-toolkit/core](https://github.com/munich-quantum-toolkit/core) dependency from munich-quantum-toolkit/core@8747a89 (version v3.4.1) to munich-quantum-toolkit/core@cd19d26 (version v3.6.0). **Full Changelog**: munich-quantum-toolkit/core@8747a89...cd19d26 --------- Signed-off-by: Lukas Burgholzer <burgholzer@me.com> Signed-off-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Co-authored-by: mqt-app[bot] <Iv23liRh77HVdrRpFGQ9+mqt-app[bot]@users.noreply.github.com> Co-authored-by: Lukas Burgholzer <burgholzer@me.com> Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
1 parent 7fdf68f commit bd48562

9 files changed

Lines changed: 163 additions & 135 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

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+
## [2.3.0] - 2026-05-13
13+
14+
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#230)._
15+
16+
### Changed
17+
18+
- ⬆️ Update `mqt-core` to version 3.6.0 ([#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.6.0` 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.6.0
3737
CACHE STRING "MQT Core minimum version")
38-
set(MQT_CORE_VERSION 3.4.1
38+
set(MQT_CORE_VERSION 3.6.0
3939
CACHE STRING "MQT Core version")
40-
set(MQT_CORE_REV "8747a89766dfb943d62ed100d383cd1823d2356c"
40+
set(MQT_CORE_REV "cd19d2611c2970ba3da2afdf4406e06fccc16032"
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: 11 additions & 11 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.6.0",
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.6.0",
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.6 \
303+
--exclude libmqt-core-qasm.so.3.6 \
304+
--exclude libmqt-core-circuit-optimizer.so.3.6 \
305+
--exclude libmqt-core-dd.so.3.6"""
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.6.0",
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'",

python/mqt/ddsim/provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ 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
]
82-
return filter_backends(backends, filters=filters, **kwargs) # ty: ignore[invalid-argument-type, invalid-return-type]
82+
return filter_backends(backends, filters=filters, **kwargs) # ty: ignore[invalid-return-type]
8383

8484
def __str__(self) -> str:
8585
"""Return the provider name."""

python/mqt/ddsim/pyddsim.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ class StochasticNoiseSimulator:
6262
seed: int = -1,
6363
noise_effects: str = "APD",
6464
noise_probability: float = 0.01,
65-
amp_damping_probability: float = 0.02,
66-
multi_qubit_gate_factor: float | None = 2,
65+
amp_damping_probability: float | None = 0.02,
66+
multi_qubit_gate_factor: float = 2,
6767
) -> None: ...
6868
def get_number_of_qubits(self) -> int:
6969
"""Get the number of qubits."""
@@ -102,8 +102,8 @@ class DeterministicNoiseSimulator:
102102
seed: int = -1,
103103
noise_effects: str = "APD",
104104
noise_probability: float = 0.01,
105-
amp_damping_probability: float = 0.02,
106-
multi_qubit_gate_factor: float | None = 2,
105+
amp_damping_probability: float | None = 0.02,
106+
multi_qubit_gate_factor: float = 2,
107107
) -> None: ...
108108
def get_number_of_qubits(self) -> int:
109109
"""Get the number of qubits."""

0 commit comments

Comments
 (0)