DebugExtension¶
- class tket.extensions.DebugExtension[source]¶
Bases:
TketExtensionExtension for debugging operations.
- __init__()¶
- state_result(name, size)[source]¶
Report the state of given qubits in the given order.
- Return type:
ExtOp
- Args:
name: The name of the state result to report. size: The size of the qubit array.
- property state_result_def: OpDef¶
Report the state of given qubits in the given order.
This is the generic operation definition. For the instantiated operation, see stateResult.
- property version: Version¶
The version of the extension