qiskit.utils.mitigation.CompleteMeasFitter.readout_fidelity¶
- CompleteMeasFitter.readout_fidelity(label_list=None)[ソース]¶
Based on the results, output the readout fidelity which is the normalized trace of the calibration matrix
- パラメータ
label_list (bool) – If None, returns the average assignment fidelity of a single state. Otherwise it returns the assignment fidelity to be in any one of these states averaged over the second index.
- 戻り値
readout fidelity (assignment fidelity)
- 戻り値の型
numpy.array
- Additional Information:
The on-diagonal elements of the calibration matrix are the probabilities of measuring state 『x』 given preparation of state 『x』 and so the normalized trace is the average assignment fidelity