Manuscript Offprint
arXiv:2610.09341Building codes with transversal CCZ using projective geometry and SAT solvers
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Bohan Lu and Kenneth R. Brown
Duke Quantum Center, Duke University, Durham, NC 27701, USA
Department of Electrical and Computer Engineering, Duke University, Durham, NC 27708, USA
Department of Physics, Duke University, Durham, NC 27708, USA
Department of Chemistry, Duke University, Durham, NC 27708, USA
We construct CSS codes with three logical qubits whose logical CCZ gate is implemented by transversal physical gates and whose distance is at least 3. These codes start with 8-divisible X-stabilizers defined by projective geometry, which guarantees . A SAT solver then finds three X-logical operators compatible with the transversal CCZ. We build codes at thirteen block lengths from to , with or 4, and illustrate the method with the code . Additionally, we prove that no CSS code with three logical qubits, Z-distance at least 3, and a quasi-transversal CCZ gate (transversal T with a diagonal Clifford correction) exists below . The code of Jacinto et al. serves as an upper bound, leaving open.
1 Introduction
Fault-tolerant quantum computation requires non-Clifford logical gates. Magic-state distillation remains the standard route to such gates, but it introduces a substantial space-time overhead [1–3]. Transversal-gate constructions address the overhead by designing codes whose physical phase rotations implement a desired logical diagonal gate directly [4–6]. Examples include color-code and topological constructions [7, 8] and CSS-T codes [9, 10]. Hu, Liang, and Calderbank characterize diagonal gates on CSS codes [11]. Rengaswamy et al. give necessary conditions for fixed physical patterns on stabilizer codes [12, Thm. 6], and Campbell and Howard give sufficient overlap conditions for CCZ [4]. Related CSS constructions use the diagonal Clifford hierarchy or divisible coset weights [13, 14]. Concurrent work develops codes over binary extension fields [15]. For a single logical qubit and the T gate, the shortest known such codes are the divisible and triorthogonal families of [16]. A recurring requirement in these constructions is that the code generated by the X-type stabilizers be triply even, meaning every codeword weight is a multiple of 8 [17]. Such a code is also called 8-divisible, and the two terms are used interchangeably.
The present work focuses on finding Calderbank-Shor-Steane (CSS) codes with three logical qubits that implement a non-Clifford logical CCZ gate by physical and rotations applied directly to the data block of a distance-d code. A CSS code is specified by
Bohan Lu: bohan.lu@duke.edu nested classical binary codes
Here the rows of generate the -type stabilizers, the rows of represent the -logical generators, and the columns index the physical qubits. The quantity is the stabilizer rank. For a binary vector or Boolean function , denotes its Hamming weight, and for a set , denotes its cardinality. The -logicals are the vectors of and the -logicals those of , so the code distances are and .
Throughout the paper, denotes the classical code and S denotes only its chosen generator matrix.
The logical computational-basis state with label is the uniform superposition over the coset of in ,
following the notation of Campbell and Howard [4]. Applying to multiplies the term indexed by by with , so a diagonal gate's logical action is governed by . The Bravyi–Haah parity identity [1, 4, 18] decomposes this weight mod 8 into single-row weights, pairwise overlaps and triple overlaps: for any full-rank with rows and any , with ranging over all rows of ,
(2)
where is the overlap (shared support) of two rows, and similarly for triple overlaps .
For a target diagonal gate , we consider the case where a diagonal Clifford correction , applied after the transversal rotations, i.e. , realizes logical on the codespace. For on logical qubits the target is , and the constraint reads
where the function h collects the phases contributed by C: a linear term for each S-gate and a quadratic term for each CZ-gate. h is explicitly defined in Eq. (13). Two regimes are considered:
-
quasi-transversal CCZ [4]: C is any diagonal Clifford, so the correction may still contain entangling CZ gates on pairs of qubits and gates acting on the logical qubits.
-
single-qubit transversal CCZ (Definition 3.4) is implemented by a physical pattern. Equivalently, apply followed by on selected qubits, using .
Equation (3) fixes the undetermined coefficients of (2), one monomial of degree at a time, yielding nine conditions on the row overlaps of G, i.e. the Campbell–Howard (CH)
| Label | Condition |
|---|---|
| K1 | |
| K2 | |
| K3 | |
| KS1 | |
| KS2 | |
| KS3 | |
| S1 | |
| S2 | |
| S3 |
Table 1: The nine Campbell–Howard conditions [4], grouped like the rows of : conditions on logical rows (K1–K3), conditions mixing logical and stabilizer rows (KS1–KS3), and conditions on stabilizer rows (S1–S3). Indices range over and . K3 is the single odd parity.
conditions [4]. The conditions are necessary as well as sufficient (Theorem 3.3). Table 1 lists all nine conditions.
Classical coding theory constructs codes from finite geometry by indexing code coordinates with points over a finite field and deriving weight properties from intersections with subspaces [19, 20]. The construction uses the binary projective geometry , the distinct nonzero vectors of .
An 8-divisible satisfies the stabilizer-only CH conditions, and choosing with distinct nonzero columns guarantees for every choice of logical rows since every weight-1 error has a distinct syndrome.
The logical -row search is encoded as a Boolean satisfiability (SAT) problem. Because is fixed and already guarantees , the SAT encoding has no distance constraints, and S1–S3 impose no constraints on the logical labels. The remaining conditions give Boolean label variables and parity constraints: respectively, K1, K2, K3, KS1, KS2, and KS3. Jacinto et al. [21] use SAT to find compact magic-state distillation protocols and to prove lower bounds on their qubit count. The present work complements theirs: the SAT search here targets a transversal CCZ gate in place of a distillation protocol, and fixing in advance removes all distance constraints from the encoding.
For FG48, the resulting matrix generates the single-qubit transversal code , a new [[48, 3, 3]] CSS code with equal to FG48, whose logical CCZ is implemented by physical and rotations. We encode the geometric construction with the column indicator of and the logical-row search with the column indicator of . Nezami and Haah introduced this indicator-polynomial representation to classify small triorthogonal codes [18].
Furthermore, we prove that no CSS code with and satisfying the nine CH conditions exists at length , with any number of -stabilizer generators (Theorem 4.5). The CH conditions involving only stabilizer generators limit the valid
Lemma A.1 states the exact identity over Z. Terms of degree 4 have coefficients divisible by 8, so (2) is the exact truncation modulo 8.
block lengths to the weight spectrum of a Reed–Muller code, and each admissible length is then decided exactly. The [47, 3, 3] of Jacinto et al. [21] is the smallest known code of this class and is the smallest known single-qubit transversal one. The 47-qubit code admits no physical pattern implementing logical CCZ (Example 3.7). Section 2 gives the geometric construction, Section 3 the single-qubit transversal criteria, Section 4 the length lower bound, and Section 5 summarizes our results and lists open problems, including finding a valid code in the gap between lengths . The appendices contain the search details and deferred proofs.
(4)
Conditions S1–S3 only impose the conditions mod 2. Codes satisfying these conditions without being 8-divisible are known [16, 18].
By imposing 8-divisibility, we can borrow from classical constructions. Divisible codes are a well-developed subject [22], and two-weight codes from subspace complements are among the simplest ways to produce one. The stabilizer support is then fixed by geometry rather than found by search, while the logical rows and physical signs remain to be chosen.
8-divisibility is the first of two requirements this section places on . The second is the distance requirement , which we now reduce to a condition on the columns of .
Write each column of as a pair , where is its logical label (the column of ) and is its syndrome (the column of , i.e. the X-stabilizer syndrome of a error on that qubit). The -logicals are (Section 1), so the -distance is
the minimum weight of a vector with zero syndrome and nonzero logical label.
Lemma 2.1 (Multiplicity-free support = ). The following are equivalent: (a) ; (b) no column has with , and no two columns share the same nonzero with different labels . A support satisfying (b) is called multiplicity-free.
Proof. A Z error of weight at most two is determined by its support columns. For such v, the syndrome Sv and label Kv are the sums of at most two columns, and means some such string satisfies with . The only candidates are
So a weight-one Z-logical is a column with zero syndrome but nonzero label, and a weight-two Z-logical is a pair of columns sharing a syndrome but not a label. Condition (b) forbids exactly these two configurations, hence is equivalent to , which is (a).
The code is called projective when the columns of its generator matrix are distinct and nonzero, equivalently when . The columns then form a projective set of points, where we write for the set of nonzero vectors of . Projectivity excludes both failures in Lemma 2.1, so it guarantees for every choice of . For the existence and length-lower-bound searches, it is enough to consider projective . Every with satisfying the nine CH conditions can be punctured, by deleting a zero column or a repeated pair of columns, to one that contains a projective . The punctured code satisfies the same nine CH conditions, , and possesses the same number of logicals (see Lemma D.1, Appendix D.1). The search therefore fixes a projective and varies only the logical rows .
FG48 and its subspace-complement family are constructed from projective geometry [22, §2], where codeword weights are read from hyperplane sections. A nonzero vector selects the codeword , whose -th coordinate is the dot product . The same defines the hyperplane , and the points of lying on it form the hyperplane section . A hyperplane of has points (31 when ). Coordinate is nonzero exactly when lies outside , so
The code is two-weight when only two distinct nonzero codeword weights occur [24, 25]. By (6) this is the same as the hyperplane sections taking only two distinct sizes [22, Thm. 2.18]. One way to construct such two-weight point sets is by using complements of subspaces, defined below:
Definition 2.2 (Subspace complements [25, §19.7.1]). For a p-dimensional vector subspace (so ), the subspace-complement point set is
the projective points of not in (see Calderbank–Kantor [24] for this family’s place in the two-weight literature).
Set in Definition 2.2. Removing the 15 nonzero points of a four-dimensional subspace, a solid PG(3,2), from the 63 points of PG(5,2) leaves 48 points. The classical code with these 48 points as columns is denoted .
Proposition 2.3 (Uniqueness of the projective 8-divisible [48,6] code [22, 24, 25]). Up to a permutation of coordinates, the only projective 8-divisible [48,6] code is FG48, the two-weight complement of a solid, with column set PG(5,2) \ PG(3,2), the code of .
Proof. The 48 columns of occupy 48 of the 63 points of PG(5,2), missing 15. Each hyperplane has 31 points, so it meets the column set in at least 31 - 15 = 16 points and at most 31. By (6) the nonzero codeword has weight 48 minus this section size, and 8-divisibility forces the section size to be a multiple of 8. In the range [16, 31] the only multiples of 8 are 16 and 24, giving codeword weights 32 and 24.
To determine how many hyperplanes give each weight, we count incidences in two ways. There are 63 hyperplanes in PG(5,2) (one per nonzero ), and each of the 48 points lies on 31 of them. For , let be the number of hyperplanes whose intersection with the 48-point column set has size . Then
The deleted subspace has dimension exactly , forced by , and a generic 15-point deletion would not be 8-divisible. FG48 is the binary member of Calderbank–Kantor’s subspace-complement family, Example SU1 (complement of a p-dimensional subspace of , here , cited in the proof of Proposition 2.3). Two-weight codes are a broad class with several unrelated families.
so and . Thus, our code has 3 codewords of weight 32 and 60 codewords of weight 24.
Every projective 8-divisible [48, 6] code has this enumerator. The solid complement of Definition 2.2 attains it (Calderbank–Kantor Example SU1 [24, §7]), and among projective codes the enumerator has no other realization, by the classification of projective 8-divisible codes of length at most 48 [17, 22, 26].
To write an explicit generator matrix for FG48, we choose coordinates with the removed subspace given by . The surviving points have and split into three cosets, one for each nonzero value of . Ordering the columns of coset by coset, and within each coset by the 16 values of , gives (7). The columns of are the 16 vectors of , written as the binary expansions of with the least significant bit in the top row, while the bottom two rows record the three coset labels :
The six rows of are independent coordinate functions on the surviving points and form a basis of . The two nonzero weights arise from whether the hyperplane of the codeword in (6) contains the removed subspace .
Corollary 2.4 (Block form of a subspace complement code). Let be a p-dimensional subspace of . Set and let send each to its coset . Choose coordinates on , with along and . The generator matrix of the code with column set then admits the block form
where blocks are indexed by the nonzero vectors , and the top rows repeat the block matrix listing all vectors of in each block. Here is the block whose every column equals , so all columns of block carry the same coset label. The block length is .
Proposition 2.3 determines once 8-divisibility is imposed. A classical support determines neither the logical rows nor the physical gate pattern needed to implement the target logical gate. Section 3 constructs the logical rows and physical signs for FG48.
3 CCZ conditions and a 48-qubit example
3.1 CH conditions and column indicators
Section 2 treated the columns of as a projective point set and computed codeword weights from sums over those columns. The same column picture applies to the full generator matrix . The CH conditions become parity sums over columns in , which can be captured by column indicator polynomials. Membership of these indicator polynomials in certain Reed–Muller code cosets will also be characterized, following the methodology of [18]. The notation denotes the binary Reed–Muller code of order and length , namely the evaluations on of polynomials of degree at most .
Definition 3.1 (Column indicator). Let be a binary matrix with rows and pairwise distinct columns, and let be its set of columns. The column indicator of is the Boolean function
For a Boolean polynomial or function , its Hamming weight is the number of inputs at which equals 1, equivalently the Hamming weight of its evaluation vector. Hence the same notation applies when represents an evaluation vector in a Reed–Muller code or coset. In particular, , which equals the number of columns because the columns are distinct. Note every Boolean function on has a unique multilinear expansion
and its degree is the largest with . If has degree , then it belongs to the Reed–Muller code .
For the stabilizer matrix , the ambient dimension is . Write for its indicator, whose support is the projective point set of Section 2. Consequently, and . For the full generator matrix , the ambient dimension is , and we write for its indicator. Since the stabilizer columns are distinct, so are the columns of , and the indicator records faithfully.
Equation (6) computes a codeword weight by summing a linear function over P. For the full generator matrix G, each CH condition instead sums a monomial of degree at most three over the columns and retains only the parity. For Boolean functions f, g on , define [4]
In Boolean algebra and in SAT encodings, a sum mod 2 i.e the parity, is the XOR, denoted . For the linear function , the inner product counts the parity of the points of outside the hyperplane . Hence the degree-one case recovers the parity of the hyperplane count in (6).
For a nonempty set of at most three rows, let and index its logical and stabilizer rows. Define
On a column of , exactly when every selected row has entry 1. Consequently, counts their overlap modulo two. Note that the factorization comes only from partitioning the selected rows into the and rows and no factorization of is assumed.
Each CH condition is such an inner product for a set of at most three rows. Define the label map by assigning to each stabilizer column the three entries of above it. Lemma 2.1 ensures that each column has one such label. In terms of , the CH conditions read
To sum over all nonzero rather than only , set for . Multiplying by makes every term outside zero, so Equation (8) becomes
For the three stabilizer-only conditions S1–S3, , so and the label map drops out.
Appendix B describes how the logical rows are found for a fixed support. For a fixed support and two logical rows satisfying the pair tests (36), the remaining equations become linear in . Algorithm 1 uses this fact to test each pair of logical rows by solving a linear system for the third.
Lemma 3.2 below expresses every solution of the CH equations as a member of a Reed–Muller coset.
Lemma 3.2. Write . Let be the indicator of the origin of . Fix with , orthogonal to all monomials of degree below three and all other degree-three monomials. The CH conditions force the indicator to belong to a coset of ,
which does not depend on the choice of .
The proof of Lemma 3.2 is given in Appendix C.1.
For three logical rows, the function on is one special solution. The function equals 1 exactly at the 8 points with , where . Hence, for every with ,
which equals 1 only for . At even length, the term vanishes, so (10) gives . Hence , with as its only degree-s term.
Represent a column of by . The last coordinates are the block coordinates of Corollary 2.4, and the first three coordinates are the logical label . Thus, for a column with label and syndrome , the coordinate functions satisfy and .
The support factor selects the occupied stabilizer columns. For each selected column, the factor indexed by enforces , so the product is the column indicator of :
Example (The indicator of ). Corollary 2.4 identifies the stabilizer columns with the points for which , with every occurring for each such . Hence is independent of . Writing , :
| (1,0) | |||
| (0,1) | |||
| (1,1) |
Table 2: The label map of in the block coordinates , one row per nonzero coset. With of (12) these are the two factors of the indicator (11), and their product reproduces at every point of .
For () this is , of degree 2.
For each nonzero block , the label map of is quadratic in the coordinates . Table 2 lists on each of the three blocks, one row per block. The rows are the output of Algorithm 1.
Equation (8) separates the roles of the nine CH conditions. Conditions S1–S3 depend only on the projective point set . Conditions K1–K3 constrain the parities of the numbers of columns carrying each logical label. The label map appears in KS1–KS3 and identifies where those labels occur.
For , Equation (12) gives a stabilizer indicator of degree 2, while the even-length consequence of (10) gives a full indicator of degree 6. The degree of the indicator of still does not determine the physical gate pattern. The next subsection determines that pattern.
3.2 CCZ criteria and the 48-qubit sign pattern
For the physical gate and logical CCZ considered here, comparing coefficients in (3) yields the nine conditions of Table 1.
Theorem 3.3. Let be the generator matrix of a CSS code.
(i) Sufficiency [4]. If satisfies the CH conditions, then realizes logical CCZ for some diagonal Clifford correction , a product of and CZ gates.
(ii) Necessity [11, Thm. 7, Rem. 8, and Thm. 9]. Conversely, if realizes logical CCZ for some diagonal Clifford , then satisfies all nine conditions.
Proof sketch of necessity. Substitute the parity identity (2) into the demand (3) and compare the coefficient of each monomial of degree in . Set . The diagonal correction contributes , where
Here are the -gate phases, the CZ-gate phases, and all arithmetic is mod 8. The correction can absorb any multiple of 2 at degree one and any multiple of 4 at degree two, and nothing at degree three [18, App. A]. The proof of Theorem 3.3 in Appendix C.2 proves this from the parity identity (2). So the logical gate is CCZ exactly when every residual coefficient vanishes and the cubic coefficient of is 4. Imposing that on one monomial of degree at most three at a time, and discarding the coefficients the correction absorbs, leaves exactly the nine parities of Table 1 [4].
A product of single-qubit gates cannot spread an error between qubits. We consider a physical pattern specified by , with +1 for and -1 for . Since , the pattern is followed by on the qubits with . For , no correction is applied.
Applying a specific pattern to a codeword defines a signed weight. Interpret each coordinate as the integer 0 or 1. For a sign vector ,
the Hamming weight with each coordinate counted with its sign. Signed weight replaces the Hamming weight of (2) whenever the pattern mixes and .
Definition 3.4 ( implementation). admits a implementation of CCZ if there is with
with the signed weight of (14). Such an implementation is called single-qubit transversal.
Checking Definition 3.4 need not require evaluating every codeword. Replacing the Hamming weight in Equation (2) by the signed weight (14) gives the following equivalent row conditions for Equation (15).
Proposition 3.5. The pattern specified by is single-qubit transversal if and only if, for every row , every pair of distinct rows , and every triple of distinct rows ,
(16)
Moreover, the conditions above that contain a stabilizer row make the signed weight independent of the stabilizers: if they hold, then
for every and .
Once the conditions involving a stabilizer row hold, Equation (17) reduces the check of Equation (15) to the eight logical inputs at .
The proof is given in Appendix C.3.
Write with . The first and second conditions in Equation (16) then become
for every row g and pair of distinct rows . Since ,
The CH conditions therefore imply the third line of Equation (16) for every choice of .
Substituting directly into (15) gives a system mod 4 whose binary solutions are exactly the single-qubit transversal patterns, as shown in the following Corollary.
Corollary 3.6. Let satisfy the nine CH conditions of Table 1. Then G admits a implementation of CCZ (Definition 3.4) if and only if the system
has a solution with for all .
Proof. Write with . Then , and condition (15) reads . Conditions K1 and S1 make every generator row, and hence every codeword , even. Both sides of Equation (15) are therefore even, and division by 2 gives (19). The left side is linear over in , and the right side is a constant for each codeword.
Step 5 of Algorithm 1 solves (19) for a binary and accepts a code only when a solution exists (Appendix B). The code of satisfies the CH conditions but fails this test:
Example 3.7. The code of satisfies the nine CH conditions ( , , , projective support). For it, Equation (19) is a -linear system in 47 unknowns, one equation per codeword, and elimination over shows it inconsistent. So the code admits no implementation of transversal CCZ, and any diagonal Clifford correction for it needs entangling CZ gates.
For FG48, the following identity reduces the signed-weight calculation to Hamming weights on the three coset blocks of Corollary 2.4.
Proposition 3.8. Let , and let and be the restrictions of and the flip vector to block of Corollary 2.4. If , then
Thus the pattern specified by is single-qubit transversal if and only if, for every ,
If all conditions in Proposition 3.5 that contain a stabilizer row hold, the left hand side is independent of modulo 8, and it suffices to check the following equation for the eight :
Equations (20)–(22) apply to the Boolean block restrictions and with no degree restriction.
To apply Proposition 3.8 to FG48, take from (7) and the logical rows K from Table 2. The resulting has rank , rank , , and .
With the stabilizer rows and logical rows fixed, we choose the exponents by solving Equation (19) for the flip vector . The polynomial below specifies this vector.
Proposition 3.9. Index the columns of by their coordinates of (7), writing for the four rows of A and w for the coset label. The pattern of
is obtained by evaluating the following polynomial. Write for the evaluation map .
The flip vector is . The flip vector has weight 22. The resulting pattern is a single-qubit transversal implementation of logical CCZ for .
The proof is given in Appendix C.5.

Figure 1: The pattern of in closed form (Proposition 3.9). The three panels show the flip vector on the three cosets of (7). Each panel lists the 16 points of one coset, rows indexed by and columns by , with at and at . The flip counts are 6, 6, 10, resulting in a total of and .
The code is not an isolated example. Building from a larger subspace complement, as in Corollary 2.4, also admits CSS codes with a implementation of logical CCZ. Table 3 lists, for each with , the codes of this kind that we found. Each of these codes pairs the subspace-complement matrix of Corollary 2.4 with three logical rows that satisfy the CH conditions. For , the SAT encoding of Section 1 found the logical rows. For the longer codes, the logical rows come from structured label maps (explicit polynomials in the block coordinates , and maps invariant under a cyclic symmetry of the support), from random label maps of low degree, and from lifts of codes on smaller supports. A candidate was kept when it satisfied the CH conditions and Equation (19) had a binary solution. The exhaustive pair enumeration of Algorithm 1 was not used for these codes.
The stabilizer code FG48 is unique by Proposition 2.3, but the logical rows are not. FG48 has exactly two inequivalent sets of compatible rows with a single-qubit transversal CCZ, and is one of them. For the other supports the numbers of inequivalent codes are lower bounds. Supports with do not admit any valid code. The supports with and have and are excluded by Theorem 4.5.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 4 | none | 2 codes* | 12 codes | 17 codes | 18 codes |
| 5 | none | 11 codes | 8 codes | 14 codes | |
| 6 | 5 codes | 14 codes | 13 codes | ||
| 7 | 3 codes | 18 codes | |||
| 8 | 3 codes |
Table 3: CSS codes with a implementation of logical CCZ whose stabilizer code is the subspace complement of Corollary 2.4, for . Each cell gives the parameters , where , and the number of inequivalent codes found. Two codes count as inequivalent when their distances or the weight enumerators of their codes differ. The count marked is complete, and the others are lower bounds. “None” marks the supports excluded by Theorem 4.5.
In Section 4, we use the nine CH conditions to derive a lower bound on block-length.
4 A length lower bound
For the logical gate, Koutsioumpas, Banfield, and Kay prove the analogous statement that the 15-qubit Reed–Muller code is the smallest distance-3 code with a transversal non-Clifford gate [27]. Here, we show that no CSS code with and satisfies the nine CH conditions at any length and any stabilizer rank (Table 4).
| lengths | nine CH conditions | evidence |
|---|---|---|
| met by no code | Theorem 4.5 | |
| open | Section 4.2 | |
| met, no implementation | Example 3.7 | |
| met, implementation |
Table 4: Lengths settled by the lower bound and the two nearest comparison points.
To exclude smaller codes, we first restrict the possible stabilizer supports using S1–S3, then ask whether any choice of logical rows satisfies K1–K3 and KS1–KS3. Distinct nonzero stabilizer columns guarantee by Lemma 2.1. For , Lemma 4.4 reduces the problem to . Appendix D.4 covers the supports at these ranks and shows that none admits logical rows satisfying all six remaining CH conditions.
4.1 Admissible block lengths
We first discuss constraints on the block length by conditions S1–S3.
Theorem 4.1 (Admissible block lengths). Conditions S1–S3 hold if and only if or for some , where is the indicator of the origin, that is, . The lengths allowed by S1–S3 together with are exactly for satisfying
The proof is given in Appendix D.2.1.
| s | Reed-Muller code | relevant | candidate | source |
|---|---|---|---|---|
| 5 | RM(1, 5) | 16, 32 | 15, 16, 31 | [28, Ch. 13] |
| 6 | RM(2, 6) | 16, 24, 28, 32, 36 | 15, 16, 23, 24, 27, 28, 31, 32, 35, 36 | [29] |
| 7 | RM(3, 7) | 16, 24, 28, 32, 36 | 15, 16, 23, 24, 27, 28, 31, 32, 35, 36 | [30–32] |
Table 5: Relevant Reed–Muller weights and the candidate block lengths obtained from Theorem 4.1. Every omitted length at in the range is excluded by S1–S3. A listed length has stabilizer rank only when its support spans .
The row follows from the weights of first-order Reed–Muller codewords. The closed weight-enumerator formula for second-order Reed–Muller codes gives the row [29]. For , three sources cover three ranges of weights. Kasami–Tokura [30] determine the weights of RM(3, 7) below , which are 16, 24, and 28. Ax's theorem [32, Sec. 4.1.5] makes every weight of RM(3, 7) divisible by 4, so 32 and 36 are the only possible weights from 32 to 39. Kasami–Tokura–Azumi [31] classify the codewords of weight below , which supplies the normal forms at these weights used in Appendix D.4.
The candidate column of Table 5 lists, for each weight , the lengths and given by Theorem 4.1. Lemma 4.2 excludes because K3 is unsatisfiable on the supports defined below.
Lemma 4.2. Call a set an affine flat of dimension if it equals for a vector and an -dimensional linear subspace (so the set has elements). If the support is an affine flat of dimension , or such a flat with the origin deleted, no label map satisfies the CH conditions, at any stabilizer rank . In particular, are excluded uniformly in .
The proof is given in Appendix D.2.3.
4.2 Excluding lengths below 39
Proposition 4.3 (Stabilizer-rank lower bound). For and , no multiplicity-free code (Lemma 2.1) satisfying the CH conditions exists with (equivalently ). Hence every such code has .
The proof is given in Appendix D.2.4.
Lemma 4.4 (Stabilizer-rank reduction). Let satisfy the nine CH conditions with , , and projective (Section 2) at stabilizer rank , meaning that has independent rows. If , then reduces to an instance with strictly smaller stabilizer rank of length at most with , all nine CH conditions, , and projective.
The proof is given in Appendix D.3.1.
For , Proposition 4.3 excludes , and Lemma 4.4 reduces , leaving for the finite support and logical-label analysis in Appendix D.4.

Gray band at Excluded by Proposition 4.3.
Blue band at Reduced by Lemma 4.4 after Equation (67) (Step 1).
Blue band at s = 8 Reduced by Lemma 4.4 after Equation (68) (Step 3).
s = 6, 7 gray intervals Excluded by Theorem 4.1 and Table 5.
Filled / open circles by Theorem 4.1, before rank, geometry, and label checks.
Crosses Excluded by Lemma 4.2 (Step 2).
Remaining s = 6, 7 Table 10 records their dispositions in its s = 6, 7 rows (Step 2).
circles
Orange region and The s = 8 rows of Table 10 cover the weights retained by Equation (68)
circles and Steps 3–7.
Figure 2: Arguments excluding at each stabilizer rank. Step numbers refer to Appendix D.4.
The low-weight results of [30, 31] provide normal forms for the Reed–Muller codeword below the bound , where is the minimum distance of . To apply these normal forms to every candidate with , we must check that the corresponding codeword lies below this weight bound. Theorem 4.1 gives or , so either choice has weight at most 39 and is covered by the classification. Appendix D.4 uses the applicable normal forms to cover the possible supports, then rules out logical rows satisfying K1–K3 and KS1–KS3 on each support.
Theorem 4.5 (Length lower bound). No CSS code with and satisfying the nine CH conditions (Theorem 3.3) exists with , at any stabilizer rank.
The proof is given in Appendix D.4.
Figure 2 summarizes the exclusions by block length and stabilizer rank.
Codes with block lengths remain unclassified. Section 5 discusses the related open questions.
5 Discussion and open problems
In this work, we set out to construct a small CSS code whose non-Clifford logical CCZ is realized by physical gates. Applying CCZ directly to the encoded block provides an alternative to magic-state injection. Projectivity of guarantees , and 8-divisibility enforces the stabilizer-only CH conditions. The logical rows must satisfy the remaining CH conditions, while Equation (16) constrains the physical signs.
The same codes also give magic-state distillation protocols [1, 4]. Applying the physical rotations to an encoded with noisy gates, then measuring the stabilizers and decoding, yields a CCZ state. Because , an error from one or two faulty gates is either detected or acts trivially. Distillation permits a diagonal Clifford correction, so the nine CH conditions suffice there. Jacinto et al. use the code for a distance-3, 47-to-1 CCZ distillation protocol .
At length 48, Proposition 2.3 identifies FG48 as the unique projective 8-divisible [48, 6] code up to a permutation of coordinates. The code completes this support to a [48, 3, 3] code with a single-qubit transversal logical CCZ. Proposition 3.9 verifies the pattern from its explicit polynomial formula.
To determine how small such codes can be, Theorem 4.5 excludes every CSS code with three logical qubits, , and the nine CH conditions below length 39. The bound applies beyond subspace-complement supports.
Several problems remain open. The subspace-complement supports in Corollary 2.4 with that admit a single-qubit transversal CCZ implementation are not yet characterized. The existence of CSS codes with three logical qubits, , and the nine CH conditions remains unresolved at lengths . A further direction is to adapt the construction of and the arguments for Theorem 4.5 to other non-Clifford gates and to more than three logical qubits.
Code
The companion repository is https://github.com/jerrylvx/gate2code-public.
Acknowledgements
This work was supported by the National Science Foundation (NSF) Software-Tailored Architecture for Quantum codesign (STAQ) Project (Phy-2325080) and the NSF Quantum Leap Challenge Institute on Robust Quantum Simulation (MCP-2120757 and MCP-2553574).
The authors used AI assistants for literature review, exposition, computer simulations and proofreading. The authors independently verified all mathematical claims, constructions, and reported numbers. The authors take full responsibility for the content.
A Shared algebra and coding theory facts
A.1 Boolean functions and Reed–Muller codes
This subsection collects the facts about Boolean functions on and Reed–Muller codes that Appendices B–D use.
Lemma A.1 (XOR expansion). For bits ,
Proof. Induct on , starting from the two-bit case , with the induction hypothesis
Let , and apply the two-bit case.
Corollary A.2 (XOR and Hamming weight). For bits , . Consequently, if and are binary strings of the same length, denotes coordinatewise XOR, denotes Hamming weight, and denotes entrywise product, then
For binary strings of the same length,
Setting , the all-ones string, gives the same additivity for , and setting gives it for .
Proof. Applying coordinatewise gives (25), and distributivity of over gives the overlap-parity claim.
Lemma A.3 (Coefficient extraction and support parity). Let K be Z or , and let have the multilinear expansion with , where . If is one on and zero elsewhere, then for every
In particular, for and , every sign equals 1 and runs over all of , so
Proof. Substitution of the multilinear expansion into the first sum makes the coefficient of equal to , which is one for and zero otherwise. The case and gives (27).
Lemma A.4 (Origin indicator). On , let be the indicator of the origin. The indicator has degree , and
Proof. The product defining contains the degree-m monomial and equals one only at the origin. Hence its inner product with a function is . Equation (28) follows for and for every nonconstant monomial.
Lemma A.5 (Affine changes of Boolean functions). An invertible affine map on is a map of the form
where and . For a set , write for its direct image. Boolean functions are affine-equivalent when for such a map . The induced transformation satisfies
Proof. For , if and only if . Hence , and bijectivity gives the weight identity. Substitution of affine linear forms gives , and substituting into gives the opposite inequality.
Quadratic normal forms. Dickson's classification [28, Ch. 15, Thms. 4–5] gives the following representatives of quadratic Boolean functions under affine equivalence:
Here , , and is either zero or , with the latter choice available only when . A nonconstant degree-one function has the form , with , and
The support in (31) is an affine hyperplane. When the support contains the origin, its projective support is obtained by deleting the origin.
Reed–Muller duality. For binary Reed–Muller codes [28, Ch. 13, Thm. 4, p. 375],
Minimum weight. The minimum weight of is , and its minimum-weight codewords are exactly the indicators of the -dimensional affine flats [33, Cor. 5.3.3].
A.2 Operations on codes
Row operations may preserve both code spaces, whereas puncturing can change their dimensions and distance. The results below specify the effects of these operations on the code parameters and the CH conditions.
In Appendices B–D, we write a generator matrix as , with logical rows and stabilizer rows . The rows of span the code , and the rows of span the code , as for a generator matrix [34, §1.2], except that the rows need not be independent. The code parameters are
By (5), the Z-distance is the least weight of a vector in . The parameters , and therefore depend only on the codes , and not on the rows chosen to span them.
Column of is a full column as in Section 2, with logical label and syndrome . When is projective, the label map of Section 3.1 writes each full column as with , and the logical row is the vector . Appendix B writes this vector as .
Appendix D works at stabilizer rank s, meaning that S has s independent rows, so that the syndromes lie in . By Lemma A.8(a) and (b) below, replacing S by a row basis changes neither the nine CH conditions nor n, s, k, and .
Corollary A.6. Let be the generator matrix for the codes . Then satisfies the nine CH conditions if and only if
(i) is even for all ,
(ii) is even for all and , and
(iii) is odd.
In that case every codeword of has even weight, by (i) with , and the following hold.
(a) For , , and ,
(b) If n is even, then the matrix , with the all-ones row appended as a stabilizer row, satisfies the nine CH conditions.
Proof. By Corollary A.2, the parities of and are additive in each argument, so (i) and (ii) hold for all codewords exactly when they hold for rows. On rows, reduces a repeated row, (i) becomes K1, K2, KS1, S1, and S2, (ii) becomes KS2, KS3, and S3, and (iii) is K3.
For part (a), additivity expresses as plus the overlap of with . The terms with are even by (i), the stabilizer term is even by (ii), and (iii) makes the term with equal to .
For part (b), the codes become and , and additivity leaves only overlaps containing 1. Each equals or an overlap with , which is even by hypothesis or by (i). Condition (iii) is unchanged.
Definition A.7 (Puncturing). Let be a linear code, and let be a set of coordinate indices. The puncture of on is the linear code obtained by deleting the coordinates in from every codeword of [34, §1.5.1 and Thm. 1.5.1].
Lemma A.8 (Row operations and puncturing). (a) Left multiplication. For a matrix Q with columns,
The row-space inclusion is an equality when Q is invertible. Adding one row to another, deleting a row, and replacing S by AS for an invertible matrix A are left multiplications.
Suppose that satisfies the nine CH conditions, and let have logical rows and stabilizer rows in . Then satisfies the nine CH conditions. If moreover the rows of span , then and generate the same codes, and hence the same , , , and .
(b) Row basis. Let the rows of indexed by an ordered set form a basis of , and let be the matrix they form. Restricting a syndrome to its entries in gives the corresponding column of . The restriction preserves distinct and nonzero syndromes, and the columns span . Thus has the same actual rank as and is projective with columns whenever is projective.
(c) Puncturing. Let be the code obtained by puncturing the set of coordinates from a code . Deleting the columns indexed by from a matrix whose rows span gives a matrix whose rows span , and
Write for insertion of zeros at each coordinate in . Then and . Consequently, a generator matrix punctured on has -distance at least of the original.
Moreover, if equals or with and , then punctured on satisfies the nine CH conditions exactly when does.
Proof. For part (a), row of is , where are the rows of , so rowspan rowspan , and gives equality when is invertible. If the rows of are independent, then the columns of span , so the columns of span the column space of .
For CH preservation, the codes of satisfy and , so conditions (i) and (ii) of Corollary A.6 for are instances of the same conditions for . Writing with , additivity writes as plus overlaps with a factor and two factors in , which are even by (ii). When the rows of span , the codes of equal .
For part (b), every omitted row is a linear combination of the selected rows, so determines every entry of . If , every entry of is zero as well. Finally, rowspan gives rank , so its columns span .
For part (c), coordinate deletion is a linear map from C onto whose kernel consists of the codewords supported inside J, and rank-nullity gives (33).
For and , let be the punctured codeword of on , the word obtained by deleting the coordinates in from . Then the coordinates in contribute nothing to , so . For the distance, let satisfy and for the punctured generator matrix , and set . Then , , and , so (5) gives the bound.
Finally, says that column j is zero or that columns j and are equal. The deleted columns therefore contribute 0, or the same bit twice, to every overlap of rows, so every CH parity is the same with and without them.
B SAT search and exclusion
Fix a support P satisfying S1–S3. Order the n columns of P as they appear in S. Each logical row is the vector
As in (8), all inner products below are over P, as indicated by the subscript. For each logical label , K1, KS1, and KS3 give, respectively,
The indices are , , and in the last constraint. Here is the product of coordinates and of the column . The functions , , and span . Their restrictions to therefore span , where is the evaluation map of Proposition 3.9. Consequently, for each ,
Call a CH triple when the three logical rows satisfy all CH conditions on P. Equation (35) places both in , and K2 and KS2 impose
The second constraint in (36) ranges over . The first two labels of every CH triple therefore form an ordered pair satisfying these equations, so enumerating all such pairs covers every possible CH triple. For a fixed pair, the remaining conditions on are
(37)
The indices satisfy and . Membership in imposes K1, KS1, and KS3 on , while (37) imposes K2, KS2, and K3. Let , let be a basis of , and write the vector with . By Corollary A.2, substitution into (37) gives the binary linear system
(38)
Since , , and the basis vectors are fixed, every inner product in (38) is a known bit, so (38) is a linear system over in . Gaussian elimination then decides whether the pair extends to a CH triple. Failure to extend to a CH triple for every possible pair , excludes . When Equation (38) admits a solution, its solutions form an affine space, a particular solution plus the kernel of the coefficient matrix, and each solution gives a label that extends the pair to a CH triple. Deciding whether carries a CH triple needs only one solution.
Algorithm 1 Finding CH label maps by SAT or testing all label maps on a specified support, followed by binary flip-vector feasibility ( , )
Find a code by SAT:
1: For each of the nonzero introduce the support bit and the three label bits , , for support and logical label variables, before encoding auxiliaries
2: For each nonzero and each nonempty , introduce an auxiliary variable with clauses that force it to equal . Impose K1–K3, KS1–KS3, and S1–S3 as the XOR equations (9), whose terms are support bits and these auxiliary variables. Conditions S1–S3 restrict the support to , where is the origin indicator
3: Solve the constraints globally with a SAT solver. Each satisfying assignment supplies and , and hence a generator matrix such as
Alternatively, test a candidate support :
4: For a support satisfying S1–S3, enumerate every ordered pair of nonzero satisfying (36). Solve the system (38) by Gaussian elimination. Each solution gives a label and a generator matrix. Failure to extend to a CH triple for every possible pair excludes . Exhausting all supports satisfying S1–S3 proves non-existence
For either route, test the physical signs:
5: For each generator matrix obtained from SAT or a consistent fixed-support system, solve (19) for a binary . A solution gives a implementation of Definition 3.4
C Proofs for the column indicators and CCZ conditions
C.1 Proof of Lemma 3.2
Proof. The nonconstant monomials of degree at most three are the with . By (8), equals 1 for and 0 for every other such . The representative has the same inner products by its definition in Lemma 3.2. Hence is orthogonal to every nonconstant monomial of degree at most three. Since and has weight , set
Equation (28) then gives
which proves (10). Any other admissible has the same inner products against all monomials of degree at most three, including the constant, so by (32). The coset is therefore independent of the representative.
C.2 Proof of Theorem 3.3
Proof. This proof covers the necessity direction (ii). Assume that realizes logical CCZ and set , , and . Every diagonal Clifford is, up to a global phase, expressed as a product of Z, S, and CZ gates, so C may be taken in that form. Physical T gates contribute , while C contributes . Equating the combined phase to gives
where , , and , as in (3) and (13). Logical CCZ up to a global phase would add a constant to the right-hand side. The constant changes only the constant term of the expansion in , which the conditions below do not use. At the left-hand side is , so in any case.
List the rows of as , with for and for . For a nonempty index set , use the monomial defined before Equation (8).
Apply Lemma A.1 to expand and group its terms by :
To determine which coefficients the Clifford correction can change, use Corollary A.2 to write the following integer identity
Each of , , and is an XOR of selected variables . By (39), the coefficient of in each XOR is divisible by . Both and are even, so every coefficient in is divisible by for every nonempty . In particular, degrees one, two, and three give
(mod8)
(40)
Equation (2), with , gives the coefficients of , , and as , , and , respectively. Apply Equation (26) to both sides of Equation (3). The coefficient restrictions (40) and these coefficients then give
(41)
Together, the three lines give the nine CH conditions in Table 1.
C.3 Proof of Proposition 3.5
Proof. Use , , the rows , and the monomials from the preceding proof. Multiplying (39) by and summing over gives the exact integer expansion
By the coefficient identity (26), the equation for every is equivalent to
Terms with vanish automatically. For , the factor is 1, -2, or 4. The three cases reduce to congruences mod 8, 4, and 2, which are the three lines of Equation (16), proving both directions. Finally, subtracting the expansion at leaves only terms containing a stabilizer row. The conditions that contain a stabilizer row make all such coefficients zero mod 8, proving (17).

C.4 Proof of Proposition 3.8
Proof of Proposition 3.8. On each block, Corollary A.2 gives . Summing the blocks gives
Substituting (42) into (15) gives Equation (21). Under the conditions of Proposition 3.5 involving a stabilizer row, Equation (17) makes the signed weight independent of modulo 8. Setting gives Equation (22), with eight logical inputs .

C.5 Proof of Proposition 3.9
Proposition 3.9. Index the columns of by their coordinates of (7), writing for the four rows of and for the coset label. The pattern of is obtained by evaluating the following polynomial. Write for the evaluation map .
The flip vector is . The flip vector has weight 22. The resulting pattern is a single-qubit transversal implementation of logical CCZ for .
Proof of Proposition 3.9. Equation (19) was used to find the pattern (23). The calculation below verifies the pattern independently of the search.
Proposition 3.5 reduces the check to once its conditions involving at least one stabilizer row hold. The pattern (23) satisfies
The corresponding integer signed weights are recorded below. The row and column indices are and .
| l | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| 0 | 0 | 8 | 0 | 0 | 0 |
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 1 | 0 | 0 | 4 | -4 | 0 | 0 |
| 2 | 0 | 0 | 0 | -4 | 0 | -4 |
| 3 | 4 | 4 | 8 | 4 | 4 | 4 |
The signed weights of single stabilizer rows are divisible by 8, and the signed weights and of pairs of rows are divisible by 4. Every triple of distinct rows containing a stabilizer row has even overlap by S3, KS2, or KS3. Since , its signed overlap is even as well. Together with the displayed one-row and two-row equations, Equation (17) implies
Proposition 3.8 now reduces Equation (15) to for the eight logical inputs . Equation (42) computes this signed weight from the three block weights of .
Write for the blocks with coset labels , , and . A column in block has stabilizer coordinates and logical labels from Table 2. For , let be the restriction of to block , that is, in the notation of Proposition 3.8:
For each logical input , the signed weight to be checked is .
Counting the with for each of the eight logical inputs gives the block weights needed in (42):
For example, at the first block has . The cases and contribute two and four ones, respectively, giving .
At , , so the first column of the block-weight table gives .
Subtracting from the sum row of the block-weight table gives 0 or 8 for every input except , where it gives . Equation (42) therefore yields
The specified pattern thus implements logical CCZ.
<div style="text-align: center;">☐</div>D Support reductions and length lower bounds
D.1 Reduction to projective stabilizer supports
Lemma D.1 (Reduction to projective ). Let satisfy the nine CH conditions with and . If is non-projective, then has a zero column or two equal columns . In the zero-column case, form by deleting column . In the repeated-column case, form by deleting both equal columns and . In either case, satisfies:
(i) satisfies the nine CH conditions,
(ii)
(iii)
Iterating until is projective terminates and preserves all three properties.
Proof. Non-projectivity of gives a zero column of or a repeated pair. Let denote the th coordinate vector, and define by
Lemma 2.1(b) and imply that the corresponding full column of is zero in the first case and that the two corresponding full columns are equal in the second. Therefore
Puncture the coordinates in from both and , and call the results and .
By Lemma A.8(c), satisfies the nine CH conditions.
The logical dimension is preserved if the row-space dimensions of and fall by the same amount. Equation (45) says that every codeword in , and hence every codeword in , has even parity on . The only possible nonzero codeword in either code supported inside is therefore . Equation (33) gives
In the zero-column case, every codeword of has zero in coordinate , so and neither rank falls.
For the repeated-column case, means the two lines of (46) can differ only if . Assume and write
For , the two deleted full columns are equal, so is even. Corollary A.6(a), applied to (47), therefore gives . Thus , and (47) puts in . So forces . Together with , the vector lies in both codes or in neither, so the two cases of (46) always agree. The rank drops in (46) are equal, so .
Lemma A.8(c) gives .
Each puncture reduces the number of columns by one or two. The process therefore stops after finitely many steps, when the columns of S are distinct and nonzero, which is precisely when is projective.
D.2 Admissible supports and affine classification
D.2.1 Support polynomials and block lengths
Proof of Theorem 4.1. In this proof, we translate conditions S1–S3 to inner products associated with the column indicator , which allows us to compute the block length directly.
Set in Equation (9). Then for every , and conditions S1–S3 become
The cases are S1, S2, and S3, respectively.
To characterize the indicators orthogonal to these monomials, let
Conditions S1–S3 imply . Reed–Muller duality (32) gives
Moreover, Equation (28) gives and . Since , the code lies in . Every element of is orthogonal to , so gives . Finally,
The inclusions and the dimension equality yield
Since has no zero column, its column indicator satisfies . Writing with forces , and hence
Conversely, every gives , which vanishes at the origin and is orthogonal to every nonconstant monomial of degree at most three. Thus S1–S3 hold, and the two cases above give exactly the lengths allowed by these conditions.
The columns of S are exactly the nonzero with , so
Requiring rank S = s gives the last condition in Theorem 4.1.
☐
D.2.2 Affine equivalence and puncturing
Theorem 4.1 describes each candidate support by a polynomial . For a map , let be the matrix with columns for .
Lemma D.2 (Affine changes of the support). Let be an invertible affine map of , and let be the matrix with columns for . Then satisfies the nine CH conditions if and only if does.
Each column keeps its logical label , and only its syndrome moves from to .
Proof. By Lemma A.5, the syndromes of form , and , so has the same form as . Write with and , a translation by followed by the linear map . Proving the forward implication for each of the two maps suffices, because is again an invertible affine map and gives the converse.
An invertible linear change of the syndromes is a row operation on . Replacing every syndrome by replaces by . Since is invertible, Lemma A.8(a) shows that satisfies CH exactly when does, with the same , , , and .
A translation of the syndromes is a row operation on . Replacing every syndrome by adds to every entry of row of , so becomes . Each new row is a combination of the rows of , and that matrix satisfies CH by Corollary A.6(b) once the full support has even size. The size is even because the coefficient of in vanishes ( ), so Lemma A.3 gives
Lemma A.8(a) then shows that satisfies CH.
Moving a supported point to the origin creates a zero column, which is deleted. Every invertible affine change can be written as with , and is the unique point that sends to the origin. After the linear part is removed as above, the candidate support is
The point is an origin choice. If , then has length . If , the column indexed by has syndrome 0 after the translation. The logical label at must be when (Lemma 2.1), and puncturing the code on this zero column preserves CH and (Lemma D.1), so has length . The proof of Theorem 4.5 does not test every origin choice. For each polynomial , the proof tests only the support of length , for one point with . Corollary D.3 shows that this single test also excludes for every other , including the supports of length with .
Corollary D.3. Let , and let satisfy . If no label map satisfies the CH conditions on , then for every no label map on satisfies the CH conditions with .
Proof. Since , the support equals . Given a label map on some that satisfies the CH conditions with , reinsert the zero column if (Lemma A.8(c)) and translate back by . The result is a label map on that satisfies the CH conditions, and translating by gives one on by Lemma D.2. The resulting label map on contradicts the hypothesis.
Appendix D.2.3 below focuses on the supports P that are affine flats, which carry no label map satisfying the CH conditions, and bounds the rank of supports that lie inside a flat.
D.2.3 Affine-flat supports
Proof of Lemma 4.2. On a flat of dimension , conditions K1, KS1, and KS3 force each label to have degree at most in the coordinates of the flat, and when . The product then has degree below and even weight, so K3 fails before any search for the labels. The proof makes this degree count precise.
Let , where has dimension . Choose affine coordinates on in which is the set of points with , so that every function on becomes a function of , and write for the label at . Degrees are unchanged under this affine change by Lemma A.5, so we have
Equation (35), Reed–Muller duality (32), and Equation (51) give
For , every is zero, contradicting K3. For , the degree of a product is at most the sum of the degrees, , and holds because . Hence
The coefficient of in therefore vanishes, and Equation (27) of Lemma A.3 gives
Equation (8) with and therefore gives
(55)
which contradicts K3.
The lemma also covers a flat with the origin deleted. For such a support, inserting the zero column at the origin gives, by Lemma A.8(c), a label map on the full flat that satisfies the CH conditions, and the argument above excludes it.
For , Theorem 4.1 gives or for some , and is even by (49). Hence , the minimum weight of . The minimum-weight codewords are the indicators of 4-dimensional affine flats (Appendix A.1), so the support is such a flat, and this lemma excludes it.
A support inside an affine flat has actual rank at most the dimension of the flat plus one. Steps 2, 3, and 5 of the proof of Theorem 4.5 use this bound to discard supports that lie in a flat.
D.2.4 Small-rank support exclusion
Proof of Proposition 4.3. At stabilizer rank at most 5, Theorem 4.1 leaves so few supports that all but one are flats, and a direct search settles the remaining case.
By Lemma D.1 and Theorem 4.1, a code with stabilizer rank has support for some .
For , the convention in (32) makes the support empty. For , the only nonzero codeword in is the constant function 1. The function's projective support is , which Lemma 4.2 excludes.
For , every codeword of has the form , and Table 6 lists the resulting supports. The 62 supports with are affine hyperplanes of , which are affine flats of dimension 4, or such hyperplanes with the origin deleted. Lemma 4.2 excludes them, and only remains.
| Coefficients | Support | Length | Count | Exclusion |
|---|---|---|---|---|
| Affine hyperplane | 16 | 31 | Lemma 4.2 | |
| Punctured hyperplane | 15 | 31 | Lemma 4.2 | |
| 31 | 1 | Algorithm 1 |
Table 6: Supports from the 63 nonzero codewords of RM(1, 5).
To run Algorithm 1 on this support we need , the number of unknowns in (38). By (35), is the orthogonal complement of in . The map is injective on . A polynomial of degree at most two that vanishes on every nonzero point of is or , and has degree five by Lemma A.4, so it is 0. Hence has dimension , and
With , Algorithm 1 exhausts all 49,741,825 ordered pairs satisfying (36). For each pair, Equation (38) has equations at in the 15 basis coefficients of . The equation admits no solution for any pair, so no pair extends to a CH label map.
D.3 Stabilizer-rank reduction and hyperplane supports
Let satisfy the nine CH conditions with and and projective. Express in terms of its set of syndrome columns:
To delete one independent stabilizer row, construct a projection with a one-dimensional kernel, generated by a nonzero vector :
Choose with , and define by
If , then for , hence . For , apply the row operations
and delete . The full-column operation is
Equation (58) and give
Whether the output keeps depends on the labels of the syndromes that differ by . For nonzero , collect their label differences:
Several pairs may give the same value, and when no supported pair differs by .
Lemma D.4. Let satisfy the nine CH conditions with , , and projective, at stabilizer rank . Let , , , and be as above, and suppose that
(i) , and
(ii) if .
Let
Then satisfies the nine CH conditions with , , and . A column of is zero, or two distinct columns of are equal, in the following cases:
where and in the second line. Applying Lemma D.1 to gives a generator matrix of stabilizer rank at most and length at most with , all nine CH conditions, , and projective.
Proof. Each new logical row is , and each retained stabilizer row is . Lemma A.8(a) therefore gives the CH conditions for .
Since and the rows of are independent, the rows of are independent. The row additions preceding (59) are invertible. Deleting therefore leaves independent rows of and independent stabilizer rows, so
For distinct , Equation (58) gives exactly when . Condition (i) then gives . The two input columns differ by , so their images under (59) agree by (60). Conversely, equal columns have equal syndromes, so , and (63) follows.
The syndrome of a column of is zero exactly when . Since , this happens exactly when and . In that case condition (ii) gives , and makes the new label , so the column is zero by (60). Conversely, a zero column has zero syndrome, so , and (62) follows. By (63), two columns of with the same nonzero syndrome are equal, so they carry the same logical label. By (62), a column of with zero syndrome has logical label zero. Lemma 2.1(b) requires exactly these two properties, so .
Lemma D.1 removes zero columns and pairs of equal columns while retaining CH, , and .
The hypotheses of Lemma D.4 follow from counting in Appendix D.3.1, or from hyperplane containment in Appendix D.3.2, which we discuss below.
D.3.1 General rank reduction
Proof of Lemma 4.4. Each unordered pair of distinct columns determines the unique nonzero difference . A vector with accounts for at least two pairs, and no pair is counted for two different . Hence
Exactly vectors lie in . There are nonzero vectors , so
The hypothesis of Lemma 4.4 makes this lower bound positive. Fix a nonzero with . Let be the unique element of when the set is nonempty, and set otherwise. Both hypotheses of Lemma D.4 hold: and . Applying the lemma proves the claimed reduction.

D.3.2 Hyperplane reductions
We can also use the membership of a support within a hyperplane as a hypothesis for Lemma D.4, independent of the counting inequality. Table 7 records the two cases for the rank- generator (57).
| Support case | Operation | Length and rank |
|---|---|---|
| Lemma D.4 with | ||
| Lemma D.4 with , , puncture the zero column |
Table 7: Hyperplane reductions for with and . Both cases retain , the nine CH conditions, , and projectivity.
Corollary D.5 (Hyperplane reduction). Let satisfy the nine CH conditions with , , and projective, at stabilizer rank . If its syndrome set lies in an affine hyperplane of , then reduces to a generator matrix of stabilizer rank at most and length at most , with , all nine CH conditions, , and projective. The length stays when and becomes when .
Proof. Since , write with . For and , , so and . Thus Lemma D.4(i) holds for any , the coefficient vector in the logical-row additions. The projection of (58) is injective on : equal images of distinct points would require their difference to be .
If , choose and . Both hypotheses of Lemma D.4 hold, and the column operation is
Injectivity on and give distinct nonzero syndromes. No puncturing is needed, so , , and is projective.
If , choose and . Lemma D.4 now applies with a supported , giving
The column at becomes . Since and is injective, . Puncturing the zero column therefore leaves the syndrome set , with and . The zero column contributes nothing to the row ranks, and is projective.
D.4 Finite case analysis for the length lower bound
This subsection assembles the results of Appendices B–D.3 into the proof of Theorem 4.5: no CSS code with , , and the nine CH conditions has length . The proof first lowers the stabilizer rank to . At each remaining rank, it then excludes candidate supports by their indicator polynomial alone, in ascending order of and one affine-equivalence class of at a time. Every support that these tests do not exclude is passed to Algorithm 1, which solves for the logical rows and finds none.
Appendix D.2 characterizes the admissible support in . Appendix D.3 examines when the stabilizer rank can be reduced, and Appendix B decides whether a given admits logical labels satisfying the CH conditions. See Figure 3 for a visual guide to the steps of the following proof.
Proof of Theorem 4.5. Step 1. Restrict the stabilizer ranks. Suppose a generator matrix of length at most 38 satisfies the nine CH conditions with and . Lemma D.1 makes projective. We then apply Lemma 4.4 repeatedly to lower the stabilizer rank of . For and , the counting inequality of Lemma 4.4 holds:
Each reduction strictly decreases rank, so we obtain with . Since Proposition 4.3 excludes , only remain.
For these ranks, Theorem 4.1 expresses each candidate support as for , with length .
By Appendix D.2.2, it suffices to test one polynomial from each affine-equivalence class in , together with its translated supports of (50). Each step below checks the rank of .
Step 2. Exclude ranks 6 and 7. For each rank, we first determine the possible weights of c and, at each weight, the affine-equivalence classes of c. The flat and hyperplane cases are then excluded, and Algorithm 1 is applied to the remaining candidate supports .
At , the Dickson forms (30) in Appendix A.1 classify . Table 5 lists the possible weights 16, 24, 28, 32, 36 when . Weight 16 gives and an affine 4-flat, which Lemma 4.2 excludes. The other weights give six affine-equivalence classes of , counted in the rows of Table 10: the degree-one class and five quadratic classes.
The degree-one representative has support and weight 32. If , then is a full hyperplane not containing zero, so Corollary D.5, through the reduction (66), lowers rank 6 to 5. If , then lies in a hyperplane through zero and has actual rank 5 by the span bound of Appendix D.2.3. Proposition 4.3 excludes the resulting generator matrices of rank 5.
Algorithm 1 finds no CH triple on the supports of the five quadratic classes, as recorded in the rows of Table 10. Hence rank 6 is excluded for .
At , the candidates are with , and Table 5 lists their possible weights. The code has minimum weight 16, which gives an affine 4-flat that Lemma 4.2 excludes. The weights 24, 28, and 36 are associated with the candidates counted in the rows of Table 10.
Weight 32 needs one more distinction, because the classification of Kasami-Tokura-Azumi at this weight covers only the polynomials that are not divisible by an affine function. A polynomial is divisible by an affine function , with , when for some polynomial . Then forces , so lies in the affine hyperplane . Table 8 sorts the weight-32 polynomials by degree and by this divisibility. No weight-32 polynomial has degree one, since a nonconstant affine function on has weight 64.
| deg | divisible by an affine function | classes | verdict |
|---|---|---|---|
| 2 | yes | in a hyperplane, rank at most 6 after reduction | |
| 3 | yes | every such | in a hyperplane, rank at most 6 after reduction |
| 3 | no | [31, Cor. 1(1)] | Algorithm 1, no |
Table 8: The weight-32 polynomials in Step 2, sorted by degree and by divisibility by an affine function.
Every polynomial divisible by an affine function is excluded without Algorithm 1. By (50), for every . If , the span bound in Appendix D.2.3 gives actual rank at most 6. Otherwise , so , and Corollary D.5 lowers the rank to 6. Ranks at most 6 are already excluded. The quadratic class is divisible by , so it is one of these polynomials. For the weight-32 polynomials not divisible by an affine function, Kasami-Tokura-Azumi [31, Cor. 1(1)] give three cubic classes.
Algorithm 1 finds no CH triple on the remaining supports at rank 7, as recorded in the rows of Table 10. Consequently rank 7 is excluded at any , including the weights 32 and 36 needed in the later rank reductions.
Step 3. Reduce candidates at rank 8. We first exclude candidates at rank 8 that reduce to a rank already excluded in Steps 1–2. If , then by (48), and the counting hypothesis of Lemma 4.4 holds:
Hence every candidate with reduces to a rank excluded in Steps 1–2.
By (49), is even. Together with , only weights in the interval remain.
To exclude lower-degree polynomials, suppose , so . The code has minimum weight 32, and Kasami-Tokura [30, Thm. 1] exclude weights strictly between 32 and 40. Thus forces , whose support is an affine 5-flat.
Every translated support remains inside an affine 5-flat. The span bound of Appendix D.2.3 therefore gives actual rank at most 6, excluded in Steps 1–2. Only degree 4 and weights 32, 34, 36, 38 remain at rank 8.
Step 4. Exclude degree-4 cases at rank 8. Steps 4–7 exclude the remaining degree-4 polynomials by expressing them in six-variable polynomials and enumerating the possibilities.
Theorem 1 of Kasami–Tokura–Azumi [31] gives an affine 6-flat in on which vanishes. Choose affine coordinates with so that this flat is given by . Since vanishes on the flat, for every , so no monomial of uses only the variables . Grouping the remaining monomials by whether they contain , , or both gives
Since , the polynomials and have degree at most 3, and has degree at most 2. Setting to each of its four values in (69) gives
The weight counts the points of at which . Grouping these 256 points by the value of gives
The candidate supports still require the origin recovery (50) and rank checks of Appendix D.2.2.
Step 5. Exclude vanishing components and bound their weights. To exclude the cases , , or , we examine the hyperplane that contains in each case:
(71)
Denote any of the hyperplanes in (71) by . For each , Equation (50) gives . If , the span bound in Appendix D.2.3 gives actual rank at most 7. Otherwise makes a proper subset, and Corollary D.5 lowers rank 8 to 7. The exclusion of rank 7 in Step 2 therefore forces all three polynomials , , and to be nonzero for every remaining candidate at rank 8.
To avoid enumerating equivalent permutations of the nonzero components, order their weights as . An invertible linear change of permits this ordering: permutes the three nonzero values of and hence the three restrictions , and . With this ordering, gives , so bounds the two smaller weights.
The bound leaves only a few weight pairs, which we now list. Both and are nonzero polynomials of degree at most 3 in 6 variables, that is, nonzero codewords of . The code has minimum weight 8, and its only weights below 16 are 8, 12, and 14 [30, Thm. 1]. If , then . If , the condition with leaves exactly
(72) because the pairs (12, 14) and (14, 14) give 40 and 42. The four pairs are the rows of Table 9.
Step 6. Enumerate the remaining polynomials. Fix to be the Kasami–Tokura normal form [30, Thm. 1] listed in Table 9. Subsequent changes of the six coordinates must preserve this chosen . For an invertible affine map of , that is, , with , the substitution in (69) acts on the remaining polynomials by
These maps form the subgroup of AGL(6, 2) that fixes , and the orbit of under them is
Choose one representative from each orbit.
For each representative pair and each candidate weight , enumerate every of degree at most 2 satisfying the weight constraint from (70):
Lemma A.5 shows that the substitution (73) preserves the degree of and the weights of , and . The substitution therefore preserves the weight constraint (74) and the total weight .
A computation with nauty [35] lists one representative of each orbit for every row of Table 9. Three checks show that no polynomial is missed. First, the listed orbits are pairwise disjoint. Second, every in a listed orbit has the weight of its row. Third, for each row the orbit sizes sum to the number of all of that weight, given in the third column. Hence every remaining candidate at rank 8 is affine-equivalent to with from Table 9, a listed representative, and one of the enumerated polynomials.
| normal form | number of | orbits of | |
|---|---|---|---|
| (8, 8) | 11,160 | 20 | |
| (8, 12) | 1,749,888 | 88 | |
| (12, 12) | 1,749,888 | 2,167 | |
| (8, 14) | 22,855,680 | 124 |
Table 9: Orbit partitions at , with fixed to normal form and reduced by invertible affine coordinate changes that preserve . The third column counts all with the weight in the first column.
Step 7. Exclude the remaining candidates at rank 8. It remains to exclude logical labels for the polynomials enumerated in Step 6. For each such , choose with and form the full translated support of (50). When the matrix whose columns are the points of has actual rank below 8, Steps 1–2 already exclude a generator matrix satisfying the CH conditions on that support.
Algorithm 1 finds no three logical rows satisfying the CH conditions on any remaining . Corollary D.3 then excludes logical labels satisfying the CH conditions on for every , including the punctured supports.
All cases with have now been excluded, proving the theorem. Table 10 summarizes the cases at ranks 6, 7, and 8.
| s | |c| | Number enumerated | Supports tested | result |
|---|---|---|---|---|
| 6 | 16 | – | – | Excluded by Lemma 4.2 |
| 6 | 24 | 1 | 1 | no |
| 6 | 28 | 1 | 1 | no |
| 6 | 32 | 3 | 2 | no |
| 6 | 36 | 1 | 1 | no |
| 7 | 16 | – | – | Excluded by Lemma 4.2 |
| 7 | 24 | 1 | 1 | no |
| 7 | 28 | 2 | 2 | no |
| 7 | 32 | 4 | 3 | no |
| 7 | 36 | 9,792 | 7,038 | no |
| 8 | 32 | 108 | 13,632 | no |
| 8 | 34 | 108 | 3,712 | no |
| 8 | 36 | 2,399 | 292,128 | no |
| 8 | 38 | 2,399 | 160,256 | no |
| Rows | What the third column counts |
|---|---|
| Affine-equivalence classes of | |
| The quadratic class and the three cubic classes not divisible by an affine function (Table 8) | |
| Weight-36 functions obtained by fixing a cubic representative and enumerating quadratic, linear, and constant terms [36, 37] | |
| Orbits of under affine maps preserving the selected (Table 9). Step 6 then enumerates the permitted |
Table 10: Cases in the proof of Theorem 4.5. The fourth column counts full translated supports tested by Algorithm 1, possibly including equivalent supports. At , each count includes the permitted from Step 6. Dashes mark cases excluded analytically. An entry “no ” means that no tested pair extends to a CH triple on any support counted in that row. At and , Step 2 excludes the degree-one class through the hyperplane cases.
References
[1] Sergey Bravyi and Jeongwan Haah. Magic state distillation with low overhead. Physical Review A, 86(5):052329, November 2012. ISSN 1050-2947, 1094-1622. DOI: 10.1103/PhysRevA.86.052329.
[2] Craig Gidney, Noah Shutty, and Cody Jones. Magic state cultivation: Growing T states as cheap as CNOT gates, September 2024. arXiv:2409.17595.
[3] Héctor Bombín, Mihir Pant, Sam Roberts, and Karthik I. Seetharam. Fault-Tolerant Postselection for Low-Overhead Magic State Preparation. PRX Quantum, 5(1): 010302, January 2024. ISSN 2691-3399. DOI: 10.1103/PRXQuantum.5.010302.
[4] Earl T. Campbell and Mark Howard. Unified framework for magic state distillation and multiqubit gate synthesis with reduced resource cost. Physical Review A, 95(2):022316, February 2017. ISSN 2469-9926, 2469-9934. DOI: 10.1103/PhysRevA.95.022316.
[5] Jeongwan Haah and Matthew B. Hastings. Codes and protocols for distilling , controlled-S, and Toffoli gates. Quantum, 2:71, 2018. DOI: 10.22331/q-2018-06-07-71.
[6] Alexander Barg, Nolan J. Coble, Dominik Hangleiter, and Christopher Kang. Geometric structure and transversal logic of quantum Reed-Muller codes. IEEE
Restrict rank, weight, and degree
Constrain the decomposition
Enumerate and exclude
- Restrict the stabilizer ranks
: projective reduction (Lemma D.1)
R Repeat rank reduction while
excluded (Proposition 4.3); retain
Theorem 4.1:
A ; form and check rank
- Exclude ranks 6 and 7
Classify : Dickson (30) [28, Ch. 15, Thms. 4–5]
: KT KTA Ax: [32, Sec. 4.1.5]
A Recover supports
F Weight 16: Lemma 4.2
H Exclude hyperplane families; L test the remainder (Table 10)
- Reduce candidates at rank 8
Exclude by smaller rank (Steps 1–2):
: R reduce to using (68)
F Coefficient parity gives even
F KT deg : weight-32 flat, rank
Retain deg ,
- Exclude degree-4 cases at rank 8
deg : KTA gives a zero 6-dimensional flat
, deg , deg , deg
; A form
- Exclude vanishing components and bound their weights
, or gives
A
H : rank ; otherwise rank
: proper support); apply Step 2
KT F : four weight pairs (Table 9)
- Enumerate the remaining polynomials
KT Fix ; enumerate under maps preserving
Enumerate : , weight condition (74)
nauty [35]: disjoint orbits and class membership
with size totals establish coverage (Table 9)
- Exclude the remaining candidates at rank 8
A Step 6: choose with
L No CH triple on (Table 10)
Corollary D.3: no CH triple on any
All cases excluded; no code has
R Counting reduction
Lemma 4.4, Appendix D.3.1
Lower rank, no greater length
Recheck rank after reduction
Failed bound: no exclusion
H Hyperplane cases
Span bound: Appendix D.2.3
Reduction: Corollary D.5, Table 7
Exclude only at a rank already settled
KT Kasami-Tokura
Low-weight classes and gap
[30, Thm. 1]
KTA Kasami-Tokura-Azumi
Classes and flats where
[31, Thm. 1, Cor. 1(1)]
F Shared facts (Appendix A)
Minimum weight and flats
Parity (27): even weight
A Affine representatives and translated supports
Appendix D.2.2, (50)
Labels stay on their columns
(Lemma D.2)
If and has no CH triple,
no has one (Cor. D.3)
L Fixed-support label tests
Appendix B, Algorithm 1
Pair tests (36)
Third-label system (38)
Figure 3: Proof steps for Theorem 4.5. Solid arrows follow the numbered steps. Matching lettered badges identify the results from earlier sections and the literature used by each step.
Transactions on Information Theory, 72(1):415–436, January 2026. DOI: 10.1109/TIT.2025.3592631.
[7] Héctor Bombín. Gauge color codes: Optimal transversal gates and gauge fixing in topological stabilizer codes. New Journal of Physics, 17(8):083002, 2015. DOI: 10.1088/1367-2630/17/8/083002.
[8] Benjamin J. Brown. Color code with a logical control-S gate using transversal T rotations. Physical Review Letters, 135(7):070602, August 2025. ISSN 0031-9007, 1079-7114. DOI: 10.1103/lwxd-fdlb.
[9] Eduardo Camps-Moreno, Hiram H. López, Gretchen L. Matthews, Diego Ruano, Rodrigo San-José, and Ivan Soprunov. An algebraic characterization of binary CSS-T codes and cyclic CSS-T codes for quantum fault tolerance. Quantum Information Processing, 23(6):230, 2024. DOI: 10.1007/s11128-024-04427-5.
[10] Jin Ming Koh, Anqi Gong, Andrei C. Diaconu, Daniel Bochen Tan, Alexandra A. Geim, Michael J. Gullans, Norman Y. Yao, Mikhail D. Lukin, and Shayan Majidy. Entangling logical qubits without physical operations, 2026. arXiv:2601.20927.
[11] Jingzhen Hu, Qingzhong Liang, and Robert Calderbank. Designing the Quantum Channels Induced by Diagonal Gates. Quantum, 6:802, September 2022. DOI: 10.22331/q-2022-09-08-802.
[12] Narayanan Rengaswamy, Robert Calderbank, Michael Newman, and Henry D. Pfister. On Optimality of CSS Codes for Transversal T. IEEE Journal on Selected Areas in Information Theory, 1(2):499–514, August 2020. DOI: 10.1109/JSAIT.2020.3012914.
[13] Jingzhen Hu, Qingzhong Liang, and Robert Calderbank. Climbing the Diagonal Clifford Hierarchy. Academia Quantum, 2(4), October 2025. DOI: 10.20935/AcadQuant7957.
[14] Jingzhen Hu, Qingzhong Liang, and Robert Calderbank. Divisible Codes for Quantum Computation, April 2022. arXiv:2204.13176.
[15] Anqi Gong, Christopher A. Pattison, Patrick Rall, and Adam Wills. Magic state distillation via codes over binary extension fields, 2026. arXiv:2608.09727.
[16] Shubham P. Jain and Victor V. Albert. Transversal Clifford and T-gate codes of short length and high distance. IEEE Journal on Selected Areas in Information Theory, 6: 127–137, 2025. ISSN 2641-8770. DOI: 10.1109/JSAIT.2025.3570832.
[17] Koichi Betsumiya and Akihiro Munemasa. On triply even binary codes. Journal of the London Mathematical Society, 86(1):1–16, 2012. DOI: 10.1112/jlms/jdr054.
[18] Sepehr Nezami and Jeongwan Haah. Classification of small triorthogonal codes. Physical Review A, 106(1):012437, July 2022. DOI: 10.1103/PhysRevA.106.012437.
[19] E. F. Assmus, Jr. and J. D. Key. Polynomial codes and finite geometries. In V. S. Pless and W. C. Huffman, editors, Handbook of Coding Theory, volume 2, chapter 16, pages 1269–1343. Elsevier, 1998.
[20] Salah A. Aly. A class of quantum LDPC codes constructed from finite geometries. In IEEE Global Telecommunications Conference (GLOBECOM), pages 1–5, 2008. DOI: 10.1109/GLOCOM.2008.ECP.217. arXiv:0712.4115.
[21] Hugo Jacinto, Xavier Valcarce, Victor Barizien, Élie Gouzien, and Nicolas Sangouard. Exploring the landscape of compact magic-state distillation factories, 2026. arXiv:2606.07734.
[22] Sascha Kurz. Divisible codes. DOI: 10.15495/EPub'UBT'00008789, 2025. Revised edition, December 2025.
[23] Ivan N. Landjev. Linear codes over finite fields and finite projective geometries.
Discrete Mathematics, 213(1–3):211–244, 2000. DOI: 10.1016/S0012-365X(99)00183-1.
[24] A. R. Calderbank and W. M. Kantor. The geometry of two-weight codes. Bulletin of the London Mathematical Society, 18(2):97–122, 1986. DOI: 10.1112/blms/18.2.97.
[25] A. E. Brouwer. Two-weight codes. In W. C. Huffman, J.-L. Kim, and P. Solé, editors, Concise Encyclopedia of Coding Theory, chapter 19, pages 449–462. CRC Press, 2021.
[26] Daniel Heinlein, Thomas Honold, Michael Kiermaier, Sascha Kurz, and Alfred Wassermann. Projective divisible binary codes. In The Tenth International Workshop on Coding and Cryptography (WCC 2017), 2017. arXiv:1703.08291.
[27] Stergios Koutsioumpas, Darren Banfield, and Alastair Kay. The smallest code with transversal T, 2022. arXiv:2210.14066.
[28] Florence J. MacWilliams and Neil J. A. Sloane. The Theory of Error-Correcting Codes. North-Holland, 1977. DOI: 10.1016/S0924-6509(08)X7030-8.
[29] N. J. A. Sloane and E. R. Berlekamp. Weight enumerator for second-order Reed–Muller codes. IEEE Transactions on Information Theory, 16(6):745–751, 1970. DOI: 10.1109/TIT.1970.1054553.
[30] Tadao Kasami and Nobuki Tokura. On the weight structure of Reed–Muller codes. IEEE Transactions on Information Theory, 16(6):752–759, 1970. DOI: 10.1109/TIT.1970.1054545.
[31] Tadao Kasami, Nobuki Tokura, and Saburo Azumi. On the weight enumeration of weights less than 2.5d of Reed–Muller codes. Information and Control, 30(4):380–395, 1976. DOI: 10.1016/S0019-9958(76)90355-7.
[32] Claude Carlet. Boolean Functions for Cryptography and Coding Theory. Cambridge University Press, 2021. DOI: 10.1017/9781108606806.
[33] E. F. Assmus, Jr. and J. D. Key. Designs and Their Codes. Number 103 in Cambridge Tracts in Mathematics. Cambridge University Press, 1992. DOI: 10.1017/CBO9781316529836.
[34] W. Cary Huffman and Vera Pless. Fundamentals of Error-Correcting Codes. Cambridge University Press, 2003. DOI: 10.1017/CBO9780511807077.
[35] Brendan D. McKay and Adolfo Piperno. Practical graph isomorphism, II. Journal of Symbolic Computation, 60:94–112, 2014. DOI: 10.1016/j.jsc.2013.09.003.
[36] Arjeh M. Cohen and Aloysius G. Helminck. Trilinear alternating forms on a vector space of dimension 7. Communications in Algebra, 16(1):1–25, 1988. DOI: 10.1080/00927878808823558.
[37] An Braeken, Yuri Borissov, Svetla Nikova, and Bart Preneel. Classification of Boolean functions of 6 variables or less with respect to cryptographic properties. Cryptology ePrint Archive, Report 2004/248, 2004. URL https://eprint.iacr.org/2004/248. Conference version: Automata, Languages and Programming, LNCS 3580, pp. 324–334 (2005), DOI: 10.1007/11523468'27.