GraphDecoder.make_error_graph

GraphDecoder.make_error_graph(string, subgraphs=None)[source]
Parameters
  • string (str) – A string describing the output from the code.

  • subgraphs (list) – Used when multiple, semi-independent graphs need

  • created. (need to) –

Returns

The subgraph(s) of S which corresponds to the non-trivial syndrome elements in the given string.

Return type

E