# qiskit.ignis.verification.postselection_decoding¶

postselection_decoding(results)[source]

Calculates the logical error probability using postselection decoding.

This postselects all results with trivial syndrome.

Parameters

results (dict) -- A results dictionary, as produced by the process_results method of a code.

Returns

Dictionary of logical error probabilities for

each of the encoded logical states whose results were given in the input.

Return type

dict