Input and output. A decoding graph, a set of detection events and optionally a set of erased edges. The output is a set of edges whose end points, modulo 2, are the detection events.
Procedure (Delfosse and Nickerson).
- Syndrome validation. Start with one cluster per detection event; erased edges belong to clusters from the beginning. A cluster is odd when it contains an odd number of events and does not touch the boundary. Repeatedly grow every odd cluster by half an edge in all directions and merge clusters that meet, keeping track of membership with a union-find data structure. Stop when no odd cluster is left.
- Peeling. Treat the grown clusters as an erasure and run the peeling decoder of Delfosse and Zémor: build a spanning forest of each cluster and remove leaves one at a time, adding the leaf edge to the correction whenever the leaf vertex is a detection event.
Complexity. in the worst case, with the number of physical qubits and the inverse Ackermann function, which is at most 3 for any realistic input.
What it is exact for. The original paper proves that the decoder corrects every error of weight up to and every erasure of up to qubits, where is the distance. For erasures alone no growth is needed and the peeling step is a maximum-likelihood decoder for surface codes. For Pauli noise the result is an approximation to matching: growth is by graph distance and does not minimise total weight.
Accuracy. For the toric code the reported thresholds are 9.9% with perfect syndrome measurement and 2.6% with faulty measurements, compared with 10.3% and 2.9% for matching. Growing clusters at rates set by the edge weights raises the circuit-level threshold of the toric code from 0.38% to 0.62% in the study of Huang, Newman and Brown; Tan et al. report 0.55% for the surface code in their circuit model, against 0.70% for matching.