Swap

Contents

Swap#

class discopy.quantum.circuit.Swap(name=None, dom=None, cod=None, data=None, *args, **kwargs)[source]#

Bases: Swap, Box

Implements swaps of circuit wires.

Parameters:
  • dom (T) –

  • cod (T) –