# Operations The operations a code supports: one variant class per kind of operation, all derived from {py:class}`~qecx.OperationVariant`, and the read view of a group of variants. ```{eval-rst} .. currentmodule:: qecx .. autosummary:: :toctree: . MeasurementBasis Operand OperationVariant StatePreparationVariant ResetVariant DataMeasurementVariant LogicalGateVariant LogicalMeasurementVariant SyndromeMeasurementVariant VariantGroup ``` ## Operation sets A {py:class}`~qecx.QECXDocument` holds the variants of each operation type in an operation set, which its properties return, such as {py:attr}`~qecx.QECXDocument.logical_gates`. The operation sets are not part of the top-level package: reach them through a document. ```{eval-rst} .. currentmodule:: qecx.model.operations .. autosummary:: :toctree: . :template: autosummary/operation_set.rst OperationSet StatePreparationSet ResetSet DataMeasurementSet LogicalGateSet LogicalMeasurementSet SyndromeMeasurementSet ```