Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

postselection_decoding

postselection_decoding(results)

GitHub(opens in a new tab)

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

Was this page helpful?
Report a bug or request content on GitHub.