GuppyExtension¶
- class tket.extensions.GuppyExtension[source]¶
Bases:
TketExtensionGuppy-specific operations.
- __init__()¶
- drop(ty)[source]¶
Drop the input wire. Applicable to guppy affine types only.
- Return type:
ExtOp
- Args:
ty: The guppy affine type of the value to drop.
- property drop_def: OpDef¶
Drop the input wire. Applicable to guppy affine types only.
This is the generic operation definition. For the instantiated operation, see drop.
- property version: Version¶
The version of the extension