Binary error-correcting codes (Hamming, Golay, LDPC) and the Steane quantum code in Go.
The generic interface Code[T int | complex128] shares N, K, D, Encode, and Decode across both types.
Classical codes implement Code[int] and LinearCode;
quantum codes implement Code[complex128] (also named QuantumCode) with normalized []complex128 state vectors.