Skip to content

Commit 1f16a40

Browse files
committed
fix tests
1 parent dd80bfe commit 1f16a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optyx/core/channel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ def to_dual_rail(self):
366366

367367
return frobenius.Functor(
368368
ob=lambda x: qmode**(2*len(x)),
369-
ar=lambda arr: arr.to_dual_rail(),
369+
ar=lambda arr: arr._to_dual_rail(),
370370
cod=frobenius.Category(Ty, Diagram),
371-
)(self._decomp())
371+
)(self.decomp())
372372

373373
def to_tket(self):
374374
"""

0 commit comments

Comments
 (0)