After obtaining and binning the outcomes of the homodyne measurement, error correction is performed for the outer qubit code.
The details of the error correction problem we solve are summarized in alg:decoder for a particular, standard, choice of decoding algorithm: minimum-weight perfect matching (MWPM) [1]}, [2]}, [3]}.
Note that there are many other decoding algorithms that could be used such as those presented in Refs. [4]}, [5]}, [6]}, [7]}, [8]}, [9]}, [10]}, [11]}, [12]}, [13]}, [14]}, [15]}, [16]}, [17]}, [18]}, [19]}, [20]}, [21]}.
