Scalar

Contents

Scalar#

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

Bases: Parametrized

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