QONMetric#
- class QONMetric(method, locus_str, metric)#
Bases:
QONBase class for QON representing a gate quality metric.
Subclasses implement parsing and string representation for specific methods.
Module:
iqm.station_control.client.qonAttributes
Return the QON domain for metrics.
Locus of the metric.
methodSequence 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 –
methodis not registered.- Return type: