qiskit.result.LocalReadoutMitigator.quasi_probabilities¶
- LocalReadoutMitigator.quasi_probabilities(data, qubits=None, clbits=None, shots=None)[código fonte]¶
Compute mitigated quasi probabilities value.
- Parâmetros
data (Counts) – counts object
qubits (Optional[List[int]]) – qubits the count bitstrings correspond to.
clbits (Optional[List[int]]) – Optional, marginalize counts to just these bits.
shots (Optional[int]) – Optional, the total number of shots, if None shots will be calculated as the sum of all counts.
- Retorno
- A dictionary containing pairs of [output, mean] where «output»
is the key in the dictionaries, which is the length-N bitstring of a measured standard basis state, and «mean» is the mean of non-zero quasi-probability estimates.
- Tipo de retorno
QuasiDistibution
- Levanta
QiskitError – if qubit and clbit kwargs are not valid.