qiskit-documentation/docs/api/qiskit/0.32/qiskit.ignis.verification.p...

31 lines
993 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: postselection_decoding
description: API reference for qiskit.ignis.verification.postselection_decoding
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.postselection_decoding
---
# qiskit.ignis.verification.postselection\_decoding
<Function id="qiskit.ignis.verification.postselection_decoding" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/verification/topological_codes/fitters.py" signature="postselection_decoding(results)">
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
</Function>