Box#
- class discopy.quantum.circuit.Box(name, dom, cod, is_mixed=True, data=None, _dagger=False, _conjugate=False)[source]#
-
Boxes in a circuit diagram.
- Parameters:
name (any) –
dom (discopy.quantum.circuit.Ty) –
cod (discopy.quantum.circuit.Ty) –
is_mixed (bool, optional) – Whether the box is mixed, default is
True._dagger (bool, optional) – If set to
Nonethen the box is self-adjoint.