Skip to content

Commit e1016fc

Browse files
committed
fix tests
1 parent 6c64c36 commit e1016fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)