Swap#

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

Bases: Swap, Box

Implements swaps of circuit wires.