Abstract
Quantum error correction (QEC) is essential for building fault-tolerant quantum computers, yet it imposes stringent real-time processing requirements. Minimum-Weight Perfect Matching (MWPM) is the gold standard for decoding accuracy in surface codes, but its computational complexity has traditionally hindered its use in high-speed superconducting qubit systems. We present Micro Blossom, a heterogeneous hardware-accelerated decoder that achieves sub-microsecond latency for exact MWPM. By offloading the dual phase of the blossom algorithm to a massively parallel FPGA-based accelerator, Micro Blossom achieves an 8x speedup over previous state-of-the-art decoders, meeting the microsecond-scale deadlines required for real-time error suppression.
Introduction
To realize the potential of quantum computing, systems must overcome the inherent fragility of physical qubits. Quantum Error Correction (QEC) addresses this by encoding logical information across a manifold of physical qubits, using parity measurements (syndromes) to detect errors. However, these errors must be identified and corrected by a "decoder" faster than they accumulate. For superconducting qubits, this creates a "soft deadline" of approximately one microsecond.
While various decoding algorithms exist, Minimum-Weight Perfect Matching (MWPM) is preferred for its high accuracy and low logical error rates. Historically, MWPM has been deemed too slow for real-time applications, leading researchers to adopt faster but less accurate approximate decoders. Micro Blossom bridges this gap, providing the accuracy of exact MWPM at the speeds necessary for modern quantum hardware.
Methodology
Micro Blossom utilizes a heterogeneous architecture that partitions the blossom algorithm into software and hardware components to optimize for both complexity and throughput.
Primal-Dual Partitioning
The blossom algorithm is split into two distinct phases. The Primal Phase manages complex, dynamic data structures known as "blossoms." Due to its algorithmic complexity, this phase remains in software on a standard CPU. Conversely, the Dual Phase—which involves repetitive, fine-grained updates across the decoding graph—is offloaded to a custom FPGA-based accelerator.
Massively Parallel Hardware
The hardware accelerator implements a "one-PU-per-element" strategy, assigning a dedicated Processing Unit (PU) to every vertex and edge in the decoding graph. This architecture allows the dual phase to exploit maximum parallelism, transforming a sequential bottleneck into a parallel operation. Furthermore, the system employs Round-wise Fusion, allowing it to process syndrome data as a stream rather than waiting for large batches of measurement rounds.
Isolated Conflict Handling
A significant innovation in Micro Blossom is the detection of "Isolated Conflicts." In QEC, many errors are local and simple. Micro Blossom’s hardware is designed to detect and resolve these common cases entirely on the FPGA. By handling these frequent, low-complexity errors locally, the system drastically reduces the communication overhead between the FPGA and the CPU.
Experimental Results
The performance of Micro Blossom was evaluated using simulated surface code data under a realistic circuit-level noise model. The study covered code distances from $d=3$ to $d=15$ and physical error rates ($p$) ranging from $0.01\%$ to $1\%$.
Latency and Speedup
At a code distance of $d=13$ and a physical error rate of $0.1\%$, Micro Blossom achieved an average decoding latency of 0.8 µs. This represents an 8x speedup over the fastest previously reported MWPM hardware decoders and a 17x speedup over the Parity Blossom software baseline running on high-end consumer CPUs (Apple M1 Max).
Complexity and Accuracy
By parallelizing the dual phase, the authors reduced the worst-case time complexity from $O(|V|^4)$ in sequential implementations to $O(|V|^3)$ using parallel resources. Critically, Micro Blossom provides the exact MWPM solution, ensuring that the speed increase does not come at the cost of the logical error rate, unlike approximate decoders such as Union-Find.
Discussion and Future Work
Micro Blossom demonstrates that exact MWPM is viable for real-time QEC in superconducting systems. Prototyped on a Xilinx Versal VMK180 FPGA, the design shows predictable resource scaling at $O(d^3 \text{ polylog } d)$.
However, challenges remain for scaling to larger systems. At $d=15$, the prototype utilized nearly $96\%$ of the available FPGA logic, suggesting that larger code distances ($d \geq 31$) will require either multi-FPGA configurations or transition to Application-Specific Integrated Circuits (ASICs). An ASIC implementation would also allow for higher clock frequencies, potentially reducing latency even further. Future research will focus on scaling this architecture to manage the simultaneous decoding of hundreds of logical qubits required for full-scale fault-tolerant quantum computation.
Summary updated