Operations¶
The operations a code supports: one variant class per kind of operation, all derived
from OperationVariant, and the read view of a group of variants.
|
Measurement basis for a whole-block data measurement. |
|
One logical-qubit argument of a logical operation. |
|
Shared base of the six operation-variant kinds. |
|
State-preparation variant for one target logical state. |
|
Reset variant for one target logical state. |
|
Data-measurement variant for one measurement basis. |
|
Logical-gate variant for one gate and operand shape. |
|
Logical-measurement variant for one observable and operand shape. |
|
Syndrome-measurement variant writing syndrome bits to output classical registers. |
|
Frozen read view of one variant group. |
Operation sets¶
A QECXDocument holds the variants of each operation type in an operation
set, which its properties return, such as logical_gates. The
operation sets are not part of the top-level package: reach them through a document.
|
Structural protocol shared by the per-type operation-set containers. |
|
State-preparation variants grouped by target logical state. |
|
Reset variants grouped by target logical state. |
|
Data-measurement variants grouped by measurement basis. |
|
Logical-gate variants addressed by gate name and operand signature. |
|
Logical-measurement variants addressed by observable and operand signature. |
|
The single group of syndrome-measurement variants. |