GraphDecoder.matching¶
- GraphDecoder.matching(string)[source]¶
- Parameters
string (str) – A string describing the output from the code.
- Returns
- A string with corrected logical values,
computed using minimum weight perfect matching.
- Return type
str
- Additional information:
This function can be run directly, or used indirectly to calculate a logical error probability with get_logical_prob