Surface-GKP MWPM Decoder
- Surface-GKP MWPM decoder is a computational scheme that integrates continuous-variable GKP measurements into a 3D space–time syndrome graph for fault-tolerant error correction in quantum memories.
- It dynamically assigns edge weights using analog information from GKP stabilizer outcomes, enhancing error thresholds and reducing logical error rates compared to discrete decoders.
- The decoder outperforms alternative methods like Union-Find and neural-guided techniques, demonstrating scalability and hardware-friendly performance for continuous-variable quantum error correction.
The Surface-GKP MWPM (Minimum-Weight Perfect Matching) decoder is a computational scheme enabling efficient and fault-tolerant error correction for quantum memories encoded using Gottesman-Kitaev-Preskill (GKP) bosonic codes concatenated with the surface code. This decoder integrates analog information from continuous-variable (CV) GKP measurements into a matching-based decoding framework over a 3D space–time syndrome graph, yielding improved thresholds and logical error rates compared to discrete-only (digitized) decoders. It is both the de facto practical decoder for surface-GKP codes in recent benchmarking studies and central to performance claims for experimentally viable continuous-variable quantum error correction (Noh et al., 2019, Noh et al., 2021, Lin et al., 2023, Wayo et al., 25 Mar 2026, Wayo et al., 6 Mar 2026, Zhang et al., 2022).
1. Surface-GKP Code Structure and Syndrome Extraction
The surface-GKP code concatenates N single-mode square GKP qubits (each realized in an oscillator) into a 2D surface code lattice. Each GKP mode encodes a qubit through a lattice of equally spaced displacements in phase space, while the higher-level surface code imposes additional stabilizer constraints for robust logical encoding. Typically, a square lattice is used, yielding data GKP modes (Lin et al., 2023). Stabilizer measurements are performed iteratively in rounds, with each round extracting information about the defect (syndrome flip) locations. This process forms a space--time syndrome graph with vertices , where indexes stabilizer checks (plaquettes/stars), and indexes extraction rounds, with a noise-free round to close the temporal boundary (Noh et al., 2019, Noh et al., 2021).
Continuous-variable GKP error correction occurs at the lowest layer: homodyne measurements yield continuous real-valued outcomes (e.g., -modulo-), which are further digitized and processed to extract the syndrome and assign error probabilities. The Surface-GKP MWPM decoder exploits this analog measurement information rather than only the discretized syndromes (Noh et al., 2021, Lin et al., 2023).
2. Space–Time Graph Construction and Noise Modeling
A 3D space--time graph encodes the propagation and measurement of errors, with vertices representing syndrome outcomes at each spatial and temporal location, and edges reflecting possible fault trajectories. Spatial edges correspond to data GKP qubits (i.e., faults propagating between checks sharing a qubit in the same round), while temporal edges link the same stabilizer between rounds, representing measurement errors (Noh et al., 2019). In advanced decoders, additional edges encode space–time correlations generated by GKP-gate faults (e.g., CNOT or CZ gates) whose effect propagates both spatially and temporally in the syndrome graph (Noh et al., 2021). Each edge is associated with a conditional probability of being traversed by a fault, determined by the noise model, which typically includes finite GKP squeezing ( parameterized as dB), circuit-level loss and heating, and measurement imprecision.
Crucially, correlated (non-i.i.d.) Gaussian shifts arising from two-qubit GKP gate errors are incorporated as nontrivial edge structures and weights, and the sum of variances due to all error channels is tracked precisely for each edge's noise parameter (Noh et al., 2021, Zhang et al., 2022).
3. Edge Weight Assignment with CV-Informed Probabilities
Edge weights in the matching graph are dynamically assigned using analog information from GKP stabilizer measurements. The operational principle is to compute the posterior Pauli error probability conditioned on the measured syndrome outcome , rather than only using a fixed channel parameter (Noh et al., 2019, Zhang et al., 2022). For a measurement result 0 and total Gaussian-displacement variance 1, the relevant formula is: 2 with edge weight 3.
For two-mode GKP EC following an entangling gate, the covariance of correlated shifts is incorporated: 4 Maximum likelihood decoding selects integer shifts 5 that maximize this likelihood. The final edge probabilities conditioned on the analog history replace tabulated gate error rates in weight assignments (Noh et al., 2021, Zhang et al., 2022).
Horizontal and vertical edges in the graph are assigned using precomputed total variances for each edge, and time-dependent renormalization of probabilities is performed to ensure dynamic, trial-by-trial weight updates (Noh et al., 2019).
4. The MWPM Decoding Algorithm
Defects are identified as vertices where the measured stabilizer outcomes flip between rounds. If the number of defects is odd in a time slice, one is artificially paired to the spatial or temporal boundary. The decoder proceeds as follows (Noh et al., 2019, Noh et al., 2021):
- Defect Identification: Mark syndrome defects at 6 where 7.
- Shortest Paths: Compute minimum-weight paths between all pairs of defects, where path weights are the sum of edge weights (from the dynamically assigned CV-informed probabilities).
- Perfect Matching: Apply Edmonds' Blossom algorithm for minimum-weight perfect matching on the defect graph, pairing all defects with minimal total cost.
- Correction Path Lifting: For each matched defect pair, retrieve the corresponding shortest path in the 3D syndrome graph and mark the associated edges.
- Physical Recovery: Project marked horizontal edges to the surface code lattice and update the GKP frame (i.e., apply 8 shifts) on the corresponding data GKP qubits.
- Logical Assessment: Evaluate the logical outcome by checking the parity of accumulated frame shifts and residual mode displacement.
- Statistical Processing: Repeat for multiple trials; extract logical error rates and thresholds by analyzing the finite-size scaling and crossing points (Noh et al., 2019, Lin et al., 2023).
The overall complexity is 9 for MWPM on 0 nodes, where 1 is the number of surface code qubits; this is empirically observed as polynomial in code distance (Lin et al., 2023).
5. Performance, Thresholds, and Comparison to Alternative Decoders
Monte Carlo sampling across code distances and noise parameters determines the error threshold—the noise level 2 at which increasing code distance suppresses logical error rate. The canonical threshold for surface-GKP using MWPM with CV-informed weights is 3 (code-capacity, square GKP) (Lin et al., 2023). With space–time-correlation and ML-decoded gates, thresholds improve to, e.g., 9.9 dB squeezing (4) in the finite-squeezing dominant regime, and 18.6 dB (5) in the full circuit-level noise model (Noh et al., 2021, Noh et al., 2019, Zhang et al., 2022).
A direct comparison shows MWPM sits on the runtime–logical error Pareto frontier for both Pauli and native GKP-noise regimes, and substantially outperforms Union-Find, neural-guided MWPM, and belief propagation decoders in logical error rate and rank stability (Wayo et al., 25 Mar 2026, Wayo et al., 6 Mar 2026). The stability of finite-size crossing-based threshold estimates is unique to MWPM; other decoders fail to provide valid threshold crossings on standard estimator/grids.
Representative logical error rates for surface-GKP MWPM are (for 6, 7): 0.2273 (MWPM) vs 0.2303 (Union-Find), 0.3730 (neural MWPM), and 0.6107 (belief propagation) (Wayo et al., 25 Mar 2026). Statistical benchmarking confirms that MWPM and Union-Find are close for moderate 8, but MWPM uniformly outperforms at higher noise.
6. Advanced Variants: Closest-Point Decoding and Decoder Robustness
The MWPM framework also supports closest lattice-point decoding for GKP codes embedded in the surface code. After rounding syndrome-inferred displacements to the nearest lattice point, remaining violated stabilizers define defects, and MWPM is used to determine the minimal set of corrections. The correction operator implements the closest symplectic-dual lattice vector, yielding the most likely (maximum-likelihood) recovery operation (Lin et al., 2023).
For asymmetric or generalized GKP concatenations (e.g., XZZX-surface GKP), similar MWPM procedures are used but with axis-dependent variances and aspect ratios, tuned for optimal threshold 9 at 0 for the XZZX variant (compared to 0.60 for standard surface-GKP) (Zhang et al., 2022).
Advanced simulation protocols such as LiDMaS+ enforce deterministic seeding, matched syndrome processing, and verify decoder failures by checking the satisfaction of 1. Neural-guided and Union-Find decoders may fail this verification at high-noise, but MWPM exhibits zero observed decoder failures (Wayo et al., 6 Mar 2026).
7. Implementation, Resource Overheads, and Experimental Implications
Practical implementations utilize fast graph-matching libraries (e.g., PyMatching's Blossom V), multithreaded trial sampling, and runtime assignment of edge weights from ROI-specific GKP outcomes (Noh et al., 2021, Wayo et al., 25 Mar 2026). MWPM decoding remains the performance baseline for researchers and experimenters, as it achieves logical failure rates 2 at moderate squeezing (e.g., 3 dB using 291 GKP modes) versus 4 qubits for the bare qubit surface code at the same error rate (Noh et al., 2021). CV-informed edge weights and space–time-correlated matching are essential to achieving these overhead reductions.
These results indicate that the Surface-GKP MWPM decoder robustly enables hardware-friendly, scalable continuous-variable quantum error correction, establishing the standard for performance benchmarking, threshold estimation, and practical hardware proposals (Noh et al., 2019, Noh et al., 2021, Lin et al., 2023, Wayo et al., 25 Mar 2026, Zhang et al., 2022).