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
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.12.0",
"nanobind~=2.13.0",
"scikit-build-core>=0.12.2",
"setuptools-scm>=9.2.2",
]
Expand Down Expand Up @@ -327,7 +327,7 @@ exclude = [

[dependency-groups]
build = [
"nanobind~=2.12.0",
"nanobind~=2.13.0",
"scikit-build-core>=0.12.2",
"setuptools-scm>=9.2.2",
]
Expand Down
14 changes: 7 additions & 7 deletions python/mqt/core/fomac.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Session:
class Job:
"""A job represents a submitted quantum program execution."""

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

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

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

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

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

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

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

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

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

def needs_calibration(self) -> int | None:
Expand Down
2 changes: 1 addition & 1 deletion python/mqt/core/ir/operations.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class Control:
type_: The type of the control.
"""

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

class Type(enum.Enum):
"""Enumeration of control types."""
Expand Down
Loading
Loading