QONMetric#
Module: iqm.station_control.client.qon
- class QONMetric(*, locus_str, method, metric, suffixes=<factory>)#
Bases:
LocusQONBase class for QON representing a gate or system quality metric.
Subclasses implement parsing and string representation for specific methods.
Attributes
Return the QON domain for metrics.
Return the all the suffixes encoded into a dut_field fragment.
Suffixes defining the metric further (if any).
Name of the method by which the metric was measured.
Measured metric.
locus_strSequence of names of QPU components to which the observation applies, encoded into a string.
Methods
- Parameters:
- method: Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^[A-Za-z0-9_]+$')])]#
Name of the method by which the metric was measured.
- metric: Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^[A-Za-z_0-9][A-Za-z0-9_]*$')])]#
Measured metric.
Inheritance
