qiskit.ignis.mitigation.ExpvalMeasMitigatorFitter¶
-
class
ExpvalMeasMitigatorFitter
(result, metadata)[source]¶ Expectation value measurement error mitigator calibration fitter.
See
qiskit.ignis.mitigation.expval_meas_mitigator_circuits()
for additional documentation.Fit a measurement error mitigator object from experiment data.
- Parameters
result (
Result
) – Qiskit result object.metadata (
List
[Dict
[str
,any
]]) – mitigation generator metadata.
-
__init__
(result, metadata)[source]¶ Fit a measurement error mitigator object from experiment data.
- Parameters
result (
Result
) – Qiskit result object.metadata (
List
[Dict
[str
,any
]]) – mitigation generator metadata.
Methods
__init__
(result, metadata)Fit a measurement error mitigator object from experiment data.
fit
([method, generators])Fit and return the Mitigator object from the calibration data.
Attributes
Return the fitted mitigator object
-
fit
(method=None, generators=None)[source]¶ Fit and return the Mitigator object from the calibration data.
- Return type
Union
[CompleteExpvalMeasMitigator
,TensoredExpvalMeasMitigator
,CTMPExpvalMeasMitigator
]
-
property
mitigator
¶ Return the fitted mitigator object