MeasurementFilter¶
- class MeasurementFilter(cal_matrix, state_labels)[source]¶
Measurement error mitigation filter.
Produced from a measurement calibration fitter and can be applied to data.
Initialize a measurement error mitigation filter using the cal_matrix from a measurement calibration fitter.
- Parameters
cal_matrix (
matrix
) – the calibration matrix for applying the correctionstate_labels (
list
) – the states for the ordering of the cal matrix
Attributes
Return cal_matrix.
return the state label ordering of the cal matrix
Methods
MeasurementFilter.apply
(raw_data[, method])Apply the calibration matrix to results.