LNCY [[4,1,2]] Quantum Error Code
- The LNCY code is a four-qubit [[4,1,2]] error-detecting scheme that encodes one logical qubit using GHZ and pairwise flipped states to flag single-qubit errors.
- It uses a set of three commuting stabilizers and logical operators to enable syndrome extraction and post-selection recovery under amplitude-damping noise.
- Its integration in distributed quantum architectures offers enhanced fidelity and resource efficiency compared to simpler repetition codes and high-overhead distillation protocols.
The Leung-Nielsen-Chuang-Yamamoto (LNCY) code denotes a family of four-qubit quantum error-detecting and -correcting codes, with primary focus on the [[4,1,2]] code for amplitude damping and noise mitigation in near-term quantum information processing. These codes were first introduced as approximate quantum error-correcting codes capable of detecting and partially correcting single-qubit errors, and have since assumed central status in quantum error detection (QED) strategies for distributed quantum computing and as benchmarks for channel-adapted code optimization.
1. Logical Structure, Codeword Construction, and Stabilizers
The LNCY [[4,1,2]] code encodes one logical qubit into four physical qubits, engineered to detect any single-qubit error. Logical codewords in the computational basis are: Codeword is a four-qubit GHZ state, while results from pairwise flipping of middle qubits in (Mao et al., 2024).
A convenient generating set of three commuting stabilizers is: where all products are tensor products (). Logical operators can be defined as: which satisfy the usual commutation relations with code stabilizers and mutually anticommute () (Campbell et al., 21 Jan 2026). The code distance is 2, enabling single-error detection but not correction.
2. Encoding and Recovery Operations
Encoding is achieved by an isometry such that: Two explicit encoding circuits are prevalent. The “4QED” encoder executes:
- CNOT from 0 (data) to 1, 2, 3 (ancillae).
- Hadamard on 4.
- CNOTs: 5 and 6.
The “SS” (short Shor) encoder is a gate-reduced alternative involving:
- Hadamard on 7.
- CNOT 8, 9, 0.
- Hadamard on 1.
Decoding proceeds in two stages:
- Stabilizer extraction: Ancillas (prepared in 2 for 3-type and 4 for 5-type checks) interact with data qubits through CNOTs to measure each stabilizer’s syndrome.
- Unitary decode: If and only if syndromes are trivial (+1, +1), the inverse of the encoder is run (Campbell et al., 21 Jan 2026).
3. Error Handling and Channel Adaptation
The code’s principal channel of application is the independent amplitude-damping process 6 on each qubit: 7 acting as
8
First-order correction is achieved via syndrome-subspace recovery. For each error type (zero or one amplitude-damping error), define recovery Kraus operators 9 that project the corresponding syndrome subspace back to the code space. This procedure restores logical amplitudes up to 0 (Mao et al., 2024).
The code detects (but does not correct) all single-qubit errors:
- Any single 1 error anticommutes with at least one 2-type stabilizer; any single 3 error anticommutes with at least one 4-type stabilizer.
- All such events are flagged; runs with nontrivial syndrome are post-selected out (Campbell et al., 21 Jan 2026).
4. Integration in Distributed Quantum Architectures
In distributed settings such as quantum data centres, the LNCY code is incorporated within remote-gate execution protocols, notably the “partial-coding 1TP” (PC-1TP) variant. Here:
- The control qubit is encoded in the code on QPU A.
- Each physical qubit is teleported via parallel or sequential ebit channels to QPU B.
- On QPU B, syndrome extraction via stabilizer measurement is performed; failures are rejected.
- Successful events are unitary-decoded and the remote CNOT is completed on logical and target qubits.
A “happy-path” resource audit (assuming no errors during a run) is:
- QPU A: 4 processing qubits + 4 communication qubits.
- QPU B: 4 communication qubits + 2 ancillas + 1 output qubit = 7.
- Gates: ~5–6 two-qubit gates, 7 single-qubit gates, 8 measurements (Campbell et al., 21 Jan 2026).
5. Code Performance and Limitations
The probability of a successful (post-selected) attempt is given by
9
where 0 is the Werner-state ebit fidelity. The logical output fidelity 1 exhibits robust improvement relative to unencoded operations for 2 under ideal local gates (Fig. 6(a) in (Campbell et al., 21 Jan 2026)). For hardware error rates in the range 3, 4, 5, LNCY-encoded QED outperforms unencoded protocols for 6. Two-round four-ebit DEJMPS distillation achieves higher fidelity for 7 but at increased latency and qubit overhead.
Simulation reveals the three-qubit repetition code offers negligible or negative gain, primarily because it cannot detect phase errors, while the LNCY code consistently grants 8–9\% fidelity improvement for 0 (Campbell et al., 21 Jan 2026). The average success rate of the LNCY-coded gate run is 1–2\% below that of DEJMPS, reflecting the cost of post-selection.
In the amplitude-damping channel, explicit entanglement-fidelity calculation gives for the standard LNCY code: 3 compared to 4 (biconvex-optimized code, numerical) and 5 (biconvex code, analytical) (Mao et al., 2024). This demonstrates LNCY’s competitiveness for moderate 6, while channel-adapted optimization is advantageous for small, but nonzero, damping probabilities.
6. Comparison with Alternative Schemes
| Scheme | Correctable Error Type | Fidelity Gain | Latency/Overhead |
|---|---|---|---|
| LNCY [[4,1,2]] | Detects all single-qubit errors | 75–10% | 4 ebits + post-selection |
| Three-qubit repetition | X (bit-flips) only | 8 or negative | Minimal, but no phase error detection |
| Two-ebit distillation | Purifies entanglement | 92% | High success rate, low error suppression |
| Four-ebit DEJMPS (2rnd) | Entanglement distillation | 0 LNCY (for 1) | Double ebit use, high latency |
The LNCY code enables a nontrivial boost in noisy intermediate-scale quantum (NISQ) remote-gate fidelity with only moderate resource additions, while distillation-based approaches ultimately dominate for high fidelity at increased resource and time costs (Campbell et al., 21 Jan 2026).
7. Significance, Impact, and Frontier Developments
The LNCY [[4,1,2]] code remains the archetype for small error-detecting codes outside the bit-flip code class, and offers the minimal paradigm beyond the three-qubit repetition scheme for structural error detection in distributed architectures. It is particularly relevant for near-term quantum data centres where hardware constraints and noise models do not yet support full correction and/or nested distillation.
Modern SDP-based optimization techniques yield four-qubit codes with further reduced infidelity for the amplitude-damping channel, but at the expense of codeword symmetry and circuit simplicity, and with no practical advantage for generic mixed-error channels where detection of all single-qubit errors is required (Mao et al., 2024).
A plausible implication is that in architectures where error detection and fast post-selection are feasible and moderate resource overheads are tolerable, the LNCY code offers a balance of simplicity, efficacy, and hardware suitability, whereas in environments dominated by pure amplitude damping or with substantial optimization capacity, numerically adapted four-qubit codes are preferred.
References
- "Combatting noise in near-term quantum data centres" (Campbell et al., 21 Jan 2026)
- "Optimized four-qubit quantum error correcting code for amplitude damping channel" (Mao et al., 2024)