Scalar#

class discopy.quantum.gates.Scalar(data, name=None, is_mixed=False)[source]#

Bases: Parametrized

Scalar, i.e. quantum gate with empty domain and codomain.