Papers
Topics
Authors
Recent
Search
2000 character limit reached

HyperBlossom: Quantum LDPC Decoder

Updated 8 July 2026
  • HyperBlossom is a decoder that formulates quantum LDPC decoding as a minimum-weight parity factor problem on hypergraphs, converting physical errors to hyperedges and stabilizer checks to vertices.
  • It unifies established decoders such as MWPM, Union-Find, and Hypergraph Union-Find via a primal-dual linear programming model that yields certifiable proximity bounds.
  • Its Hyperion implementation efficiently manages cluster-based decoding in various noise regimes, achieving significantly lower logical error rates in practical quantum error correction tests.

HyperBlossom is a certifying, blossom-style decoder for quantum Low-Density Parity-Check codes that formulates Most-Likely-Error decoding as a Minimum-Weight Parity Factor problem on a decoding hypergraph. In this formulation, independent physical error sources become hyperedges, stabilizer checks become vertices, and decoding is cast as a parity-constrained weighted optimization problem. The framework generalizes Edmonds’ blossom algorithm from graphs to hypergraphs through a primal-dual linear-programming model with certifiable proximity bounds, unifies graph-based decoders such as Minimum-Weight Perfect Matching, Union-Find, and Hypergraph Union-Find, and is implemented in the Hyperion software (Wu et al., 7 Aug 2025). In the supplied literature, the same label also appears in a separate combinatorial setting as an overview of blossoming bijections for hypermaps via bipartite incidence maps on arbitrary compact surfaces (Dołęga et al., 2020).

1. Quantum decoding formulation

In the qLDPC setting of HyperBlossom, the decoding object is a hypergraph G=(V,E)G=(V,E) whose vertices are stabilizer checks and whose hyperedges are independent physical error sources. If an error source eEe \in E occurs alone, it induces a subset of defect vertices. A candidate error pattern is a subset of hyperedges EE\mathcal{E} \subseteq E, equivalently a binary vector xF2Ex \in \mathbb{F}_2^{|E|} with xe=1x_e=1 iff eEe \in \mathcal{E}. The syndrome-defect map is

D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.

Given a measured syndrome DVD \subseteq V, a parity factor is a subset EE\mathcal{E} \subseteq E such that D(E)=DD(\mathcal{E})=D (Wu et al., 7 Aug 2025).

Under independent errors, including code-capacity and circuit-level settings after Pauli twirling, the likelihood factorization reduces maximum-likelihood inference to a weighted minimization. If edge eEe \in E0 occurs with probability eEe \in E1, then

eEe \in E2

so maximizing likelihood is equivalent to minimizing

eEe \in E3

If some eEe \in E4, the edge is flipped to a conjugate model with nonnegative weight eEe \in E5 (Wu et al., 7 Aug 2025).

This yields the Minimum-Weight Parity Factor formulation:

eEe \in E6

subject to

eEe \in E7

eEe \in E8

eEe \in E9

The graph-theoretic significance is that MWPF generalizes matchings and perfect matchings to hypergraphs: rather than imposing degree-EE\mathcal{E} \subseteq E0 or degree-EE\mathcal{E} \subseteq E1 conditions as in graphs, it imposes parity constraints at each stabilizer node (Wu et al., 7 Aug 2025).

Degeneracy is intrinsic. Logical operators are parity factors EE\mathcal{E} \subseteq E2 with EE\mathcal{E} \subseteq E3; if EE\mathcal{E} \subseteq E4 is a parity factor, then EE\mathcal{E} \subseteq E5 is another valid parity factor. In parity-matrix terms, this is nonzero nullity of the incidence matrix, producing cosets of solutions rather than a unique decoder output.

2. Primal-dual hyperblossoms and certification

Rather than solving the parity-constrained ILP directly, HyperBlossom introduces an equivalent formulation based on invalid subgraphs. A subgraph EE\mathcal{E} \subseteq E6 is invalid for the local syndrome EE\mathcal{E} \subseteq E7 if every EE\mathcal{E} \subseteq E8 fails EE\mathcal{E} \subseteq E9. If xF2Ex \in \mathbb{F}_2^{|E|}0 denotes the hair of xF2Ex \in \mathbb{F}_2^{|E|}1, the equivalent ILP is

xF2Ex \in \mathbb{F}_2^{|E|}2

subject to

xF2Ex \in \mathbb{F}_2^{|E|}3

xF2Ex \in \mathbb{F}_2^{|E|}4

where xF2Ex \in \mathbb{F}_2^{|E|}5 is the set of all invalid subgraphs. The interpretation is that every invalid subgraph must be repaired by at least one external incident edge. The paper proves xF2Ex \in \mathbb{F}_2^{|E|}6 (Wu et al., 7 Aug 2025).

Relaxing integrality gives the LP, whose dual introduces variables xF2Ex \in \mathbb{F}_2^{|E|}7 for invalid subgraphs:

xF2Ex \in \mathbb{F}_2^{|E|}8

subject to

xF2Ex \in \mathbb{F}_2^{|E|}9

An edge is tight when the inequality saturates,

xe=1x_e=10

and a hyperblossom is any invalid subgraph xe=1x_e=11 with xe=1x_e=12. This is the hypergraph analogue of a blossom in Edmonds’ algorithm (Wu et al., 7 Aug 2025).

The primal-dual gap provides the certification mechanism. For any feasible parity factor xe=1x_e=13 and feasible dual xe=1x_e=14,

xe=1x_e=15

Hence the gap

xe=1x_e=16

is a certifiable proximity bound. If the gap is zero, the candidate parity factor is optimal. HyperBlossom therefore differs from purely heuristic decoders by furnishing per-instance certificates whenever primal and dual coincide, and by supplying globally valid certification in regimes where xe=1x_e=17 (Wu et al., 7 Aug 2025).

Dual growth proceeds through feasible directions xe=1x_e=18 and relaxers. A relaxer strictly relaxes a non-empty subset of tight edges while not decreasing the dual objective. The framework proves that if the current dual is suboptimal, then either a relaxer exists or a trivial direction exists that grows an invalid subgraph disjoint from the current tight set. Batched composition of relaxers and a trivial direction then yields a useful dual step without introducing unnecessary hyperblossoms.

3. Unification of MWPM, UF, HUF, and optimality regimes

A central feature of HyperBlossom is that it subsumes several established decoders inside one formulation. When the decoding hypergraph is a simple graph with xe=1x_e=19, MWPF reduces to MWPM on the syndrome graph. In that regime, HyperBlossom uses a Blossom relaxer finder built from a bijection eEe \in \mathcal{E}0 between blossom dual variables on the syndrome graph and dual variables on invalid subgraphs of the decoding graph, preserving both the dual objective and tightness along minimum paths. The resulting dual updates are step-by-step equivalent to MWPM, and the decoder inherits MWPM optimality on graphs (Wu et al., 7 Aug 2025).

The framework also contains Union-Find and Hypergraph Union-Find. If the UnionFind relaxer finder always returns Nil, HyperBlossom reduces to weighted UF: invalid clusters grow uniformly by a trivial direction until tight edges form and clusters merge. Setting the per-cluster hyperblossom cap to eEe \in \mathcal{E}1 yields eEe \in \mathcal{E}2, which is exactly HUF on hypergraphs (Wu et al., 7 Aug 2025).

The relaxer-finder layer determines how much of the primal-dual structure is exploited. The general-purpose SingleHair relaxer finder constructs parity and hair matrices over eEe \in \mathcal{E}3, detects Odd rows, and forms relaxers of the form eEe \in \mathcal{E}4. It is polynomial-time and often accurate, but it can be suboptimal on some graphs and hypergraphs. By contrast, the NullityeEe \in \mathcal{E}5 relaxer finder is specialized and optimal whenever the cluster incidence matrix has nullity eEe \in \mathcal{E}6 or eEe \in \mathcal{E}7; in that case it explicitly builds an optimal dual eEe \in \mathcal{E}8 and sets eEe \in \mathcal{E}9 (Wu et al., 7 Aug 2025).

The optimality landscape is therefore structured rather than universal. The paper identifies a hereditary condition, D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.0, under which HyperBlossom is certifying at the global optimum. Two classes are proved to satisfy it: simple graphs, and hypergraphs with nullity at most D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.1. This implies exact optimality on graphlike decoding problems and on biased-noise regimes that induce nullityD(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.2 clusters, but it does not remove the NP-hardness of MWPF on general hypergraphs.

4. Clusterwise algorithm and Hyperion implementation

HyperBlossom operates on disjoint clusters D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.3 formed from vertices, tight edges, and hyperblossoms. A cluster is locally optimal if there exists a parity factor D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.4 with D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.5 and

D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.6

If every cluster is locally optimal, the union of cluster solutions yields a globally optimal MWPF solution because the clusters are disjoint in vertices, tight edges, and hyperblossoms (Wu et al., 7 Aug 2025).

The algorithm alternates a primal phase and a dual phase. Initialization sets D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.7, starts from singleton defect clusters, declares zero-weight edges tight, and merges initial clusters by tight edges. In the primal phase, each cluster is tested for local optimality. If a cluster is not locally optimal, the algorithm invokes BatchedRelaxing to collect relaxers, removes the relaxed tight edges, and, if the residual cluster remains invalid, grows an invalid subgraph by a trivial direction. In the dual phase, the cluster history of positive dual subgraphs is updated, a partial dual LP is solved over that history, tight edges are recomputed, and clusters are merged by tight edges and by intersecting hyperblossoms (Wu et al., 7 Aug 2025).

The worst-case complexity remains exponential because the set of invalid subgraphs D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.8 is exponential. With relaxer-finder cost D(E)={vVEE(v) is odd}.D(\mathcal{E}) = \{ v \in V \mid |\mathcal{E} \cap E(v)| \text{ is odd} \}.9, the cost per useful direction is DVD \subseteq V0, the partial LP solve is bounded by DVD \subseteq V1 by interior-point bounds, and the overall bound is

DVD \subseteq V2

The practical claim is more favorable: in low-error regimes DVD \subseteq V3, clustering keeps most components small and produces almost-linear average runtime scaling in the number of defects DVD \subseteq V4 (Wu et al., 7 Aug 2025).

Hyperion is the software realization of the framework. It is implemented in Rust, supports floating-point and rational dual and weight types, uses HiGHS for floating-point LP solving and SLP for rational arithmetic, exposes a Python interface, and includes a 3D visualization tool that renders hypergraphs and dual variables as colored segments over hyperedges. It integrates with Stim through Detector Error Models and also accepts Clifford circuits to exploit circuit-level information such as heralded erasures (Wu et al., 7 Aug 2025).

Hyperion uses a two-stage decoding strategy. A search stage grows all invalid clusters simultaneously through a priority queue to ensure feasibility of a parity factor. A refine stage then applies relaxer finders clusterwise. Cluster priority is

DVD \subseteq V5

which favors small clusters with large primal-dual gaps. To control latency, Hyperion enforces a per-cluster hyperblossom cap DVD \subseteq V6, producing the decoder family DVD \subseteq V7. The special case DVD \subseteq V8 recovers HUF, while larger DVD \subseteq V9 trades runtime for accuracy; as EE\mathcal{E} \subseteq E0, appropriate relaxer finders recover optimality in regimes where EE\mathcal{E} \subseteq E1 (Wu et al., 7 Aug 2025).

5. Empirical behavior, operating regimes, and limits

The empirical profile reported for Hyperion is heterogeneous across code families and noise models. On the surface code under code-capacity bit-flip noise, MWPF matches MWPM accuracy because the decoding problem is a simple graph. Under biased-EE\mathcal{E} \subseteq E2 noise, the induced hypergraph has nullity at most EE\mathcal{E} \subseteq E3, so EE\mathcal{E} \subseteq E4 is provably optimal and reaches the optimal curve, with orders-of-magnitude lower logical error rates than tailored MWPM. Under depolarizing and circuit-level noise, MWPF exceeds both HUF and MWPM accuracy. The headline result is a EE\mathcal{E} \subseteq E5 lower logical error rate than MWPM on the distance-11 surface code under code-capacity noise (Wu et al., 7 Aug 2025).

For the color code, the same pattern holds under depolarizing and circuit-level noise: MWPF outperforms Chromobius, a specialized color-code MWPM decoder, and achieves the same effective distance in circuit-level tests. Runtime scaling remains almost-linear on average up to distance EE\mathcal{E} \subseteq E6 for the color code and up to distance EE\mathcal{E} \subseteq E7 for the surface code in the reported experiments (Wu et al., 7 Aug 2025).

For bivariate bicycle codes, the comparison is more nuanced. Against a

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to HyperBlossom.