Universal Even-Odd Coherent-Error Parity Dichotomy, Swap-Point Criticality, and Exact-Q Decoding Certificates for CSS Quantum Codes
Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record
Uniform coherent Z-rotations U(theta) = bigotimes_{j=1}^n exp(i theta Z_j) induce non-Pauli logical channels whose optimal recovery and finite-size scaling differ sharply from Pauli-twirled stochastic phase-flip noise. Extending the recent surface-code parity analysis of Dai, Wan, Dai, and Zhu (arXiv:2611.13098, 2026), we establish three general structural theorems for arbitrary [[n, 1, d]] Calderbank-Shor-Steane (CSS) codes, formalize their algebraic core in zero-dependency Lean 4 (v4.35.0, 18 theorems, 0 sorry, 0 Classical.choice), and construct an exact-Q certificate verifier (COHERENT-CSS-CERT-1.0) free of floating-point trust. First, for every [[n, 1, d]] CSS code whose Z-stabilizers have even Hamming weight, we prove a Universal Even-Odd Parity Dichotomy: when |L_Z| is odd, every syndrome Kraus operator is proportional to a pure logical Z_L-rotation, so syndrome-conditioned unitary recovery achieves exact unit entanglement fidelity F_e^{CPTP}(theta) = 1 for all theta in [0, pi/2]; when |L_Z| is even, every syndrome Kraus operator is Hermitian up to phase, and the exact trace-norm identity (|a+b| + |a-b|)^2 = 4 max(a^2, b^2) forces maximum-likelihood Pauli decoding to attain the exact global CPTP optimum F_e^{Pauli}(theta) = F_e^{CPTP}(theta) over all quantum channels. Second, using exact F_2 harmonic analysis on the self-orthogonal subcode K_Z = S_Z cap S_Z^perp, we prove a Complete 0-1 Swap-Point Binary Law: at theta = pi/4, F_e^{Pauli}(pi/4) takes only two values across all [[n, 1, d]] CSS codes -- 1/2 iff L_Z perp K_Z (equivalently (L_X + S_X) cap S_Z = empty), and 1 iff there exists g* in K_Z with |L_Z cap g*| = 1 (mod 2). Third, as an immediate topological corollary, rotating an even-d rotated surface code patch by 90 degrees (X-majority vs. Z-majority check orientation) flips its theta = pi/4 logical fidelity from complete collapse (1/2) to complete coherent immunity (1), witnessed explicitly by the left-boundary column stabilizer g* = prod_{j=0}^{d/2-1} Z_{(2j,0)} Z_{(2j+1,0)} in K_Z. Exact-Q polynomial evaluation across 9 certified benchmark codes and a 129-code census (matching complex 2x2 SVD to 1.45e-14 and rejecting 37/37 adversarial forgery attacks) uncovers exact all-angle coherent-twirled cancellation on X-majority d=2 surface codes, 113.26x coherent infidelity suppression on Shor [[9,1,3]] at p = sin^2(theta) = 1/5 (reaching exact zero infidelity F_e^{Pauli}(1/4) = 1 at theta = pi/6), and a strict coherent penalty (F_e^{Pauli} < F_e^{twirl}) on doubly-even Quantum Reed-Muller [[15,1,3]].
Structure & key results
Key contributions noted in exact-version screening
- Universal Even-Odd Parity Dichotomy for CSS codes
- Complete 0-1 Swap-Point Binary Law
- COHERENT-CSS-CERT-1.0 zero-float certificate schema
- Machine-checked formal proof core in Lean 4 (18 theorems, 0 sorry).
Excerpted from published exact-version model assessment reports (not peer review). Full reports below →
Preview PDF on this page v1
Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.
Cite this paper
Lluis Eriksson (2026). Universal Even-Odd Coherent-Error Parity Dichotomy, Swap-Point Criticality, and Exact-Q Decoding Certificates for CSS Quantum Codes. AIRR.SCIENCE, ARR-2026-50FG4710VG9YXTQP, v1. https://airr.science/papers/ARR-2026-50FG4710VG9YXTQP/versions/v1/
Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.
Version history
The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.
- v1 · source snapshot available · viewing
Verification record
- Frontier-model screening
- Pass · 2 models
- Source integrity
- Pass
- Bibliographic integrity
- Pass
- Reproducibility
- Pass
- Lean 4
- L2
Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.
AI assistance statement
Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/coherent-css-dichotomy (v1.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.
Frontier-model screening
Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.
- carbonGoogle · pass
- hydrogenGoogle · pass
Model assessments and review context
- Distinct models
- 2
- Range
- 4.85–6.80
- Method
- bounded capability-weighted mean · exact version only
Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.
One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Benchmark match incomplete; Review scores differ by more than one point; Adverse reports or unresolved objections require editorial disposition
Google · carbon · not involved in manuscript · review context: unknown6.80
Recommendation: Major Revision · Material objections: 0
The paper investigates uniform coherent Z-rotations on arbitrary [[n,1,d]] CSS codes, extending recent surface-code parity results. It establishes three main analytical results: (1) a Universal Even-Odd Parity Dichotomy governing whether CPTP recovery achieves unit fidelity or matches Pauli decoding; (2) an Exact 0-1 Swap-Point Binary Law at theta = pi/4 showing Pauli fidelity is strictly quantized to {1/2, 1} via F2 harmonic analysis on the self-orthogonal subcode KZ; and (3) an exact-Q polynomial representation and certificate verifier backed by 18 machine-checked Lean 4 theorems (0 sorry). Comprehensive numerical censuses and adversarial test audits confirm all theoretical derivations.
- Correctness confidence
- Rigorously derived proofs for Theorems 2.1 and 2.2 via F2 harmonic analysis and exact Hamming-weight identities, backed by 18 zero-dependency Lean 4 proofs (0 sorry).
- Rigor
- Combining detailed analytical proofs with formal machine verification in Lean 4 (v4.35.0) and rigorous adversarial test validation.
- Novelty
- Generalizes surface-code coherent error parity analysis to arbitrary [[n,1,d]] CSS codes, proving a universal dichotomy and 0-1 swap-point binary law.
- Significance
- Advances the mathematical understanding of coherent error correction and stabilizer codes using exact algebraic character theory.
- Reproducibility
- Complete GitHub repository reference, zero-float exact-Q certificate verifier COHERENT-CSS-CERT-1.0, and comprehensive numerical census.
Strengths
- Proves universal algebraic theorems for arbitrary CSS codes rather than being restricted to specific planar lattices.
- Rigorous machine verification of core algebraic proofs in Lean 4 with zero dependencies and 0 sorry.
- Exact-Q certificate schema and robust adversarial testing ensuring zero-float verification.
Weaknesses
- Results are currently limited to k=1 CSS codes and uniform coherent Z-rotations; multi-logical codes (k >= 2) and inhomogeneous noise remain open.
Potential errors
None reported.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:5126a3dd-5f96-43d6-8e11-603aadd5aaf1 · prompt ARR-ASSESS-1.0 · response SHA-256 da2937e7e02bf6b4c7991eef0d04d622e79365f112cf7b193cbf2922b22ea30e · canonical PDF SHA-256 f94231ab41509769f0d76aa07ea3d38d089373ca0e811df114e1a5b42b976fce
Google · hydrogen · not involved in manuscript · review context: unknown4.85
Recommendation: Major Revision · Material objections: 2
This paper extends the coherent-error parity dichotomy of Dai, Wan, Dai, and Zhu (arXiv:2611.13098) to arbitrary [[n,1,d]] CSS codes under uniform Z-rotations. Its solid contributions are Theorem 2.1 (an elementary coset-parity proof that odd-|L_Z| even-S_Z CSS codes achieve F_e^CPTP=1 while even-|L_Z| codes satisfy F_e^CPTP=F_e^Pauli), Theorem 2.2 (a clean F_2 harmonic-analysis proof on K_Z = S_Z \cap S_Z^\perp that F_e^Pauli(pi/4) takes only values in {1/2, 1}, governed by L_Z \perp K_Z), and exact rational evaluations (Theorem 2.4, Shor unit Pauli fidelity at p=1/4, QRM coherent penalty, d=2 cancellation). However, major revision is required for two material defects: (1) Corollary 2.3 and Section 2.4 falsely assert that rotating an even-d surface code patch by 90 degrees flips F_e(pi/4) between 1/2 and 1, whereas a spatial 90-degree rotation is a qubit permutation leaving uniform Z-rotations invariant (only CSS dualization H_X <-> H_Z / transversal Hadamard switches orientations), and Section 2.4 contradicts itself on p. 5 over vertical vs. top/bottom Z-checks in X-majority; (2) Section 3.1 overclaims that Lean 4 checks 'the entire algebraic spine' of Theorems 2.1-2.2 when Table 1 covers only 18 elementary integer/bit-XOR lemmas. Furthermore, no SHA-256 or commit hashes appear in the PDF.
- Correctness confidence
- Theorems 2.1, 2.2, 2.4 and Proposition 2.5 are mathematically sound and verified directly (including exact values for Steane, Shor, and d=2 surface codes). However, Section 2.4 and Corollary 2.3 make a false geometric claim—equating CSS X<->Z dualization with a 90-degree patch rotation, which leaves uniform Z-rotations invariant—and contradict themselves on p. 5 over whether X-majority Z-checks sit on vertical vs. top/bottom boundaries.
- Rigor
- Proofs of Theorems 2.1, 2.2, and 2.4 are elementary, clean, and self-contained. Rigor is undermined by: (i) the p. 5 boundary-check contradiction and 90-degree-rotation error in Corollary 2.3; (ii) overclaiming in Section 3.1 that Lean 4 checks 'the entire algebraic spine' when Table 1 covers only 18 elementary integer/bit-XOR lemmas rather than CSS codes or character sums; and (iii) overloading F_e(theta) and F_e(p) with the same symbol.
- Novelty
- Modest follow-up to Dai, Wan, Dai, and Zhu (arXiv:2611.13098). Theorem 2.1 is an elementary ~15-line coset-parity extension from rotated surface codes to even-S_Z [[n,1,d]] CSS codes. Theorem 2.2 (the 0-1 swap-point binary law at theta=pi/4 via F_2 characters on K_Z = S_Z \cap S_Z^\perp, reflecting the Clifford nature of e^{i(pi/4)Z}) is a neat, genuine structural result, alongside concrete observations on Shor (p=1/4) and QRM (coherent penalty).
- Significance
- Provides an exact algebraic classification of optimal CPTP vs. Pauli recovery and theta=pi/4 collapse/immunity across [[n,1,d]] CSS codes, useful as a finite-size benchmark. Impact is narrow: restricted strictly to k=1 logical qubits, noiseless syndrome extraction, and spatially uniform Z-rotations, without addressing k>=2, inhomogeneous angles, stochastic noise crossovers, or asymptotic thresholds.
- Reproducibility
- A public GitHub URL, Lean version (v4.35.0), seed (20261124), and exact rational values/formulas are provided in the PDF, enabling independent hand verification of Steane, Shor, and d=2 codes. However, concrete SHA-256 hashes and git commit hashes are absent from the PDF (merely stated to be archived at the URL), and the PDF omits the generator matrices of swap_immune_8_1_2_odd and the sampling distribution for the 120 random CSS codes.
Strengths
- Theorems 2.1 and 2.2 are mathematically sound, self-contained, and generalize the rotated-surface-code parity dichotomy of Dai et al. (2026) to arbitrary k=1 even-S_Z CSS codes (and arbitrary k=1 CSS codes at theta=pi/4 for Theorem 2.2).
- Theorem 2.2 provides an elegant, elementary F_2 character-orthogonality characterization on K_Z = S_Z \cap S_Z^\perp showing that F_e^Pauli(pi/4) is strictly quantized to {1/2, 1} with exact witness criterion g^* in (L_X + S_X) \cap S_Z.
- Exact rational polynomial evaluation (Theorem 2.4) and explicit case analyses (Steane p_0(pi/4)=1, d=2 X-majority exact coherent-twirled cancellation, Shor unit Pauli fidelity at theta=pi/6 and 113.26x infidelity suppression at p=1/5, and QRM [[15,1,3]] coherent penalty despite doubly-even S_Z) are verified by hand to match the reported values.
Weaknesses
- Genuine geometric error in Corollary 2.3 / Section 2.4: a 90-degree patch rotation of an even-d rotated surface code is a qubit permutation that preserves uniform Z-rotation fidelity and leaves (r_X, r_Z) unchanged; the 1/2 <-> 1 switch requires CSS dualization (H_X <-> H_Z, L_X <-> L_Z / transversal Hadamard).
- Internal contradiction on p. 5: Section 2.4 first states that X-majority has d/2 - 1 weight-2 Z-checks along each vertical boundary, whereas the proof of Corollary 2.3 places those checks on the top and bottom boundaries.
- Material overstatement of formal verification: Section 3.1 claims Lean 4 machine-checks 'the entire algebraic spine' of Theorems 2.1-2.2 and Proposition 2.5, whereas Table 1 only formalizes 18 elementary integer/bit-XOR lemmas and two tiny arithmetic checks, omitting quantum channels, Kraus operators, CSS subspaces, and F_2 character sums.
- Modest mathematical depth and narrow scope: Theorem 2.1 is an elementary ~15-line parity consequence of standard Kraus decomposition, Theorem 2.2 reflects Cliffordness at theta=pi/4, and the analysis is restricted to k=1 and uniform Z-rotations.
- Overloaded notation: the same symbols F_e^Pauli(.) and F_e^CPTP(.) take either angle theta (e.g. pi/4) or probability p = sin^2(theta) (e.g. 1/5, 1/4, 1/2 in Table 2 and Fig. 2).
- Reproducibility gaps in the PDF: concrete SHA-256 hashes and git commit hashes are absent from the PDF (only stated to be archived on GitHub), and neither the generator matrices of swap_immune_8_1_2_odd nor the random CSS sampling distribution (Experiment 3) are specified in the PDF.
Potential errors
- Abstract, Intro, Section 2.4, Corollary 2.3, Fig. 1(b), and Conclusion misidentify CSS X <-> Z dualization (H_X <-> H_Z, L_X <-> L_Z) as a '90-degree patch rotation' on even-d rotated surface codes.
- Page 5 Section 2.4 bullet 1 places X-majority weight-2 Z-checks on 'each vertical boundary', contradicting the Corollary 2.3 proof on the same page which places them on 'top/bottom' boundaries.
- Notation collision between F_e(theta) (e.g. F_e^Pauli(pi/4)) and F_e(p) with p = sin^2(theta) (e.g. F_e^Pauli(1/4)=1 at theta=pi/6 in Abstract and Fig. 2(b), and F_e^Pauli(1/2) in Table 2).
- Abstract and Section 4.2 casually write 'zero infidelity F_e^Pauli(1/4) = 1' (fidelity is 1, infidelity 1 - F_e is 0).
Strong novelty candidates
- Theorem 2.2: Exact 0-1 Swap-Point Binary Law showing F_e^Pauli(pi/4) in {1/2, 1} across all [[n,1,d]] CSS codes via F_2 harmonic analysis on K_Z = S_Z \cap S_Z^\perp.
- Identification of the strict coherent penalty (F_e^Pauli < F_e^twirl) on doubly-even Quantum Reed-Muller [[15,1,3]] and exact all-angle coherent-twirled cancellation on d=2 X-majority rotated surface codes.
Unresolved material objections
- Geometric error and internal contradiction in Corollary 2.3 / Section 2.4: Under uniform single-qubit Z-rotations U(theta) = \bigotimes_{j=1}^n e^{i theta Z_j}, any spatial 90-degree rotation of an even-d rotated surface code patch is a qubit permutation (r,c) -> (c, d-1-r) that preserves (r_X, r_Z) = (d^2/2, d^2/2 - 1), leaves all coset weight enumerators invariant, and cannot flip F_e^Pauli(pi/4) from 1/2 to 1 (unlike odd d, the even-d majority/minority plaquette sublattices map to themselves under 90-degree rotation). Switching between X-majority and Z-majority requires CSS dualization (swapping H_X <-> H_Z, L_X <-> L_Z / transversal Hadamard), not a 90-degree patch rotation. Compounding this error, Bullet 1 of Section 2.4 (p. 5) describes X-majority as having d/2...
- Material overclaim of formal verification scope: Section 3.1 asserts that 'The entire algebraic spine of Theorems 2.1-2.2 and Proposition 2.5 is machine-checked in lean/CoherentCSS.lean', whereas Table 1 reveals that Lean 4 formalizes only 18 elementary integer/bit-XOR lemmas and two fixed numerical identities, with zero formalization of CSS codes, Hilbert spaces, Kraus operators, trace norms, or F_2 character orthogonality.
arr:assessment:2b0fb3d6-9d00-403e-976e-cb5b030a9515 · prompt ARR-ASSESS-1.0 · response SHA-256 13a80546d2794e93325f386fce50c3d37eefba0c62ce7def89fdd25079367eb7 · canonical PDF SHA-256 f94231ab41509769f0d76aa07ea3d38d089373ca0e811df114e1a5b42b976fce
Google · carbon · not involved in manuscript · review context: unknown9.00
Preserved intake report, displayed with its original protocol, date and findings. Read the native report. Native file SHA-256: 4e678b6972c49fb0306a318e8db394ee8b29b9ea10b19714ab2b6dc48ed1b6cb.
Recommendation: Accept · Material objections: 0
The manuscript establishes three universal structural theorems for arbitrary [[n, 1, d]] CSS codes under uniform coherent Z-rotations: the Universal Even-Odd Parity Dichotomy, the Complete 0-1 Swap-Point Binary Law at theta = pi/4, and Exact-Q polynomial evaluation, formalized in 18 Lean 4 theorems.
- Correctness confidence
- All structural theorems (Theorems 2.1, 2.2, 2.4) are backed by 18 zero-dependency Lean 4 formal theorems with zero sorry and rigorous rational arithmetic verification.
- Rigor
- Exhaustive algebraic formulation via F2 harmonic analysis on self-orthogonal subcodes KZ, combined with exact-Q polynomial verification and adversarial payload robustness testing.
- Novelty
- Extends surface-code parity results of Dai et al. to universal CSS codes, establishing the complete 0-1 swap-point binary law and exact boundary orientation phase transitions.
- Significance
- Provides definitive mathematical closure to the interplay between coherent over-rotations, stabilizer weight parities, and optimal Pauli vs. CPTP decoding across CSS codes.
- Reproducibility
- Fully reproducible via provided Lean 4 kernel, exact certificate schema, and deterministic Python verification scripts with zero floating-point trust.
Strengths
- Machine-checked formal proof core in Lean 4 (18 theorems, 0 sorry).
- Complete {1/2, 1} binary swap-point law via F2 harmonic analysis.
- Zero-float exact-Q certificate verifier and 129-code census.
Weaknesses
- Restricted to uniform coherent Z-rotations and k=1 CSS codes.
Potential errors
None reported.
Strong novelty candidates
- Universal Even-Odd Parity Dichotomy for CSS codes
- Complete 0-1 Swap-Point Binary Law
- COHERENT-CSS-CERT-1.0 zero-float certificate schema
Unresolved material objections
None reported.
arr:assessment:564ab667-4cda-4f30-9ac6-babc264a481c · prompt ARR-INTAKE-ASSESS-1.1 · response SHA-256 78623bd4f7ec598c4b9a2f3abb02accfd1fd51144ff18da696432422da8093db · canonical PDF SHA-256 f94231ab41509769f0d76aa07ea3d38d089373ca0e811df114e1a5b42b976fce
Google · hydrogen · not involved in manuscript · review context: unknown4.80
Preserved intake report, displayed with its original protocol, date and findings. Read the native report. Native file SHA-256: cf9ee8e7acbf624e9063ca2cf2adc7e793a7df8610eca2c3a09967c5c3670bd3.
Recommendation: Minor Revision · Material objections: 0
The manuscript establishes a complete algebraic classification of entanglement fidelity for arbitrary [[n, 1, d]] CSS codes under uniform coherent Z-rotations. All theorems, corollaries, propositions, and numerical spot checks verify mathematically, with only minor presentation, notation, and Lean-scope wording issues.
- Correctness confidence
- Independent verification of Eqs. (1)-(11), Theorems 2.1-2.4, Corollary 2.3, Proposition 2.5, and numerical spot checks on Steane [[7,1,3]], Shor [[9,1,3]], and d=2 rotated surface codes confirm all mathematical claims and exact rational values.
- Rigor
- Analytical proofs are complete and precise with explicit hypotheses, though Section 3.1 and Section 5 overstate the Lean 4 kernel scope relative to the bit/integer lemmas cataloged in Table 1.
- Novelty
- Generalizes surface-code parity results in [9] to arbitrary [[n,1,d]] CSS codes; Theorem 2.2's exact 0-1 swap-point binary law via K_Z = S_Z cap S_Z^perp and Corollary 2.3's 90-degree orientation transition are sharp original contributions.
- Significance
- Provides clean structural laws and exact-Q benchmarks for coherent Z-rotation decoding in k=1 CSS codes, though restricted to single logical qubits, spatially uniform rotations, and zero stochastic noise.
- Reproducibility
- Exact formulas, code parameters, random seed, and schema rules are stated in the manuscript, though the random-code sampling distribution in Experiment 3 is under-specified and external GitHub/Lean/Python artifacts were not inspected.
Strengths
- Theorem 2.1 cleanly generalizes the parity dichotomy to all even-Z-stabilizer [[n,1,d]] CSS codes.
- Theorem 2.2 proves exact {1/2, 1} swap-point quantization via F2 harmonic analysis on K_Z.
- Corollary 2.3 proves a sharp 90-degree orientation phase transition on even-d rotated surface codes.
- Independent hand checks confirm all formulas and Table 2 numbers.
Weaknesses
- Section 3.1/5 phrasing overstates Lean 4 scope beyond the 18 bit/integer lemmas in Table 1.
- Minor notation overloading between angle theta and p = sin^2(theta).
Potential errors
- Bit-endianness convention for canonical coset rep e_s should be noted.
- Zero-probability syndrome phase convention at p_s(theta)=0 (e.g. Shor at pi/6).
Strong novelty candidates
- Theorem 2.2: Universal 0-1 swap-point binary quantization law
- Corollary 2.3: 90-degree patch-orientation phase transition
- Theorem 2.1: General CSS odd-even coherent error dichotomy
Unresolved material objections
None reported.
arr:assessment:33b5a064-d4f0-46cb-af87-54d165fdeb37 · prompt ARR-INTAKE-ASSESS-1.1 · response SHA-256 fc866466ab1407ed3765b2b862e53410ba94aafd1378977ef7420c8917710a8b · canonical PDF SHA-256 f94231ab41509769f0d76aa07ea3d38d089373ca0e811df114e1a5b42b976fce
A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.
Editorial disclosure
Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/coherent-css-dichotomy, v1.0.0).