Swap#
- class discopy.markov.Swap(left, right)[source]#
Bases:
discopy.symmetric.Swap
,Box
Symmetric swap in a Markov diagram.
- Parameters:
left (monoidal.Ty) – The type on the top left and bottom right.
right (monoidal.Ty) – The type on the top right and bottom left.