Exact encoding rate for partial trace stacks

Borah and colleagues ask how tightly one can determine the encoding rate of their qudit hypergraph products and cyclic lifted products when only part of the trace basis is used to stack the checks. The rate can be calculated exactly from the row relations whose coefficients lie in the chosen trace-basis subspaces. A polynomial matrix calculation gives the exact rate without expanding the cyclic lift. In the scalar family of Theorem 28, the calculation reduces further to two restricted kernels, which for \(b=x-1\) are computed by evaluating the matrix factor at \(x=1\). Borah et al., §VIII, p. 40, question on tightening the encoding-rate bounds Let \(F=\mathbb F_{p^m}\), where \(p\) is prime, and retain the first \(s\) elements of the prescribed trace-dual bases \((\alpha_i)_{i=0}^{m-1}\) and \((\beta_i)_{i=0}^{m-1}\), with \(1\le s\le m\). Write \(U_X=\operatorname{span}_{\mathbb F_p}\{\alpha_i:0\le i<s\}\) and \(U_Z=\operatorname{span}_{\mathbb F_p}\{\beta_i:0\le i<s\}\). For a cyclic lift of length \(\ell\), set \(f=x^\ell-1\), \(R=F[x]/(f)\) and \(R_0=\mathbb F_p[x]/(f)\). The two factors \(H_i\) have \(r_i\) rows and \(n_i\) columns over \(R\). The unstacked blocks are \[B_X=[H_1\otimes I_{n_2}\quad I_{r_1}\otimes H_2^{\mathsf T}],\qquad B_Z=[I_{n_1}\otimes H_2\quad -H_1^{\mathsf T}\otimes I_{r_2}], \] where \(I_d\) is the identity of size \(d\), \(\otimes\) is the Kronecker product and \({\mathsf T}\) denotes transpose. Let \(M_X=r_1n_2\) and \(M_Z=n_1r_2\) be their row counts, and let \(N_0=n_1n_2+r_1r_2\) and \(N=N_0\ell\) be the block column count and physical qudit count, respectively. The ordinary hypergraph product uses \(\ell=1\) and constant matrices. The row-relation kernels are \(K_X=\ker_R B_X^*\) and \(K_Z=\ker_R B_Z^{\mathsf T}\), where \(*\) transposes and applies \(x\mapsto x^{-1}\) entrywise. This accounts for the original convention in which the \(Z\) check block is lifted after applying \(x\mapsto x^{-1}\) entrywise. For \(j\in\{X,Z\}\), set \(L_j=M_j\ell\) and let \(\kappa_j\) be the dimension over \(\mathbb F_p\) of the vectors in \(K_j\) whose every coefficient, in the unique representatives of degree below \(\ell\), lies in \(U_j\). The \(j\)-sector has \(sL_j-\kappa_j\) independent prime-field check generators. The \(X\) and \(Z\) checks commute and occupy separate Pauli coordinates, so their ranks add. Each independent generator removes one unit from the base-\(p\) logarithm of the codespace dimension. Thus the normalised rate of the codespace \(\mathcal C\) is \[\mathcal R=\frac{\log_p\dim_{\mathbb C}\mathcal C}{mN} =1-\frac{s(L_X+L_Z)-\kappa_X-\kappa_Z}{mN}. \] This normalisation uses the exact codespace dimension and requires no rounding to a whole number of logical qudits. To compute the ranks symbolically, stack \(s\) copies of \(B_X\), multiplying the \(i\)-th copy by \(\alpha_i\) for \(0\le i<s\). For \(Z\), first apply \(x\mapsto x^{-1}\) entrywise to \(B_Z\), then stack the copies multiplied by \(\beta_i\). In each case take polynomial representatives modulo \(f\) and split each coefficient into its \(m\) coordinates in a fixed \(\mathbb F_p\)-basis of \(F\), retaining \(x\) as the polynomial variable. The resulting matrix \(P_j\) has size \(sM_j\times mN_0\) over \(\mathbb F_p[x]\). If \(d_{j,1},\ldots,d_{j,t_j}\) are its nonzero Smith diagonal entries over \(\mathbb F_p[x]\), then \[sL_j-\kappa_j=\sum_{a=1}^{t_j}\bigl(\ell-\deg\gcd(f,d_{j,a})\bigr). \] Each summand is the prime-field dimension of the image of multiplication by \(d_{j,a}\) in \(R_0\). The formula uses the usual Smith image calculation on the actual partially stacked check maps. It applies to two matrix factors and allows repeated factors of \(f\) without passing to a splitting field. For constant hypergraph products there is also a direct route: form \(K_X=\ker H_1^{\mathsf T}\otimes_F\ker H_2\) and \(K_Z=\ker H_1\otimes_F\ker H_2^{\mathsf T}\) from the factor kernels, then compute the dimensions subject to the same coordinate restrictions. If only the full-check ranks are available, let \(r_X\) and \(r_Z\) be the ranks over \(F\) of the unstacked lifted checks in the two sectors, including the original \(Z\) convention. Write \(\mathcal R_{\rm full}=1-(r_X+r_Z)/N\) for the fully stacked rate. Then \[1-\frac{\min\{sL_X,mr_X\}+\min\{sL_Z,mr_Z\}}{mN} \le \mathcal R\le 1-\frac{s}{m}(1-\mathcal R_{\rm full}). \] The lower endpoint strictly improves the fully stacked lower bound whenever \(sL_j<mr_j\) in at least one sector. For upper equality, identify \(K_j\) with a subspace of \(F^{L_j}\) by expanding its polynomial coefficients. Choose \(L_j-r_j\) coordinates whose projection is an isomorphism on \(K_j\), and express each remaining coordinate as a linear combination of those free coordinates. The rate attains the upper endpoint exactly when, in both sectors, every coefficient of these combinations belongs to \(D_{U_j}=\{a\in F:aU_j\subseteq U_j\}\). This is a subfield of \(F\) and the criterion is independent of the choice of free coordinates. Both rate endpoints occur for one rank profile. Over \(\mathbb F_4\), take \(s=1\), the basis \((1,\omega)\) with \(\omega^2=\omega+1\) and its trace dual, and \(H_2=[0]\). The columns \(H_1=(1,\omega)^{\mathsf T}\) and \(H_1=(1,1)^{\mathsf T}\) both give \(N=3\), \((L_X,L_Z)=(2,1)\) and \((r_X,r_Z)=(1,1)\). Their partial rates are \(1/2\) and \(2/3\), respectively, while both fully stacked rates are \(1/3\). For the scalar family, take \(H_1=A\) of size \(r\times n\) and \(H_2=[b]\), where \(b\) is a monic divisor of \(f\) in \(F[x]\). Put \(h=\deg b\). If \(b=1\), both restricted relation dimensions are zero. For \(h>0\), multiplication by \(f/b\) parametrises the elements of \(R\) killed by \(b\) by polynomials of degree below \(h\), including when \(b\) has repeated factors. The remaining restriction is that each coefficient of the product belong to the chosen subspace. It can be imposed without forming \(f/b\). For \(U=U_X\) or \(U_Z\), write \(\prod_{u\in U}(T-u)=\sum_{i=0}^s a_iT^{p^i}\), let \(\sigma\) act by \(p\)-Frobenius on coefficients while fixing \(x\), and put \(D=\operatorname{lcm}_{a_i\ne0}\sigma^i(b)\), with monic least common multiple. Define \[\mathcal Y_U(b)=\left\{y\in F[x]_{<h}:\sum_{a_i\ne0}a_i\frac{D}{\sigma^i(b)}\sigma^i(y)=0\right\}, \] where \(F[x]_{<h}\) consists of polynomials of degree below \(h\) and the equality is a polynomial identity of degree below \(\deg D\le(s+1)h\). The two dimensions are computed by prime-field linear algebra as \[\kappa_X=\dim_{\mathbb F_p}\{y\in\mathcal Y_{U_X}(b)^r:A^{\mathsf T}y=0\pmod b\},\qquad \kappa_Z=\dim_{\mathbb F_p}\{y\in\mathcal Y_{U_Z}(b)^n:Ay=0\pmod b\}. \] These systems use only \(A\bmod b\), the chosen subspaces and the coefficient conjugates of \(b\). For \(b\in\mathbb F_p[x]\), \(\mathcal Y_U(b)\) consists simply of the polynomials of degree below \(h\) with coefficients in \(U\). Full stacking removes the restriction and recovers the fully stacked irreducible-scalar case of Theorem 30. In this family the finite-length rate satisfies \[1-\frac{s}{m}\le\mathcal R=1-\frac{s}{m}+\frac{\kappa_X+\kappa_Z}{m(n+r)\ell}\le 1-\frac{s}{m}+\frac{sh}{m\ell}. \] For the original lifted expander family with \(b=x-1\), the correction is obtained from the kernels of \(A(1)^{\mathsf T}\) on \(U_X^r\) and \(A(1)\) on \(U_Z^n\). It is between zero and \(s/(m\ell)\) for every allowed matrix and prescribed pair of trace-dual bases. At fixed \(s,m\) the rate therefore tends to \(1-s/m\) as \(\ell\) grows.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24777129
Primary Topic
Coding theory and cryptography
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact encoding rate for partial trace stacks

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Coding theory and cryptography
preprint

Exact encoding rate for partial trace stacks

Zixuan He
preprint en

Abstract

Borah and colleagues ask how tightly one can determine the encoding rate of their qudit hypergraph products and cyclic lifted products when only part of the trace basis is used to stack the checks. The rate can be calculated exactly from the row relations whose coefficients lie in the chosen trace-basis subspaces. A polynomial matrix calculation gives the exact rate without expanding the cyclic lift. In the scalar family of Theorem 28, the calculation reduces further to two restricted kernels, which for \(b=x-1\) are computed by evaluating the matrix factor at \(x=1\). Borah et al., §VIII, p. 40, question on tightening the encoding-rate bounds Let \(F=\mathbb F_{p^m}\), where \(p\) is prime, and retain the first \(s\) elements of the prescribed trace-dual bases \((\alpha_i)_{i=0}^{m-1}\) and \((\beta_i)_{i=0}^{m-1}\), with \(1\le s\le m\). Write \(U_X=\operatorname{span}_{\mathbb F_p}\{\alpha_i:0\le i<s\}\) and \(U_Z=\operatorname{span}_{\mathbb F_p}\{\beta_i:0\le i<s\}\). For a cyclic lift of length \(\ell\), set \(f=x^\ell-1\), \(R=F[x]/(f)\) and \(R_0=\mathbb F_p[x]/(f)\). The two factors \(H_i\) have \(r_i\) rows and \(n_i\) columns over \(R\). The unstacked blocks are \[B_X=[H_1\otimes I_{n_2}\quad I_{r_1}\otimes H_2^{\mathsf T}],\qquad B_Z=[I_{n_1}\otimes H_2\quad -H_1^{\mathsf T}\otimes I_{r_2}], \] where \(I_d\) is the identity of size \(d\), \(\otimes\) is the Kronecker product and \({\mathsf T}\) denotes transpose. Let \(M_X=r_1n_2\) and \(M_Z=n_1r_2\) be their row counts, and let \(N_0=n_1n_2+r_1r_2\) and \(N=N_0\ell\) be the block column count and physical qudit count, respectively. The ordinary hypergraph product uses \(\ell=1\) and constant matrices. The row-relation kernels are \(K_X=\ker_R B_X^*\) and \(K_Z=\ker_R B_Z^{\mathsf T}\), where \(*\) transposes and applies \(x\mapsto x^{-1}\) entrywise. This accounts for the original convention in which the \(Z\) check block is lifted after applying \(x\mapsto x^{-1}\) entrywise. For \(j\in\{X,Z\}\), set \(L_j=M_j\ell\) and let \(\kappa_j\) be the dimension over \(\mathbb F_p\) of the vectors in \(K_j\) whose every coefficient, in the unique representatives of degree below \(\ell\), lies in \(U_j\). The \(j\)-sector has \(sL_j-\kappa_j\) independent prime-field check generators. The \(X\) and \(Z\) checks commute and occupy separate Pauli coordinates, so their ranks add. Each independent generator removes one unit from the base-\(p\) logarithm of the codespace dimension. Thus the normalised rate of the codespace \(\mathcal C\) is \[\mathcal R=\frac{\log_p\dim_{\mathbb C}\mathcal C}{mN} =1-\frac{s(L_X+L_Z)-\kappa_X-\kappa_Z}{mN}. \] This normalisation uses the exact codespace dimension and requires no rounding to a whole number of logical qudits. To compute the ranks symbolically, stack \(s\) copies of \(B_X\), multiplying the \(i\)-th copy by \(\alpha_i\) for \(0\le i<s\). For \(Z\), first apply \(x\mapsto x^{-1}\) entrywise to \(B_Z\), then stack the copies multiplied by \(\beta_i\). In each case take polynomial representatives modulo \(f\) and split each coefficient into its \(m\) coordinates in a fixed \(\mathbb F_p\)-basis of \(F\), retaining \(x\) as the polynomial variable. The resulting matrix \(P_j\) has size \(sM_j\times mN_0\) over \(\mathbb F_p[x]\). If \(d_{j,1},\ldots,d_{j,t_j}\) are its nonzero Smith diagonal entries over \(\mathbb F_p[x]\), then \[sL_j-\kappa_j=\sum_{a=1}^{t_j}\bigl(\ell-\deg\gcd(f,d_{j,a})\bigr). \] Each summand is the prime-field dimension of the image of multiplication by \(d_{j,a}\) in \(R_0\). The formula uses the usual Smith image calculation on the actual partially stacked check maps. It applies to two matrix factors and allows repeated factors of \(f\) without passing to a splitting field. For constant hypergraph products there is also a direct route: form \(K_X=\ker H_1^{\mathsf T}\otimes_F\ker H_2\) and \(K_Z=\ker H_1\otimes_F\ker H_2^{\mathsf T}\) from the factor kernels, then compute the dimensions subject to the same coordinate restrictions. If only the full-check ranks are available, let \(r_X\) and \(r_Z\) be the ranks over \(F\) of the unstacked lifted checks in the two sectors, including the original \(Z\) convention. Write \(\mathcal R_{\rm full}=1-(r_X+r_Z)/N\) for the fully stacked rate. Then \[1-\frac{\min\{sL_X,mr_X\}+\min\{sL_Z,mr_Z\}}{mN} \le \mathcal R\le 1-\frac{s}{m}(1-\mathcal R_{\rm full}). \] The lower endpoint strictly improves the fully stacked lower bound whenever \(sL_j<mr_j\) in at least one sector. For upper equality, identify \(K_j\) with a subspace of \(F^{L_j}\) by expanding its polynomial coefficients. Choose \(L_j-r_j\) coordinates whose projection is an isomorphism on \(K_j\), and express each remaining coordinate as a linear combination of those free coordinates. The rate attains the upper endpoint exactly when, in both sectors, every coefficient of these combinations belongs to \(D_{U_j}=\{a\in F:aU_j\subseteq U_j\}\). This is a subfield of \(F\) and the criterion is independent of the choice of free coordinates. Both rate endpoints occur for one rank profile. Over \(\mathbb F_4\), take \(s=1\), the basis \((1,\omega)\) with \(\omega^2=\omega+1\) and its trace dual, and \(H_2=[0]\). The columns \(H_1=(1,\omega)^{\mathsf T}\) and \(H_1=(1,1)^{\mathsf T}\) both give \(N=3\), \((L_X,L_Z)=(2,1)\) and \((r_X,r_Z)=(1,1)\). Their partial rates are \(1/2\) and \(2/3\), respectively, while both fully stacked rates are \(1/3\). For the scalar family, take \(H_1=A\) of size \(r\times n\) and \(H_2=[b]\), where \(b\) is a monic divisor of \(f\) in \(F[x]\). Put \(h=\deg b\). If \(b=1\), both restricted relation dimensions are zero. For \(h>0\), multiplication by \(f/b\) parametrises the elements of \(R\) killed by \(b\) by polynomials of degree below \(h\), including when \(b\) has repeated factors. The remaining restriction is that each coefficient of the product belong to the chosen subspace. It can be imposed without forming \(f/b\). For \(U=U_X\) or \(U_Z\), write \(\prod_{u\in U}(T-u)=\sum_{i=0}^s a_iT^{p^i}\), let \(\sigma\) act by \(p\)-Frobenius on coefficients while fixing \(x\), and put \(D=\operatorname{lcm}_{a_i\ne0}\sigma^i(b)\), with monic least common multiple. Define \[\mathcal Y_U(b)=\left\{y\in F[x]_{<h}:\sum_{a_i\ne0}a_i\frac{D}{\sigma^i(b)}\sigma^i(y)=0\right\}, \] where \(F[x]_{<h}\) consists of polynomials of degree below \(h\) and the equality is a polynomial identity of degree below \(\deg D\le(s+1)h\). The two dimensions are computed by prime-field linear algebra as \[\kappa_X=\dim_{\mathbb F_p}\{y\in\mathcal Y_{U_X}(b)^r:A^{\mathsf T}y=0\pmod b\},\qquad \kappa_Z=\dim_{\mathbb F_p}\{y\in\mathcal Y_{U_Z}(b)^n:Ay=0\pmod b\}. \] These systems use only \(A\bmod b\), the chosen subspaces and the coefficient conjugates of \(b\). For \(b\in\mathbb F_p[x]\), \(\mathcal Y_U(b)\) consists simply of the polynomials of degree below \(h\) with coefficients in \(U\). Full stacking removes the restriction and recovers the fully stacked irreducible-scalar case of Theorem 30. In this family the finite-length rate satisfies \[1-\frac{s}{m}\le\mathcal R=1-\frac{s}{m}+\frac{\kappa_X+\kappa_Z}{m(n+r)\ell}\le 1-\frac{s}{m}+\frac{sh}{m\ell}. \] For the original lifted expander family with \(b=x-1\), the correction is obtained from the kernels of \(A(1)^{\mathsf T}\) on \(U_X^r\) and \(A(1)\) on \(U_Z^n\). It is between zero and \(s/(m\ell)\) for every allowed matrix and prescribed pair of trace-dual bases. At fixed \(s,m\) the rate therefore tends to \(1-s/m\) as \(\ell\) grows.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Coding theory and cryptography
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon