Command#
- class hugr.ops.Command(op: DataflowOp, incoming: list[Wire | int])[source]#
Bases:
object
- A
DataflowOp
and its incomingWire
arguments.
Ephemeral: used to wire operations into a dataflow graph.
Example
>>> Noop()(Node(0).out(0)) Command(op=Noop, incoming=[OutPort(Node(0), 0)])
Methods
Attributes
op
incoming
- A