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

lookuptable_decoding

lookuptable_decoding(training_results, real_results) GitHub(opens in a new tab)

Calculates the logical error probability using postselection decoding. This postselects all results with trivial syndrome.

Parameters

  • training_results (dict) – A results dictionary, as produced by the process_results method of a code.
  • real_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


Additional information:

Given a two dictionaries of results, as produced by a code object, thelogical error probability is calculated for lookup table decoding. This is done using training_results as a guide to which syndrome is most probable for each logical value, and the probability is calculated for the results in real_results.

Was this page helpful?