Swap#

class discopy.quantum.zx.Swap(left, right)[source]#

Bases: Swap, Box

Swap in a ZX diagram.