Wire

Contents

Wire#

class discopy.braided.Wire(name, dom=monoidal.Colour('white'), cod=monoidal.Colour('white'), is_dagger=False)[source]#

Bases: discopy.monoidal.Wire

A braided object is a self-dagger monoidal.Wire. From braided categories onwards colours stop making sense, i.e. we cannot add colours to braids or swaps in any meaningful way, so its colours are always white.

Parameters: