Op#
- class hugr.ops.Op(*args, **kwargs)[source]#
Bases:
Protocol
An abstract HUGR operation. Must be convertible to a serializable
BaseOp
.Methods
Attributes
The number of output ports for this operation.
Bases: Protocol
An abstract HUGR operation. Must be convertible
to a serializable BaseOp
.
Methods
Attributes
The number of output ports for this operation. |