QONMetric#
Module: iqm.station_control.client.qon
- class QONMetric(locus_str, method, metric)#
Bases:
LocusQONBase class for QON representing a gate quality metric.
Subclasses implement parsing and string representation for specific methods.
Attributes
Return the QON domain for metrics.
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:
locus_str (str)
method (Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^[A-Za-z_][A-Za-z0-9_]*$')])])
metric (Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^[A-Za-z_0-9][A-Za-z0-9_]*$')])])
- method: Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^[A-Za-z_][A-Za-z0-9_]*$')])]#
Name of the method by which the metric was measured.
Inheritance
