arXiv:2609.35601quant-phSep 2026

Manuscript Offprint

arXiv:2609.35601

Low-Weight Canonical Logical Bases from Pair-Partition Codes

Koki Okada, Kenta Kasai

Abstract

We construct complete canonical logical bases for qubit CSS codes by assigning quaternary coefficients to binary circulant permutation matrix pair-partition (CPM–PP) checks, constructing and normalizing logical representatives, and expanding the result into binary matrices. When the two check systems have invertible submatrices on disjoint column sets, cofactor representatives are canonically paired by the inverse of a single pairing polynomial. The resulting pairs span the entire logical space. When the pairing polynomial is a cyclic-shift monomial with coefficient one, normalization preserves the binary weights of the representatives. We state the construction for general block dimensions and CPM size, work through a corresponding example, and report the parameters, check ranks, and basis weights of seven binary codes. Representative examples have parameters [[320, 80, 14]], [[448, 112, 18]], and [[2048, 512, 24]]. All three have maximum check weight 10 on both the X and Z sides. Their canonical logical representatives have binary weights 25, 27, and 27, respectively, on both the X and Z sides.

1 Introduction

Let HX∈F2mX×nH_X \in \mathbb{F}_2^{m_X \times n} and HZ∈F2mZ×nH_Z \in \mathbb{F}_2^{m_Z \times n} be the binary check matrices of a CSS code [1, 2], satisfying HXHZT=0H_X H_Z^T = 0. Here n,mX,mZ∈Z>0n, m_X, m_Z \in \mathbb{Z}_{>0}, and the number of logical qubits is k=n−rankHX−rankHZk = n - \text{rank} H_X - \text{rank} H_Z. Our objective is to construct kk row representatives on each side, arranged as LX,LZ∈F2k×nL_X, L_Z \in \mathbb{F}_2^{k \times n}, such that

HZLXT=0,HXLZT=0,LXLZT=Ik(1)H_{Z}L_{X}^{T}=0,\qquad H_{X}L_{Z}^{T}=0,\qquad L_{X}L_{Z}^{T}=I_{k} \tag{1}

The first two identities ensure that the representatives commute with the checks and preserve the code space. The last means that matching logical X and Z representatives anticommute, while those with different indices commute. Thus the rows specify physical X and Z operators for each encoded qubit. A basis is complete when it contains all k independent logical pairs. Such pairs can be obtained by linear algebra from the standard form of a stabilizer code [3, Sec. 4.1]. We give a polynomial construction that retains the cyclic structure of the checks.

Quasi-cyclic quantum LDPC constructions use circulant permutation matrices (CPMs) to specify paired sparse checks with controlled block dimensions [8]. A subsequent construction assigns nonbinary coefficients to binary checks and replaces the resulting field elements by binary multiplication matrices [9, Secs. II-B and II-C]. The CPM–PP construction specifies commuting checks through pair partitions and matching exponent differences [7, Secs. II-B and II-C]. These methods determine the check matrices. For logical representatives, the standard-form method above gives canonical pairs, while cofactor constructions for quasi-cyclic codes provide polynomial kernel vectors [5, Lemma 6].

The framework in [4, Secs. II and VII] treats the choice of representatives for all logical degrees of freedom, and their X/Z pairing, as design tasks alongside the construction of check matrices. Cyclic shifts of short seeds need not span the full logical space [4, Sec. VII.3]. This motivates a construction that establishes the kernel conditions, canonical pairing, and completeness together.

We give such a construction when the two check systems admit invertible submatrices on disjoint column sets. Cofactor seeds then have a common scalar polynomial pairing, whose inverse normalizes all logical pairs. The invertible submatrices determine the check ranks, so the number of pairs can be shown to equal the full logical dimension. We apply this condition to quaternary coefficients on CPM–PP checks and retain the polynomial description through binary expansion. The resulting explicit bases realize the completeness and canonical-pairing objectives in [4].

The coefficient assignment is essential to the invertibility condition for a fully populated binary CPM array with J > 1. Evaluating its monomial entries at z = 1 gives an all-one matrix, so every J×JJ \times J minor has determinant zero at z = 1 and cannot be a unit. This obstruction is related to the trivial-packet rank deficiency discussed in [4, Sec. VII.3]. Quaternary coefficients can remove it while preserving commutation. The final binary code has length 2LP; it is a new code constructed from the original length-LP PP checks. Weight preservation during canonicalization is guaranteed here by the additional pure-shift condition on g in (14), which all seven examples satisfy. The tradeoff is an increase in binary check weight: in the worked example, row weight rises from 8 in the initial binary CPM–PP checks to 10 after quaternary coefficient assignment and companion-matrix expansion. Ease of basis construction must therefore be considered together with the number of qubits involved in each check.

Section 2 gives the four-stage construction for general J, L, P and outlines its proof. Section 3 applies the stages with J = 3, L = 8, P = 20 and reports seven code instances and their canonical logical bases. The coefficient field is fixed to F4F_4.