Skip to content

Commit 5fbf29e

Browse files
⬆️🐍 Update dependency nanobind to ~=2.13.0 (#1817)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 838681a commit 5fbf29e

4 files changed

Lines changed: 138 additions & 138 deletions

File tree

pyproject.toml

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

99
[build-system]
1010
requires = [
11-
"nanobind~=2.12.0",
11+
"nanobind~=2.13.0",
1212
"scikit-build-core>=0.12.2",
1313
"setuptools-scm>=9.2.2",
1414
]
@@ -327,7 +327,7 @@ exclude = [
327327

328328
[dependency-groups]
329329
build = [
330-
"nanobind~=2.12.0",
330+
"nanobind~=2.13.0",
331331
"scikit-build-core>=0.12.2",
332332
"setuptools-scm>=9.2.2",
333333
]

python/mqt/core/fomac.pyi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Session:
8181
class Job:
8282
"""A job represents a submitted quantum program execution."""
8383

84-
def check(self) -> Job.Status:
84+
def check(self) -> Status:
8585
"""Returns the current status of the job."""
8686

8787
def wait(self, timeout: int = 0) -> bool:
@@ -206,7 +206,7 @@ class Device:
206206
def version(self) -> str:
207207
"""Returns the version of the device."""
208208

209-
def status(self) -> Device.Status:
209+
def status(self) -> Status:
210210
"""Returns the current status of the device."""
211211

212212
def library_version(self) -> str:
@@ -215,19 +215,19 @@ class Device:
215215
def qubits_num(self) -> int:
216216
"""Returns the number of qubits available on the device."""
217217

218-
def sites(self) -> list[Device.Site]:
218+
def sites(self) -> list[Site]:
219219
"""Returns the list of all sites (zone and regular sites) available on the device."""
220220

221-
def regular_sites(self) -> list[Device.Site]:
221+
def regular_sites(self) -> list[Site]:
222222
"""Returns the list of regular sites (without zone sites) available on the device."""
223223

224-
def zones(self) -> list[Device.Site]:
224+
def zones(self) -> list[Site]:
225225
"""Returns the list of zone sites (without regular sites) available on the device."""
226226

227-
def operations(self) -> list[Device.Operation]:
227+
def operations(self) -> list[Operation]:
228228
"""Returns the list of operations supported by the device."""
229229

230-
def coupling_map(self) -> list[tuple[Device.Site, Device.Site]] | None:
230+
def coupling_map(self) -> list[tuple[Site, Site]] | None:
231231
"""Returns the coupling map of the device as a list of site pairs."""
232232

233233
def needs_calibration(self) -> int | None:

python/mqt/core/ir/operations.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class Control:
349349
type_: The type of the control.
350350
"""
351351

352-
def __init__(self, qubit: int, type_: Control.Type = ...) -> None: ...
352+
def __init__(self, qubit: int, type_: Type = ...) -> None: ...
353353

354354
class Type(enum.Enum):
355355
"""Enumeration of control types."""

0 commit comments

Comments
 (0)