33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
---
|
||
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
|
||
---
|
||
|
||
<span id="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.5/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>
|
||
|