QONSystemMetric#
Module: iqm.station_control.client.qon
- class QONSystemMetric(locus_str, method, metric)#
Bases:
QONMetricQON representing a system quality metric.
Has the form
metrics.{method}.{locus_str}.{metric}.Can parse/represent e.g. the following metrics:
metrics.ghz_state.QB1__QB2.coherence_lower_boundmethod: ghz_state locus_str: QB1__QB2 metric: coherence_lower_bound
Subclasses implement parsing and string representation for specific methods.
Attributes
methodName of the method by which the metric was measured.
metricMeasured 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_]*$')])])
Inheritance
