Swap

Contents

Swap#

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

Bases: Swap[complex], Box

Swap in a ZX diagram.

Parameters:
  • dom (T) –

  • cod (T) –