MeasurementFilter¶
- class MeasurementFilter(cal_matrix, state_labels)[소스]¶
기반 클래스:
object
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.
- 매개변수
cal_matrix (
matrix
) – the calibration matrix for applying the correctionstate_labels (
list
) – the states for the ordering of the cal matrix
Methods
Apply the calibration matrix to results.
Attributes
- cal_matrix¶
Return cal_matrix.
- state_labels¶
return the state label ordering of the cal matrix