QONMetric#
- class QONMetric(method, locus_str, metric)#
Bases:
QON
Base class for QON representing a gate quality metric.
Subclasses implement parsing and string representation for specific methods.
Module:
iqm.station_control.client.qon
Attributes
Return the QON domain for metrics.
Locus of the metric.
method
Sequence of names of QPU components on which the gate is applied, or on which the experiment is run, encoded into a string.
Measured metric.
Methods
- locus_str: str#
Sequence of names of QPU components on which the gate is applied, or on which the experiment is run, encoded into a string.
- classmethod _parse(method, method_specific_part)#
Parse a metric observation name using the appropriate registered subclass.
- Parameters:
- Returns:
Parsed metric name.
- Raises:
UnknownObservationError –
method
is not registered.- Return type: