Quantum error correction protects quantum states from decoherence. Standard QEC (surface codes, Steane codes) requires massive overhead and patented decoding algorithms. CRT QEC: 7 CRT channels over Z/214,414,200 = 7 physical qubits. 3 data channels {mod 8, mod 25, mod 49} carry the quantum state. 4 parity channels {mod 9, mod 11, mod 13, mod 17} detect and locate errors. Corrects any single-channel error. Detects double errors. No neural decoder. No lookup table. Just CRT reconstruction.
Value to protect:
Encodes your value into 7 CRT channels. Injects noise into each channel one at a time. Corrects via CRT reconstruction. All 7 should recover exactly.
100 random values, each corrupted in all 7 channels = 700 total correction tests.
Injects errors into all 21 pairs of channels. Double errors are always detected.
Source code · Public domain (CC0)
.ax source compiled to WASM via self-hosting compiler. Zero HTML authored.