4 Commits

Author SHA1 Message Date
cah
b4d5856bf9 data: add SC-LDPC results and comprehensive comparison plots
SC-LDPC threshold saturation results:
- SC original staircase: 2.28 photons/slot (vs 4.76 uncoupled)
- SC DE-optimized: 1.03 photons/slot (vs 3.21 uncoupled)
- Shannon limit: 0.47 photons/slot (remaining gap: 3.4 dB)

Add CLI to sc_ldpc.py (threshold, fer-compare, full subcommands).
Add threshold progression, SC threshold bars, and SC FER plots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 18:35:50 -07:00
cah
41e2ef72ec feat: add SC-LDPC density evolution with threshold computation
Implement position-aware density evolution for SC-LDPC codes:
- sc_density_evolution(): flooding-schedule DE tracking per-position
  error rates, demonstrating the wave decoding effect
- compute_sc_threshold(): binary search for SC-LDPC threshold

Uses flooding schedule (not layered) to avoid belief divergence
from cross-position message interference in the coupled chain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 17:45:21 -07:00
cah
5f69de6cb8 feat: add windowed SC-LDPC decoder
Implement windowed_decode() for SC-LDPC codes using flooding
min-sum with sliding window of W positions. Supports both
normalized and offset min-sum modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 17:08:06 -07:00
cah
5b6ad4d3f2 feat: add SC-LDPC chain construction
Implement spatially-coupled LDPC code construction with:
- split_protograph(): split base matrix edges into w components
- build_sc_chain(): build full SC-LDPC H matrix with L positions
- sc_encode(): GF(2) Gaussian elimination encoder for SC chain

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 16:49:57 -07:00