qiskit.ignis.verification.GraphDecoder.get_logical_prob¶
-
GraphDecoder.
get_logical_prob
(results, algorithm='matching')[source]¶ - Parameters
results (dict) – A results dictionary, as produced by the
method of the code. (process_results) –
algorithm (str) – Choice of which decoder to use.
- Returns
Dictionary of logical error probabilities for each of the encoded logical states whose results were given in the input.
- Return type
dict