StdOpsExtension

class guppyft.extensions.std.StdOpsExtension[source]

Extension providing standard logical operations.

__call__() → Extension[source]

Returns the standard ops extension.

decode(k: int) → ExtOp[source]

Decode a logical measurement.

Parameters:

k – The number of logical measurements.

property decode_def: OpDef

Decode a logical measurement.

This is the generic type definition. For the instantiated type, see decode.