We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c64c36 commit e1016fcCopy full SHA for e1016fc
1 file changed
optyx/core/channel.py
@@ -366,9 +366,9 @@ def to_dual_rail(self):
366
367
return frobenius.Functor(
368
ob=lambda x: qmode**(2*len(x)),
369
- ar=lambda arr: arr.to_dual_rail(),
+ ar=lambda arr: arr._to_dual_rail(),
370
cod=frobenius.Category(Ty, Diagram),
371
- )(self._decomp())
+ )(self.decomp())
372
373
def to_tket(self):
374
"""
0 commit comments