QONMetric#
- class QONMetric(method, locus, 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.
methodSequence of names of QPU components on which the gate is applied, or on which the experiment is run.
Measured metric.
Methods
- locus: str#
Sequence of names of QPU components on which the gate is applied, or on which the experiment is run.
- 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: