Swap#
- class discopy.markov.Swap(dom=None, perm=None)[source]#
Bases:
Permutation,discopy.symmetric.Swap,BoxSymmetric 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.