WorksPhysics and Astronomy
Quantum LDPC Codes from Polynomial Minors
Abstract
We construct quantum codes from codewords of a cyclic code and the minors of a polynomial matrix. The construction uses a two-row, three-column matrix whose minors yield a second matrix satisfying the CSS orthogonality condition. We derive the code dimension from the greatest common divisors of the entries and minors, with a simplified formula for odd lifting factors. A residue characterization identifies additional common factors of the minors and leads to a method for controlling the dimension through polynomial selection. We also give a condition for changing the minor generator without changing the code. Explicit polynomial constructions yield 13 quantum codes with verified minimum distances, including a code of rate .
Introduction
The CSS construction associates a quantum code with two binary linear codes satisfying an inclusion condition [1, 2]. Cyclic codes provide a convenient way to obtain such pairs. Their codewords can be represented by polynomials, and the same polynomials can be used as entries of a matrix whose binary expansion consists of circulant blocks. Moreover, minors of polynomial matrices can be used to construct generator matrices for quasi-cyclic (QC) codes as well as to determine the rank [3, 4].
Algebraic constructions of quantum LDPC codes include the bicycle codes of MacKay, Mitchison, and McFadden [5], the generalized bicycle (GB) codes of Kovalev and Pryadko [6], and the constructions of Kasai et al. [7] that are based on orthogonal quasi-cyclic matrices. Panteleev and Kalachev introduced lifted-product codes [8], while Lin and Pryadko studied two-block group algebra codes over finite groups [9]. Bravyi et al. constructed bivariate bicycle (BB) codes from sparse bivariate polynomials [10]. Related constructions using voltage labels and structured polynomial supports appear in [11, 12, 13, 14]. In particular, we will use the correspondence between polynomial and circulant transposition described in [13].
In this paper, we take a polynomial matrix with two rows and three columns and form its three minors. The resulting matrices must satisfy the CSS orthogonality condition for any choice of the polynomial entries using arguments from [3, 15, 16]. We consider both a general polynomial matrix and a specialization in which the second row is determined by the first. The code dimension is expressed in terms of polynomial gcds. For odd , it simplifies to
where and are the gcds of the entries and minors, respectively, with . We characterize the additional factors of and show how residue conditions can be used to select the polynomials and control the code dimension. We also characterize multipliers that preserve the code while changing its generators. The resulting constructions include a code, with exact distances established by explicit logical operators and exhaustive enumeration.
Notation and Preliminaries
Let be the lifting factor and let
Polynomial sums and products are computed in . Divisibility, factorizations, and gcds are taken in , using representatives of degree less than . A polynomial also corresponds to the binary circulant matrix whose first row is and whose subsequent rows are obtained by cyclic shifts to the right.
At fixed length , define
The circulant represented by is the transpose of the circulant represented by . In particular, for any integer
where the exponent is reduced modulo . A polynomial matrix denotes its binary circulant expansion when its kernel, image, or binary rank is used. We write for the binary row space of , and identify binary row scalar vectors with their transposes in kernel expressions. If , are two polynomial matrices over , of sizes and , respectively, then we define the classical codes
where is a row vector. The expanded matrices have , rows and columns. Thus counts blocks of checks, while counts individual binary checks.
The CSS condition is equivalent to , or equivalently . When this condition holds, let denote the binary CSS code whose X-type and Z-type stabilizer generators are specified by the rows of and , respectively [1], [2]. We refer to these stabilizers as checks. Let and . The CSS code has parameters , where is the number of encoded qubits and are its X-type and Z-type logical distances. Explicitly,
The following theorem from [3], [15] gives the formula for the rank over of a scalar matrix using the computation of the degree of the minors of the corresponding polynomial matrix . For subsets and with , let denote the determinant of the submatrix of with rows indexed by and columns indexed by . When , let denote the determinant of the submatrix of obtained by erasing column .
The following Lemma from [15], [16] gives a way to create codewords starting from a given matrix and using minors.
Lemma 1. Let be any subset of size . Define the length vector over by if , and otherwise, where is the submatrix of with columns indexed by . Then (as a column vector) lies in .
Theorem 2. Let . For a fixed of size , form the column vectors , for all . Define with rows given by the vectors . Then and , so the length code exists. If
then its dimension is positive.
In particular, if ,
If and and are defined as in Theorem 1 for the matrix , for all , then the dimension of the quantum code is
Proof. is the gcd of all minors of , and, therefore, it is the gcd of all the entries of the matrix , giving . Then and . The dimension of now follows from (5).
Remark 3. Since is also a subset of a supercode of , where is a submatrix of obtained by taking a smaller set of rows, then the code can be constructed with a larger dimension, and possibly the same minimum distance, as the next example shows.
The second remark is that the generalized bicycle code [6] given by
is an example of a code obtained by Theorem 2.
Before presenting our main construction, we exemplify the results in the following example.
Example: We take variable, and
We compute
Let
For , the gcd of all the entries in and is . Therefore, (7) gives . Indeed, this code has parameters . Hence, enlarging to be equal to the kernel of only the first two rows of , since is still a subcode, we can form the quantum code of larger dimension .
In the remainder of the paper, starting from a polynomial matrix, we will use this idea in order to construct a class of quantum codes of length .
Construction from Polynomial Minors
Let and let be codewords of the cyclic code generated by . Take
The following is an immediate consequence of Theorem 2.
Proposition 4. The codes above satisfy . Hence is a quantum code of length .
Taking the entries to be codewords in a cyclic code generated by gives a way to choose them with a prescribed common factor to increase the dimension. In particular, to minimize the number of codewords in that we need to choose, we take , , and . Then
Thus, gives the entry , while gives the entry .
Weights of the Matrices
Let , , and . Each row of has weight , and the column weights in its three blocks are , , and . The columns in block of have weight , and each row has weight
Dimension and Common Factors
Define
and assume that at least one minor is nonzero. Since divides , , , it follows that divides each minor. Hence there is a nonzero polynomial such that
Theorem 5. Let
and
The dimension of is
In particular, for odd ,
where .
Proof. The Smith invariants of are and , while the nonzero Smith invariant of is . Applying (7) gives . For odd , the polynomial is square-free. Since ,
The result follows.
Controlling the Dimension
For odd and fixed , the dimension increases with . For , one way to obtain an additional factor is to choose
for an irreducible . The two polynomial rows then coincide modulo , and all the minors vanish. The following proposition gives all nonzero possibilities.
Proposition 6. Let be irreducible, and suppose that not all of vanish modulo . The three minors of (10) vanish modulo if and only if there are nonzero such that
in that field. In particular, for this becomes
Proof. Both rows of (10) are nonzero. Their minors vanish in the field precisely when the second row is times the first. Thus
All three entries and are nonzero in . Setting $s = a yields (15). Conversely, (15) makes the rows proportional. □
For , the choice yields (14). If is even, there are two additional cube roots of unity, giving unequal residues. For example, with , choosing and yields
If is odd, is the only solution. For general , the equation has a unique solution when is odd. When is even, it has three solutions if
and none otherwise. Thus the choice of determines which even-degree irreducible factors can contribute to .
Choosing the Polynomials
For odd , the dimension can be controlled by selecting coprime factors of . For each irreducible factor of , choose to be zero modulo . For each factor of , choose nonzero residues satisfying Proposition 6. The reduced matrix in (10) then has rank zero modulo the factors of and rank one modulo the factors of . To obtain exactly, require rank two over for every remaining irreducible factor of . These remainder theorem combines these local conditions into polynomials .
The resulting polynomials need not have low weight. To obtain sparse entries, search among codewords in whose residues satisfy the conditions for the factors of , without imposing rank two at the remaining factors. Additional common factors may then occur, so the gcds must be recomputed. The dimension follows from (13); the minimum distance is determined separately from (6).
Replacing the Generator Matrix
Let . For , replacing by the circulant expansion of preserves orthogonality. The following condition characterizes when it also preserves .
Proposition 7. The row spaces of the circulant expansions of and are equal if and only if
Proof. The row space of the circulant expansion of is , and . The map from onto has kernel . For each , if and only if divides , so the kernel is generated by
Hence , with corresponding to and to . Thus if and only if is a unit in this quotient, which is equivalent to (18).
An admissible preserves the two classical codes and hence , but may change the generator weights. All multipliers used in the examples satisfy (18).
Constructed Codes
The following constructions illustrate how common factors of the minors can be used to control the dimension while the polynomial entries are chosen with low weight. Tables I and II give the parameters and polynomials of the constructed codes. Every row specifies the construction in (10) and (11), with an optional multiplier as in Proposition 7. For an exponent set , the corresponding polynomial is . All exponents start at zero and are reduced modulo . The rows of have low weight, while the rows of are products of entries and are heavier. Table I lists both.
A Code with Parameters
Let and take
Use these polynomials in (10) and (11) with and . Their gcd is
The common gcd of the minors with is , where
Moreover,
Since , these residues satisfy the rank-one condition. It follows that , , and
The binary ranks are and . Every row of has weight 22, and every row of has weight 61.
An explicit nontrivial logical operator is represented by
| Example | ||||||
| 1 | 0.1481 | 0 | 2 | 8 | 11 | |
| 2 | 0.3556 | 4 | 6 | 10 | 19 | |
| 3 | 0.2381 | 5 | 5 | 10 | 21 | |
| 4 | 0.1613 | 5 | 5 | 10 | 25 | |
| 5 | 0.1828 | 5 | 6 | 9 | 22 | |
| 6 | 0.1037 | 4 | 5 | 9 | 24 | |
| 7 | 0.1630 | 4 | 9 | 9 | 30 | |
| 8 | 0.1037 | 4 | 5 | 9 | 22 | |
| 9 | 0.1037 | 4 | 5 | 9 | 32 | |
| 10 | 0.2370 | 10 | 11 | 35 | 38 | |
| 11 | 0.3333 | 17 | 17 | 18 | 38 | |
| 12 | 0.3069 | 18 | 20 | 16 | 63 | |
| 13 | 0.3137 | 24 | 28 | 22 | 61 |
Table 1. Quantum codes obtained from the construction. Parameters and are the row weights of and . All listed minimum distances are exact.
where
This vector has weight 12 and lies in . Appending it to increases the rank from 118 to 119, so it is not in .
The all-ones vector lies in , so every word in has even weight. Exhaustive column-sum enumeration excludes weights two through eight. Any weight ten word has at least four positions in one block, including a pair with cyclic gap at most 21. Up to cyclic shift, there are 63 such pairs. Matching the remaining supports of size four excludes weight ten.
For , let , so that . The words of supported on a single block form for the first and third blocks, and a code of dimension 32 and minimum distance 16 for the second block, since . A nonzero word of weight at most 11 has a block of weight at most three. Fixing this block up to cyclic shift, the other two blocks lie in one of 16 cosets of the product of their single block codes, and the minimum weight of each coset splits over the two blocks. Checking all such cosets, together with the words that have a zero block, shows that has no nonzero word of weight at most 11. Hence . A logical operator of weight 20 gives . Hence
and the code has parameters .
Further Choices of the Common Factors
For Example 12, let and take
The gcd of the minors with is , where
@page 4/6 starts_mid=0 ends_mid=1 Proposition 7. The row spaces of the circulant expansions of and are equal if and only if
Proof. The row space of the circulant expansion of is , and . The map from onto has kernel . For each , if and only if divides , so the kernel is generated by
Hence , with corresponding to and to . Thus if and only if is a unit in this quotient, which is equivalent to (18).
An admissible preserves the two classical codes and hence , but may change the generator weights. All multipliers used in the examples satisfy (18).
Constructed Codes
The following constructions illustrate how common factors of the minors can be used to control the dimension while the polynomial entries are chosen with low weight. Tables I and II give the parameters and polynomials of the constructed codes. Every row specifies the construction in (10) and (11), with an optional multiplier as in Proposition 7. For an exponent set , the corresponding polynomial is . All exponents start at zero and are reduced modulo . The rows of have low weight, while the rows of are products of entries and are heavier. Table I lists both.
A Code with Parameters
Let and take
Use these polynomials in (10) and (11) with and . Their gcd is
The common gcd of the minors with is , where
Moreover,
Since , these residues satisfy the rank-one condition. It follows that , , and
The binary ranks are and . Every row of has weight 22, and every row of has weight 61.
An explicit nontrivial logical operator is represented by
| Example | ||||||
| 1 | 0.1481 | 0 | 2 | 8 | 11 | |
| 2 | 0.3556 | 4 | 6 | 10 | 19 | |
| 3 | 0.2381 | 5 | 5 | 10 | 21 | |
| 4 | 0.1613 | 5 | 5 | 10 | 25 | |
| 5 | 0.1828 | 5 | 6 | 9 | 22 | |
| 6 | 0.1037 | 4 | 5 | 9 | 24 | |
| 7 | 0.1630 | 4 | 9 | 9 | 30 | |
| 8 | 0.1037 | 4 | 5 | 9 | 22 | |
| 9 | 0.1037 | 4 | 5 | 9 | 32 | |
| 10 | 0.2370 | 10 | 11 | 35 | 38 | |
| 11 | 0.3333 | 17 | 17 | 18 | 38 | |
| 12 | 0.3069 | 18 | 20 | 16 | 63 | |
| 13 | 0.3137 | 24 | 28 | 22 | 61 |
Table 1 (PDF p. 4). Quantum codes obtained from the construction. Parameters and are the row weights of and . All listed minimum distances are exact.
where
This vector has weight 12 and lies in . Appending it to increases the rank from 118 to 119, so it is not in .
The all-ones vector lies in , so every word in has even weight. Exhaustive column-sum enumeration excludes weights two through eight. Any weight ten word has at least four positions in one block, including a pair with cyclic gap at most 21. Up to cyclic shift, there are 63 such pairs. Matching the remaining supports of size four excludes weight ten.
For , let , so that . The words of supported on a single block form for the first and third blocks, and a code of dimension 32 and minimum distance 16 for the second block, since . A nonzero word of weight at most 11 has a block of weight at most three. Fixing this block up to cyclic shift, the other two blocks lie in one of 16 cosets of the product of their single block codes, and the minimum weight of each coset splits over the two blocks. Checking all such cosets, together with the words that have a zero block, shows that has no nonzero word of weight at most 11. Hence . A logical operator of weight 20 gives . Hence
and the code has parameters .
Further Choices of the Common Factors
For Example 12, let and take
The gcd of the minors with is , where
The support of each nonconstant multiplier is given below. Each satisfies (18).
Unlike Example 13, Example 12 uses distinct nonzero residues modulo :
Since , the residues satisfy (16) with . Hence
The binary ranks are 88 and 43. The row weights of and are 16 and 63, respectively, with .
The support
defines a weight 10 vector in (coordinates start at zero). Exhaustive support enumeration excludes nontrivial operators of weight at most eight. The all-ones vector lies in the row space of , excluding odd weights. For , the words of supported on a single block form , of minimum distance 16, for the first and second blocks, and a code of dimension 21 and minimum distance 12 for the third block. Fixing a block of weight at most three, as in Example 13, shows that has no nonzero word of weight at most 11. A logical operator of weight 12 supported on the third block, for example the support , attains the bound. Thus , , giving .
Example 11 has and of degree 17. Thus and the rate is . The three polynomials in Table 2 each have weight six. The multiplier gives a generator of the same with row weight 38. The exact and distances are and , giving .
| Example | ||||||
| 1 | 9 | 0 | 1 | |||
| 2 | 15 | 0 | 1 | |||
| 3 | 21 | 0 | ||||
| 4 | 31 | 0 | ||||
| 5 | 31 | 0 | 1 | |||
| 6 | 45 | 0 | 1 | |||
| 7 | 45 | 0 | 1 | |||
| 8 | 45 | 42 | 1 | |||
| 9 | 45 | 1 | 1 | |||
| 10 | 45 | 0 | ||||
| 11 | 51 | 0 | ||||
| 12 | 63 | 0 | 1 | |||
| 13 | 85 | 0 | 1 |
Table 2. Polynomial entries. The entries in each set are the exponents with nonzero coefficients.
Finally, for Example 10, , , and , so . The multiplier preserves and gives row weight 38. The exact distances and give . For both examples, exhaustive support enumeration and affine-class calculations establish the and lower bounds, respectively. Explicit operators attain them.
Choosing Codewords of Small Weight
To find low-weight multiples of , group small sets of exponents by their remainders modulo . For an exponent set , let
If , then
Repeated exponents cancel. Sets of sizes three and three yield a codeword of weight at most six, while sizes two and three yield weight at most five. This method produces the entries in Examples 11 and 12. For Example 12, residues are selected modulo , followed by verification of the gcds and distances.
Conclusion
Polynomial minors of a matrix give an explicit inclusion and hence a CSS quantum code of length . For odd , the common factors of the entries and of the polynomials determine the dimension, and residue conditions on the polynomials can be used to reach a target dimension. The resulting codes include and , with verified exact minimum distances. The rows of are heavier than those of . Multipliers that preserve the code can reduce this weight, and constructions with low weight in both matrices, and their decoding performance, are left for future work.
ACKNOWLEDGEMENT
This material is based upon work supported by the National Science Foundation under Grant No. CCF-2145917.
References
References
- [1]A. R. Calderbank and P. W. Shor, “Good quantum error-correcting codes exist,” Physical Review A, vol. 54, no. 2, p. 1098, 1996.pubmed.ncbi.nlm.nih.gov/9913578
- [2]A. Steane, “Multiple-particle interference and quantum error correction,” Proceedings: Mathematical, Physical and Engineering Sciences, pp. 2551–2577, 1996.
- [3]R. Smarandache, A. Gómez-Fonseca, and D. G. Mitchell, “Using minors to construct generator matrices for quasi-cyclic LDPC codes,” Proc. IEEE International Symposium on Information Theory (ISIT), pp. 548–553, 2022.
- [4]R. Smarandache, A. Gómez-Fonseca, and D. G. Mitchell, “Generalized quasi-cyclic LDPC codes: Design and efficient encoding,” Proc. IEEE International Symposium on Information Theory (ISIT), pp. 434–439, 2024.arxiv.org/abs/2508.07030
- [5]D. J. MacKay, G. Mitchison, and P. L. McFadden, “Sparse-graph codes for quantum error correction,” IEEE Transactions on Information Theory, vol. 50, no. 10, pp. 2315–2330, 2004.DOI
- [6]A. A. Kovalev and L. P. Pryadko, “Quantum Kronecker sum-product low-density parity-check codes with finite rate,” Physical Review A—Atomic, Molecular, and Optical Physics, vol. 88, no. 1, p. 012311, 2013.DOI
- [7]K. Kasai, M. Hagiwara, H. Imai, and K. Sakanawa, “Quantum error correction beyond the bounded distance decoding limit,” IEEE Transactions on Information Theory, vol. 58, no. 2, pp. 1223–1230, 2012.
- [8]P. Panteleev and G. Kalachev, “Quantum LDPC codes with almost linear minimum distance,” IEEE Transactions on Information Theory, vol. 68, no. 1, pp. 213–229, 2022.DOI
- [9]H.-K. Lin and L. P. Pryadko, “Quantum two-block group algebra codes,” Physical Review A, vol. 109, no. 2, p. 022407, 2024.arxiv.org/abs/2306.16400
- [10]S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, “High-threshold and low-overhead fault-tolerant quantum memory,” Nature, vol. 627, no. 8005, pp. 778–782, 2024.DOI
- [11]V. Nourozi, D. G. M. Mitchell, and T. Koike-Akino, “Base-Preserving APM/Voltage Lifts of Bivariate Bicyclic Quantum LDPC Codes,” in IEEE International Conference on Quantum Computing and Engineering (QCE), Sep. 2026.
- [12]V. Nourozi, D. G. M. Mitchell, and T. Koike-Akino, “Q-Learning Base Search Voltage-Labeled Covers for Weight-Six Bivariate-Bicycle Quantum LDPC Codes,” in Proc. IEEE International Conference on Quantum Computing and Engineering (QCE), Sep. 2026.
- [13]V. Nourozi, M. Moradi, R. Smarandache, and D. G. M. Mitchell, “Lifted-product QLDPC codes in the polynomial domain,” arXiv preprint arXiv:2609.01305, 2026.
- [14]V. Nourozi, D. G. M. Mitchell, and T. Koike-Akino, “Net-Voltage Screening of Bivariate-Bicycle Tanner-Graph Covers,” in Proc. IEEE International Conference on Quantum Computing and Engineering (QCE), Sep. 2026.
- [15]R. Smarandache, D. G. Mitchell, and A. Gómez-Fonseca, “Structural analysis of generalized quasi-cyclic LDPC codes: Rank, design, and generator matrices,” IEEE Transactions on Information Theory, vol. 72, no. 1, pp. 253–267, 2026.DOI
- [16]R. Smarandache and P. O. Vontobel, “Quasi-cyclic LDPC codes: Influence of proto- and Tanner-graph structure on minimum hamming distance upper bounds,” IEEE Transactions on Information Theory, vol. 58, no. 2, pp. 585–607, 2012.DOI