boulderopalscaleup.device.LinearIQClassifier
class boulderopalscaleup.device.LinearIQClassifier(*, projection, threshold, confusion_matrix, status='calibrated')Linear IQ classifier for single qubit readout.
Variables
- projection (tuple [ float , float ]) – Optimal quadrature line to project over.
- threshold (float) – Threshold for binary classification.
- confusion_matrix (list [ list [ float ] ]) – Confusion matrix associated with the classifier.
- status ( "calibrated" or "uncalibrated" or "stale") – The calibration status of the classifier. Defaults to “calibrated”.