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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,5 @@ dev = [
{include-group = "build"},
{include-group = "test"},
"nox>=2025.11.12",
"ty==0.0.29",
"ty==0.0.31",
]
6 changes: 3 additions & 3 deletions python/mqt/ddsim/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from __future__ import annotations

from typing import TYPE_CHECKING, Any, cast
from typing import TYPE_CHECKING, Any

from qiskit.providers.exceptions import QiskitBackendNotFoundError
from qiskit.providers.providerutils import filter_backends
Expand All @@ -34,7 +34,7 @@
class DDSIMProvider:
"""Provider for DDSIM backends."""

_BACKENDS = (
_BACKENDS: tuple[tuple[str, type[BackendV2]], ...] = (
("qasm_simulator", QasmSimulatorBackend),
("statevector_simulator", StatevectorSimulatorBackend),
("hybrid_qasm_simulator", HybridQasmSimulatorBackend),
Expand Down Expand Up @@ -79,7 +79,7 @@ def backends(
backends = [
backend_cls() for backend_name, backend_cls in self._BACKENDS if name is None or backend_name == name
]
return cast("list[BackendV2]", filter_backends(backends, filters=filters, **kwargs))
return filter_backends(backends, filters=filters, **kwargs) # ty: ignore[invalid-argument-type, invalid-return-type]

def __str__(self) -> str:
"""Return the provider name."""
Expand Down
44 changes: 22 additions & 22 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading