Skip to content
Merged
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
build-project: true
files-changed-only: true
setup-python: true
install-pkgs: "nanobind==2.10.2"
install-pkgs: "nanobind==2.11.0"
cpp-linter-extra-args: "-std=c++20"
setup-mlir: true
llvm-version: 21.1.8
Expand Down
3 changes: 1 addition & 2 deletions .license-tools-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
".*\\.tex",
"uv\\.lock",
"py\\.typed",
".*build.*",
"core_patterns.txt"
".*build.*"
]
}
3 changes: 0 additions & 3 deletions bindings/core_patterns.txt

This file was deleted.

2 changes: 2 additions & 0 deletions bindings/dd/register_dd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ using Matrix = nb::ndarray<nb::numpy, std::complex<dd::fp>, nb::ndim<2>>;
Matrix getMatrix(const dd::mEdge& m, size_t numQubits, dd::fp threshold = 0.);

NB_MODULE(MQT_CORE_MODULE_NAME, m) {
m.doc() = R"pb(MQT Core DD - The MQT Core Decision Diagram (DD) module.)pb";

nb::module_::import_("mqt.core.ir");

// Vector Decision Diagrams
Expand Down
3 changes: 3 additions & 0 deletions bindings/ir/register_ir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ void registerSymbolic(const nb::module_& m);
void registerQuantumComputation(const nb::module_& m);

NB_MODULE(MQT_CORE_MODULE_NAME, m) {
m.doc() =
R"pb(MQT Core IR - The MQT Core Intermediate Representation (IR) module.)pb";

Comment thread
coderabbitai[bot] marked this conversation as resolved.
registerPermutation(m);

const nb::module_ symbolic = m.def_submodule("symbolic");
Expand Down
2 changes: 2 additions & 0 deletions bindings/na/register_fomac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ template <pyClass T> [[nodiscard]] auto repr(T c) -> std::string {

// NOLINTNEXTLINE(misc-use-internal-linkage)
void registerFomac(nb::module_& m) {
m.doc() = R"pb(Reconstruction of NADevice from QDMI's Device class.)pb";

nb::module_::import_("mqt.core.fomac");

auto device = nb::class_<na::Session::Device, fomac::Session::Device>(
Expand Down
2 changes: 1 addition & 1 deletion bindings/na/register_na.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace nb = nanobind;
void registerFomac(nb::module_& m);

NB_MODULE(MQT_CORE_MODULE_NAME, m) {
m.doc() = R"pb(MQT Core NA - The MQT Core neutral atom module.
m.doc() = R"pb(MQT Core NA - The MQT Core Neutral Atom module.

This module contains all neutral atom related functionality of MQT Core.)pb";

Expand Down
3 changes: 0 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ def stubs(session: nox.Session) -> None:
)

package_root = Path(__file__).parent / "python" / "mqt" / "core"
pattern_file = Path(__file__).parent / "bindings" / "core_patterns.txt"

session.run(
"python",
Expand All @@ -235,8 +234,6 @@ def stubs(session: nox.Session) -> None:
"--include-private",
"--output-dir",
str(package_root),
"--pattern-file",
str(pattern_file),
"--module",
"mqt.core.ir",
"--module",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[build-system]
requires = [
"nanobind>=2.10.2",
"nanobind~=2.11.0",
"scikit-build-core>=0.11.6",
"setuptools-scm>=9.2.2",
]
Expand Down Expand Up @@ -323,7 +323,7 @@ exclude = [

[dependency-groups]
build = [
"nanobind>=2.10.2",
"nanobind~=2.11.0",
"scikit-build-core>=0.11.6",
"setuptools-scm>=9.2.2",
]
Expand Down
2 changes: 2 additions & 0 deletions python/mqt/core/dd.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#
# Licensed under the MIT License

"""MQT Core DD - The MQT Core Decision Diagram (DD) module."""

import enum
from collections.abc import Sequence
from collections.abc import Set as AbstractSet
Expand Down
2 changes: 2 additions & 0 deletions python/mqt/core/ir/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#
# Licensed under the MIT License

"""MQT Core IR - The MQT Core Intermediate Representation (IR) module."""

import os
from collections.abc import ItemsView, Iterable, Iterator, Mapping, MutableMapping, MutableSequence, Sequence
from collections.abc import Set as AbstractSet
Expand Down
5 changes: 5 additions & 0 deletions python/mqt/core/na/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
#
# Licensed under the MIT License

"""MQT Core NA - The MQT Core Neutral Atom module.

This module contains all neutral atom related functionality of MQT Core.
"""

from . import fomac as fomac
2 changes: 2 additions & 0 deletions python/mqt/core/na/fomac.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#
# Licensed under the MIT License

"""Reconstruction of NADevice from QDMI's Device class."""

import mqt.core.fomac

class Device(mqt.core.fomac.Device):
Expand Down
126 changes: 66 additions & 60 deletions uv.lock

Large diffs are not rendered by default.

Loading