Papers
Topics
Authors
Recent
Search
2000 character limit reached

Directionally Informed BP Decoding

Updated 19 January 2026
  • The paper demonstrates that directionally informed BP decoding assigns orientation weights to Tanner graph edges in CSS codes to exploit device and noise anisotropies.
  • It integrates site-dependent log-likelihood ratios into the existing BP→OSD pipeline without changes to code structure, ensuring modularity in hardware-aware quantum error correction.
  • Empirical results indicate up to 100× logical error rate improvement in codes like the toric and planar NE3N through optimal tuning of the bias parameter β.

Directionally informed belief propagation (BP) decoding is a formal and empirically validated framework for quantum Calderbank-Shor-Steane (CSS) codes that leverages anisotropies in device architecture, scheduling, or noise by assigning orientation weights to Tanner-graph edges and feeding site-dependent log-likelihood ratios (LLRs) into standard BP→\rightarrowOSD decoders. This approach, parameterized by a single scalar bias ββ, yields significant performance improvements without altering code construction or the underlying decoder implementation, providing an efficient route to hardware-aware quantum error correction (Rowshan, 12 Jan 2026).

1. Directional Annotation, Per-Qubit Weights, and Weighted Metrics

Directionally informed BP begins with a CSS code specified by parity-check matrices HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n} and HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}, satisfying HXHZT=0H_XH_Z^T=0. The corresponding Tanner graphs for XX and ZZ checks are augmented with nonnegative orientation weights: DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X} and DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}, supported on their respective edges.

Per-qubit directional weights, w=(w1,…,wn)\bm w=(w_1,\ldots,w_n), are obtained via incident-edge summation: ββ0 where ββ1 denote adjacent ββ2 and ββ3 checks for qubit ββ4. For an error indicator ββ5, the directional metric is

ββ6

which generalizes the standard Hamming cost to a weighted form, capturing directional bias inherent in the physical or logical code geometry.

2. Directional Degeneracy Classes and Their Enumeration

Quantum decoders operate on degeneracy classes, as distinct ββ7-errors may share a ββ8-syndrome, differing only by stabilizers. The set of degeneracy classes for syndrome ββ9 is

HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}0

with HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}1 the nullspace of HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}2 and HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}3 the row span of HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}4. Each class HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}5 is assigned its minimal directional cost,

HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}6

The directional degeneracy enumerator, parameterized by bias HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}7, aggregates class scores: HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}8 For HX∈F2mX×nH_X\in\mathbb{F}_2^{m_X\times n}9, HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}0 recovers the standard count HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}1 for HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}2 logical qubits. As HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}3 increases, classes with lower directional cost dominate, concentrating error correction along preferred directions. The enumerator enables analytic tail bounds, e.g.,

HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}4

which quantifies how directional metrics thin low-cost degeneracy and enhance logical discrimination in BP decoders.

A global generating function over cosets HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}5 is defined as

HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}6

A MacWilliams-type identity expresses it via the dual code HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}7: HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}8 This factorization supports gradient evaluation and analytic bounding.

3. Mapping Orientation Weights to Site-Dependent LLRs

In the memoryless channel model, MAP decoding seeks error patterns minimizing HZ∈F2mZ×nH_Z\in\mathbb{F}_2^{m_Z\times n}9. If the true error probabilities HXHZT=0H_XH_Z^T=00 are not available, the directional weights HXHZT=0H_XH_Z^T=01 act as proxies, tilting a uniform baseline HXHZT=0H_XH_Z^T=02 to site-dependent priors: HXHZT=0H_XH_Z^T=03 The parameter HXHZT=0H_XH_Z^T=04 modulates the directional bias: HXHZT=0H_XH_Z^T=05 yields isotropic priors HXHZT=0H_XH_Z^T=06; increasing HXHZT=0H_XH_Z^T=07 enhances the effect of large HXHZT=0H_XH_Z^T=08, selectively steering BP inference toward error patterns aligned with device or noise anisotropies.

4. Bounds on Directional Distance and Degeneracy Class Reduction

Directional annotation impacts code distances and class counts. Let HXHZT=0H_XH_Z^T=09 be code XX0 or XX1 distance and XX2 the minimal stabilizer weight. With XX3, XX4, directional distances are bounded via

XX5

for stabilizer and logical operators, respectively. Directionality also reduces the number of eligible degeneracy classes. For a cost threshold XX6,

XX7

where XX8 is code rate, XX9, and ZZ0 quantifies concentration as the directional bias increases. This reflects how anisotropic annotation "breaks" degeneracy clusters, sharpening logical error selection.

5. Algorithmic Integration with BP→OSD Pipelines

Directional LLRs integrate seamlessly into conventional BP→OSD pipelines. The decoding algorithm proceeds as follows:

Step Operation Output/Usage
1 Compute per-qubit ZZ1 from ZZ2 Directional weights ZZ3
2 Determine ZZ4 and ZZ5 Site-dependent LLRs
3 Run BP on (ZZ6, ZZ7) for ZZ8 iterations with ZZ9 Tentative error estimates DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}0
4 Run OSD (order DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}1) on tentative solutions, ranking candidates with DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}2 Final error pattern selection
5 Combine DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}3 and DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}4 corrections Syndrome-resolved correction

Notably, aside from computing the directional LLRs, no aspects of code definition, BP/OSD implementation, or syndrome processing are altered, preserving modularity and code-agnostic deployment.

6. Empirical Performance: Finite-Length Evidence

Simulations under code-capacity noise were conducted for representative quantum codes:

  • The toric code DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}5 (checkerboard layout, DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}6 gradient), and
  • The planar NE3N DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}7 code (rectangular DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}8 lattice, horizontal gradient DX∈R≥0n×mXD_X\in\mathbb{R}_{\ge0}^{n\times m_X}9).

For the toric code over DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}0, directionally weighted BP+OSD(2) decreased logical error rates DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}1 by DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}2–DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}3 compared to isotropic BP+OSD(2). As a function of DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}4, performance exhibits a U-shaped dependence, with moderate DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}5 (typically 1–3) yielding optimal gains; excessive tilting can be detrimental. The NE3N code displayed roughly an order-of-magnitude improvement over isotropic decoders across relevant error rates.

These enhancements incur zero architectural cost: identical BP/OSD infrastructure and code, the only change being the LLRs and candidate selection criteria.

7. Hardware-Aware Insights and Future Directions

Physical device layouts commonly induce anisotropies: control wiring, readout ordering, interaction directionality, and transport effects can bias error occurrence along axes. Such calibration data can be directly mapped to DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}6, informing the decoding pipeline.

With a single bias parameter DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}7 controlling the strength of directionality, practical decoder tuning and cross-validation are straightforward. Theoretical results—including bounds on directional distances, degeneracy reduction via enumerators, and dual-domain analytic frameworks—furnish rigorous guidance on admissible tilt before loss of logical distance or code performance.

Absent geometric embedding or with fully isotropic noise, misaligned directional bias can degrade decoding. Nonetheless, in realistic settings with moderate physical bias (e.g., dephasing DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}8 bit-flip) or geometric complexity, modest tilt affords substantial error rate reductions at minimal engineering expense.

Prospective research directions include data-driven learning of DZ∈R≥0n×mZD_Z\in\mathbb{R}_{\ge0}^{n\times m_Z}9 or w=(w1,…,wn)\bm w=(w_1,\ldots,w_n)0 via gradient-based optimization (e.g., w=(w1,…,wn)\bm w=(w_1,\ldots,w_n)1), extension to circuit-level or correlated noise, and synergy with Pauli-bias-tailored codes for multidimensional anisotropy.

Directionally informed BP decoding constitutes a lightweight, rigorously developed, and empirically validated approach to quantum decoding, leveraging anisotropy for enhanced logical error rates without necessitating code or decoder modifications (Rowshan, 12 Jan 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

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 Directionally Informed Belief Propagation (BP) Decoding.