Exact Case C repetition-code dimension for all three periods
Wu, Li, Li and Zhai found numerically that common divisors of three periodic binary repetition lengths affect the number \(k\) of logical qubits encoded by their Case C quantum code. They asked for an analytic explanation and left the value of \(k\) open in Table I. The exact formula below applies to every triple of integer lengths \(L_1,L_2,L_3\ge2\), including even lengths with arbitrary powers of two, and gives \[k(L_1,L_2,L_3)\ge 6\gcd(L_1,L_2,L_3)-2. \] Wu, Li, Li and Zhai, Supplementary Material, Case C, pp. 9–10 Write \(L_i=e_i o_i\), where \(e_i\) is a power of two and \(o_i\) is odd, and order the powers as \(e_{(1)}\le e_{(2)}\le e_{(3)}\). For each ordered triple of roots \(\xi_i^{o_i}=1\) in the algebraic closure of the binary field \(\mathbb F_2\), put \(s_i=\xi_i+\xi_i^{-1}\). Call coordinate \(i\) neutral when \(\xi_i=1\), equivalently \(s_i=0\), and primitive cube when \(\xi_i^2+\xi_i+1=0\), equivalently \(s_i=1\). Calculate \[D=s_1+s_2+s_3+s_1s_2s_3,\qquad k=1+\sum_{\xi_i^{o_i}=1\ (i=1,2,3)}\mathcal W(\xi_1,\xi_2,\xi_3). \] The root arithmetic for \(D\) is in characteristic two. The weights and their sum are ordinary integers. - At the all-neutral triple, \(\mathcal W=3\) if all \(e_i=1\), and \(\mathcal W=2e_{(1)}e_{(2)}+1\) otherwise. - If \(D\ne0\), then \(\mathcal W=0\). - If all three coordinates are primitive cube, set \(m=e_{(1)}-1\), \(n=e_{(2)}-1\) and \(p=e_{(3)}-1\). Then \(\mathcal W=e_1+e_2+e_3-1+\Gamma\), where \(\Gamma=0\) if \(m=0\) and \(\Gamma=m(n+p)-(m^2+1)/2\) otherwise. - If exactly two coordinates \(j,k\) are primitive cube and \(i\) is the remaining coordinate, then \(\mathcal W=e_i\min(e_j,e_k)\). Every such triple has \(D=0\). - If \(D=0\) and there are no primitive cube coordinates, a triple with three nonneutral coordinates has \(\mathcal W=e_{(1)}e_{(2)}\). If \(i\) is the only neutral coordinate and \(j,k\) are the other two, set \(a=\min(e_j,e_k)\) and \(b=\max(e_j,e_k)\). Then \(\mathcal W=a\min(e_i,2b)\). The sum can be evaluated in one finite field containing all the required odd-order roots. To enumerate from the first two coordinates, if \(1+s_1s_2\ne0\), set \(s_3=(s_1+s_2)/(1+s_1s_2)\) and retain the roots of \(\xi_3^2+s_3\xi_3+1=0\) that satisfy \(\xi_3^{o_3}=1\). If \(1+s_1s_2=0\), every allowed third root contributes to the zero locus when \(s_1=s_2=1\), and there are no candidates otherwise. The weights measure dependencies among the code's parity checks. For \(N=L_1L_2L_3\), the code has \(4N\) physical qubits. The binary \(X\)-check matrix \(H_X\) has rank \(N-1\) because its sole dependency comes from the array constant in all three directions. The \(Z\)-check matrix \(H_Z\) has \(3N\) rows, so \(k=1+\dim_{\mathbb F_2}\ker H_Z^{\mathsf T}\). Each weight gives the dimension of the part of this kernel associated with one root triple after extending scalars. The odd parts select the roots, and the powers of two give their multiplicities through \(x^{L_i}-1=(x^{o_i}-1)^{e_i}\) in characteristic two. At a neutral root, writing \(x=1+\delta\) gives \(x+x^{-1}=\delta^2/(1+\delta)\). This quadratic dependence gives the factor \(2b\) in the single-neutral case with two nonprimitive coordinates. If coordinate \(i\) is the only neutral one, then \(D=0\) requires the other two roots to coincide or be inverses. This gives exactly \(2(\gcd(o_j,o_k)-1)\) ordered pairs for that choice of neutral coordinate, each with weight at least \(\min_i e_i\). These three groups, together with the all-neutral contribution and the constant in the formula, give the stated bound in terms of the three-way greatest common divisor. The full sum also accounts for triples with no neutral coordinate. For example, \((3,5,7)\) encodes \(4\) logical qubits and \((3,3,5)\) encodes \(24\), although both triples have three-way greatest common divisor one.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24798589
- Primary Topic
- Coding theory and cryptography
- Type
- preprint