You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
op_def: OpDef=hugr.std.collections.EXTENSION.get_op("push")
# Instantiate `push` with some element type# This method does not existconcrete_op: ExtOp=op_def.instantiate(args, sig=optional_signature)
builder.add_op(concrete_op, list, elem)
The current workaround requires manually instantiating ops.ExtOp with a signature and arguments, and setting the private_op_def field.
The text was updated successfully, but these errors were encountered:
So we can use the parametric extension operations
The current workaround requires manually instantiating
ops.ExtOp
with a signature and arguments, and setting the private_op_def
field.The text was updated successfully, but these errors were encountered: