GraphDecoder.get_logical_prob¶
- GraphDecoder.get_logical_prob(results, algorithm='matching')[source]¶
- Parameters
results (dict) – A results dictionary, as produced by the
code. (process_results method of the) –
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