Skip to content

Commit 899a90e

Browse files
add uses lightsabre property to backend and release 2.10.3 (#2063)
* add uses lightsabre property to backend * Update pytket/pytket/backends/backend.py Co-authored-by: Dan Mills <[email protected]> * update changelog --------- Co-authored-by: Dan Mills <[email protected]>
1 parent b99906c commit 899a90e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

pytket/docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.10.3 (October 2025)
4+
5+
- Add `tket_squash_phasedx_rz` to c api.
6+
37
## 2.10.2 (October 2025)
48

59
Fixes:

pytket/pytket/backends/backend.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ def valid_circuit(self, circuit: Circuit) -> bool:
9595
"""
9696
return all(pred.verify(circuit) for pred in self.required_predicates)
9797

98+
@property
99+
def _uses_lightsabre(self) -> bool:
100+
# lightsaber is a routing method used by pytket-qiskit
101+
return False
102+
98103
def _check_all_circuits(
99104
self, circuits: Iterable[Circuit], nomeasure_warn: bool | None = None
100105
) -> bool:

0 commit comments

Comments
 (0)