QONSystemMetric

Contents

QONSystemMetric#

Module: iqm.station_control.client.qon

class QONSystemMetric(locus_str, method, metric)#

Bases: QONMetric

QON 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_bound

method: ghz_state locus_str: QB1__QB2 metric: coherence_lower_bound

Subclasses implement parsing and string representation for specific methods.

Attributes

method

Name of the method by which the metric was measured.

metric

Measured metric.

locus_str

Sequence 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

Inheritance diagram of iqm.station_control.client.qon.QONSystemMetric