This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Binary Triorthogonal and CSS-T Codes for Quantum Error Correction

Eduardo Camps-Moreno Department of Mathematics
Virginia Tech
Blacksburg, VA USA
e.camps@vt.edu
   Hiram H. López Department of Mathematics
Virginia Tech
Blacksburg, VA USA
hhlopez@vt.edu
   Gretchen L. Matthews {@IEEEauthorhalign} Diego Ruano Department of Mathematics
Virginia Tech
Blacksburg, VA USA
gmatthews@vt.edu
IMUVA-Mathematics Research Institute
Universidad de Valladolid
Valladolid, Spain
diego.ruano@uva.es
   Rodrigo San-José {@IEEEauthorhalign} Ivan Soprunov IMUVA-Mathematics Research Institute
Universidad de Valladolid
Valladolid, Spain
rodrigo.san-jose@uva.es
Department of Mathematics and Statistics
Cleveland State University
Cleveland, OH, USA
i.soprunov@csuohio.edu
Abstract

In this paper, we study binary triorthogonal codes and their relation to CSS-T quantum codes. We characterize the binary triorthogonal codes that are minimal or maximal with respect to the CSS-T poset, and we also study how to derive new triorthogonal matrices from existing ones. Given a binary triorthogonal matrix, we characterize which of its equivalent matrices are also triorthogonal. As a consequence, we show that a binary triorthogonal matrix uniquely determines the parameters of the corresponding triorthogonal quantum code, meaning that any other equivalent matrix that is also triorthogonal gives rise to a triorthogonal quantum code with the same parameters.

Index Terms:
Triorthogonal codes, quantum codes, CSS construction, linear codes

I Introduction

Due to noise and decoherence, quantum error-correction is required to achieve quantum fault-tolerant computation. The most well-known construction of quantum error-correcting codes (QECCs) is the CSS construction, obtained independently in the works of Calderbank and Shor [3] and Steane [8]. Since this construction requires a nested pair of classical codes C2C1C_{2}\subseteq C_{1}, it provides a bridge between QECCs and classical coding theory.

Due to Eastin–Knill theorem [5], it is not possible to find a QECC that implements a universal gate set transversely. One strategy to circumvent this limitation is to use magic state distillation protocols to implement a logical non-Clifford gate, usually the TT gate [2], which requires QECCs implementing the logical TT gate. In this context, triorthogonal codes and CSS-T codes have gained attention because of their potential for magic state distillation. Triorthogonal matrices were introduced by Bravyi and Haah [1] as binary matrices in which the common supports of all pairs and of all triples of rows have even cardinalities. From such a matrix, one can construct a QECC that implements the logical TT gate when applying a physical transversal TT gate, up to a possible Clifford correction. In fact, if one wants to avoid the Clifford correction, then [7] shows that triorthogonality, plus some weight conditions, is a necessary and sufficient condition to obtain the logical TT from the physical transversal TT gate.

CSS-T codes are a generalization of triorthogonal codes introduced in [7]. These codes only require the physical transversal TT gate to induce some logical operation on the logical qubits, which might not be the logical TT. In [4], an alternative characterization of binary CSS-T codes is given, and the poset of binary CSS-T pairs is introduced. By definition, triorthogonal codes are CSS-T codes, and some of the connections between both types of codes are studied in [7]. In this paper, we further explore the relations between binary triorthogonal and binary CSS-T quantum codes, and we study how binary triorthogonal codes fit within the binary CSS-T poset.

The main contributions of this paper include

  • a propagation rule for triorthogonal codes: Theorem III.14 and Corollary III.15 shows that if CC is linear code giving rise to a triorthogonal [[n,k,d]][[n,k,d]] QECC and v(C2)Cv\in(C^{\ast 2})^{\perp}\setminus C is a vector of odd weight, then C+vC+\langle v\rangle yields a triorthogonal [[n,k+1,d]][[n,k+1,d]] QECC via the CSS construction.

  • a description of the poset of linear codes giving rise to triorthogonal QECCs via the CSS construction (see Definition III.17) with minimal and maximal elements given in Theorem III.18.

This paper is organized as follows. Section II covers the necessary background. Section III discusses the poset of triorthogonal codes and some relations to the CSS-T poset. A conclusion is provided in Section IV.

II Preliminaries

We use the standard notation for finite fields and matrices: 𝔽2{\mathbb{F}}_{2} denotes the finite field with two elements 0 and 11; 𝔽2m×n{\mathbb{F}}_{2}^{m\times n} denotes the set of m×nm\times n matrices with entries in 𝔽2{\mathbb{F}}_{2}; and 𝔽2n:=𝔽21×n{\mathbb{F}}_{2}^{n}:={\mathbb{F}}_{2}^{1\times n}. Given u,v𝔽2nu,v\in{\mathbb{F}}_{2}^{n}, uv:=i=1nuivi𝔽2u\cdot v:=\sum_{i=1}^{n}u_{i}v_{i}\in{\mathbb{F}}_{2} denotes their usual dot product. The weight of a vector v𝔽2nv\in{\mathbb{F}}_{2}^{n} is taken to be its Hamming weight wt(v):=i=1nviwt(v):=\sum_{i=1}^{n}v_{i}. Sometimes we write |v|=wt(v)mod2|v|=wt(v)\mod 2, or, equivalently, |v|=v,v|v|=\langle v,v\rangle. The set of rows of a matrix M𝔽2m×nM\in{\mathbb{F}}_{2}^{m\times n} is denoted by Rows(M)\operatorname{Rows}(M), the rowspace of MM is denoted by Rowsp(M)\operatorname{Rowsp}(M), and the transpose of MM is Mt𝔽2n×mM^{t}\in{\mathbb{F}}_{2}^{n\times m}. The all-ones vector is 𝟙:=(1,,1)𝔽2n\mathbbm{1}:=(1,\ldots,1)\in{\mathbb{F}}_{2}^{n}, and the k×kk\times k identity matrix is denoted by IkI_{k}. We also use the standard notation from coding theory. A binary linear code CC of length nn, dimension kk, and minimum distance dd is a kk-dimensional 𝔽2{\mathbb{F}}_{2}-subspace of 𝔽2n{\mathbb{F}}_{2}^{n} in which the minimum Hamming weight of a nonzero codeword is dd, and referred to as an [n,k,d][n,k,d] code. The dual of such a code CC is an [n,nk,d][n,n-k,d^{\prime}] code C:={u𝔽2:uc=0cC}C^{\perp}:=\left\{u\in{\mathbb{F}}_{2}:u\cdot c=0\ \forall c\in C\right\}. A generator matrix for CC is a matrix G𝔽2k×nG\in{\mathbb{F}}_{2}^{k\times n} where nkn\geq k with Rowsp(G)=C\operatorname{Rowsp}(G)=C. In this paper, we restrict our attention to binary linear codes and, hence, say code to mean a binary linear code. The relative hull of a code C1C_{1} with respect to another code C2C_{2} of the same length is

HullC2(C1):=C1C2,\operatorname{Hull}_{C_{2}}(C_{1}):=C_{1}\cap C_{2}^{\perp},

and the hull of a code CC is the relative hull of CC with respect to itself:

Hull(C):=CC.\operatorname{Hull}(C):=C\cap C^{\perp}.

The Schur product of vectors u=(u1,,un)u=(u_{1},\ldots,u_{n}) and v=(v1,,vn)v=(v_{1},\ldots,v_{n}) in 𝔽2n{\mathbb{F}}_{2}^{n} is the vector

uv:=(u1v1,,unvn)𝔽2n.u\star v:=(u_{1}v_{1},\ldots,u_{n}v_{n})\in{\mathbb{F}}_{2}^{n}.

The Schur product of codes C,C𝔽2nC,C^{\prime}\subseteq{\mathbb{F}}_{2}^{n} is the code

CC:=Span{cc:cC,cC}𝔽2n.C\star C^{\prime}:=\operatorname{Span}\left\{c\star c^{\prime}:c\in C,c^{\prime}\in C^{\prime}\right\}\subseteq{\mathbb{F}}_{2}^{n}.

The square of the code CC is C2:=CCC^{\star 2}:=C\star C, and for a positive integer ii, the ii-th power of CC is Ci:=CCitimesC^{\star i}:=\underbrace{C\star\cdots\star C}_{i\ \textnormal{times}}.

Codes C1C_{1} and C2C_{2} satisfying C2C1C_{2}\subseteq C_{1} may be used to define a quantum stabilizer code Q(C1,C2)Q(C_{1},C_{2}) via the CSS construction [3, 8]. The CSS code Q(C1,C2)Q(C_{1},C_{2}) is an

[[n,k1k2,min{d1,d2}]][[n,k_{1}-k_{2},\geq\min\{d_{1},d_{2}^{\perp}\}]]

quantum code, where CiC_{i} is an [n,ki,dk][n,k_{i},d_{k}] code, for i=1,2i=1,2, and d2d_{2}^{\perp} is the minimum distance of C2C_{2}^{\perp}. It was shown in [4, Theorem 2.3] that such a code is CSS-T if and only if

C2HullC12C1=C1(C12).C_{2}\subseteq\operatorname{Hull}_{C_{1}^{\star 2}}C_{1}=C_{1}\cap\left(C_{1}^{\star 2}\right)^{\perp}. (II.1)

In this case, we refer to (C1,C2)(C_{1},C_{2}) as a CSS-T pair. Moreover, we can say more about the parameters of the resulting quantum code.

Proposition II.1.

[4, Corollary 2.5] If (C1,C2)(C_{1},C_{2}) is a CSS-T pair, then Q(C1,C2)Q(C_{1},C_{2}) is an [[n,k1k2,d2]][[n,k_{1}-k_{2},\geq d_{2}^{\perp}]] code.

III Poset of triorthogonal codes

In this section, we consider binary triorthogonal matrices and the codes they define.

Definition III.1.

A binary matrix GG is called triorthogonal if for every triple of distinct u,v,wRows(G)u,v,w\in\operatorname{Rows}(G) the Schur products uvu\star v and uvwu\star v\star w have even weights. A binary linear code C𝔽2nC\subset{\mathbb{F}}_{2}^{n} is called triorthogonal if it has a triorthogonal generator matrix.

Remark III.2.

Note that a binary linear code may have several triorthogonal generator matrices GG. However, the span of the even weighted rows of GG is unique and equals the hull of CC, as shown in [1, Lemma 1]; that is, given any triorthogonal generator matrix G𝔽2k×nG\in{\mathbb{F}}_{2}^{k\times n} of a code CC, one has

Rowsp(G0)=Hull(C),\operatorname{Rowsp}\left(G_{0}\right)=\operatorname{Hull}(C),

regardless of the choice of GG, where G0𝔽2k×nG_{0}\in{\mathbb{F}}_{2}^{k^{\prime}\times n} denotes the submatrix of GG consisting of all even weighted rows of GG. We do not distinguish between matrices with the same set of rows, only permuted, as they generate the same code. Hence, we may assume that given a generator matrix GG, its rows are ordered so that

G=(G1G0)G=\begin{pmatrix}G_{1}\\ G_{0}\end{pmatrix} (III.1)

where the rows of G1G_{1} are all of odd weight and the rows of G0G_{0} are all of even weight.

As mentioned above, CSS-T codes are a generalization of triorthogonal codes. This can be concluded from the following proposition.

Proposition III.3.

Let CC be a binary triorthogonal code. Then

C2C+C.C^{\star 2}\subseteq C+C^{\perp}.

As a consequence, if we let C1=CC_{1}=C, C2=Hull(C)C_{2}=\operatorname{Hull}(C), then (C1,C2)(C_{1},C_{2}) is a CSS-T pair.

Proof.

Let GG be a triorthogonal generator matrix for CC. Let x=i=1kuivix=\sum_{i=1}^{k}u_{i}\star v_{i} be an element of C2C^{\star 2} for some ui,viRows(G)u_{i},v_{i}\in\operatorname{Rows}(G). If ui=viu_{i}=v_{i} then uivi=uiui=uiCu_{i}\star v_{i}=u_{i}\star u_{i}=u_{i}\in C. If uiviu_{i}\neq v_{i} then for any wCw\in C the vector uiviwu_{i}\star v_{i}\star w is even weighted and, hence, (uivi)w=0(u_{i}\star v_{i})\cdot w=0. This shows that uiviCu_{i}\star v_{i}\in C^{\perp}. Therefore, xC+Cx\in C+C^{\perp}.

Let C1C_{1} and C2C_{2} be as in the statement of the proposition. Then (C12)Hull(C1)(C_{1}^{\star 2})^{\perp}\supseteq\operatorname{Hull}(C_{1}) by the previous reasoning, which implies

HullC12(C1)Hull(C1)=C2.\operatorname{Hull}_{C_{1}^{\star 2}}(C_{1})\supseteq\operatorname{Hull}(C_{1})=C_{2}.

We finish by recalling Equation (II.1). ∎

Before continuing, let us clarify that Proposition III.3 does not characterize triorthogonal codes. The next example demonstrates that the condition C2C+CC^{\star 2}\subseteq C+C^{\perp} (in fact, even C2=C+CC^{\star 2}=C+C^{\perp}) is not sufficient to guarantee that CC is triorthogonal.

Example III.4.

Consider the binary code CC with generator matrix G=(110000110000011)G=\begin{pmatrix}1&1&0&0&0\\ 0&1&1&0&0\\ 0&0&0&1&1\end{pmatrix}. Then CC^{\perp} and C2C^{\ast 2} are generated respectively by

(1110000011)and(10000010000010000011).\begin{pmatrix}1&1&1&0&0\\ 0&0&0&1&1\end{pmatrix}\ \ \text{and}\ \ \begin{pmatrix}1&0&0&0&0\\ 0&1&0&0&0\\ 0&0&1&0&0\\ 0&0&0&1&1\end{pmatrix}.

From this, it is easy to see that C2=C+CC^{\ast 2}=C+C^{\perp}. However, CC cannot be generated by a triorthogonal matrix, since CC is even but

Hull(C)=Span{(00011)}.\operatorname{Hull}(C)=\mathrm{Span}\{\begin{pmatrix}0&0&0&1&1\end{pmatrix}\}.

This contradicts the condition given in Remark III.2.

If GG is a generator matrix of a binary triorthogonal code CC, then the associated CSS-T pair is (C,Hull(C))(C,\operatorname{Hull}(C)). Thus, we can speak about the triorthogonal code CC generated by GG or we can speak about the triorthogonal pair (C,Hull(C))(C,\operatorname{Hull}(C)).

Definition III.5.

A quantum triorthogonal code QQ is the quantum code obtained using the CSS-T pair (C,Hull(C))(C,\operatorname{Hull}(C)), where CC is a triorthogonal code.

Remark III.6.

Let CC be a binary triorthogonal code with generator matrix as in Equation (III.1). By Remark III.2 we have Rowsp(G0)=Hull(C)HullC2(C)\operatorname{Rowsp}(G_{0})=\operatorname{Hull}(C)\supseteq\operatorname{Hull}_{C^{\star 2}}(C). Since (C,Hull(C))(C,\operatorname{Hull}(C)) is a CSS-T pair, from Equation (II.1) we obtain

Rowsp(G0)=Hull(C)=HullC2(C).\operatorname{Rowsp}(G_{0})=\operatorname{Hull}(C)=\operatorname{Hull}_{C^{\star 2}}(C).

It is important to observe that triorthogonality is a property of the code rather than a property of a specific generator matrix. This suggests then that the triorthogonal matrix that generates a triorthogonal code is unique up to specific transformations. This is indeed the case, according to the following Theorem III.9 below.

First, we require a couple of lemmas.

Lemma III.7.

Let GG be a binary triorthogonal matrix as in (III.1). Then

GGt=(Ik1000),GG^{t}=\begin{pmatrix}I_{k_{1}}&0\\ 0&0\end{pmatrix},

or equivalently G1G1t=Ik1G_{1}G_{1}^{t}=I_{k_{1}} and GiG0t=0G_{i}G_{0}^{t}=0 for i=0,1i=0,1.

Proof.

It follows from the definition of triorthogonality. ∎

Lemma III.8.

Let G𝔽2n×nG\in{\mathbb{F}}_{2}^{n\times n}. If GG is nonsingular and triorthogonal, then GG is a permutation matrix.

Proof.

Let gig_{i}, 1in1\leq i\leq n, be the rows of GG. Since GG is nonsingular, its rows generate 𝔽2n{\mathbb{F}}_{2}^{n} and thus, the hull is zero (Remark III.2), implying that gig_{i} is odd for each ii. Even more, for iji\neq j, we have

gigj=h=1nαhgh,g_{i}\star g_{j}=\sum_{h=1}^{n}\alpha_{h}g_{h},

for some α1,,αn𝔽2\alpha_{1},\dots,\alpha_{n}\in{\mathbb{F}}_{2}. Since GG is triorthogonal, we obtain

0=|gigjgk|=|h=1nαhgkgh|=|αkgk|0=|g_{i}\star g_{j}\star g_{k}|=\left|\sum_{h=1}^{n}\alpha_{h}g_{k}\star g_{h}\right|=|\alpha_{k}g_{k}|

where |v||v| denotes the weight modulo 2. Since each gkg_{k} is odd, we have αk=0\alpha_{k}=0. Hence, gigj=0g_{i}\star g_{j}=0, which implies the rows of GG have pairwise disjoint support, proving the statement. ∎

Theorem III.9.

Let Gi𝔽2ki×nG_{i}\in{\mathbb{F}}_{2}^{k_{i}\times n}, i=0,1i=0,1, where G1G_{1} has rows of odd weight and G0G_{0} has rows of even weight. Suppose GG as in Expression (III.1) forms a triorthogonal matrix, and let M𝔽2(k0+k1)×(k0+k1)M\in{\mathbb{F}}_{2}^{(k_{0}+k_{1})\times(k_{0}+k_{1})} be a non-singular matrix. Then MGMG is a triorthogonal matrix if and only if

M=(PM20M4),M=\begin{pmatrix}P&M_{2}\\ 0&M_{4}\end{pmatrix},

where P𝔽2k1×k1P\in{\mathbb{F}}_{2}^{k_{1}\times k_{1}} is a permutation matrix, M4𝔽2k0×k0M_{4}\in{\mathbb{F}}_{2}^{k_{0}\times k_{0}} is non-singular, and M2𝔽2k1×k0M_{2}\in{\mathbb{F}}_{2}^{k_{1}\times k_{0}}.

Proof.

The “if” statement can be easily checked. Now, assume

M=(M1M2M3M4)M=\begin{pmatrix}M_{1}&M_{2}\\ M_{3}&M_{4}\end{pmatrix}

is non-singular, where M1𝔽k1×k1M_{1}\in{\mathbb{F}}^{k_{1}\times k_{1}}, M4𝔽k0×k0M_{4}\in{\mathbb{F}}^{k_{0}\times k_{0}}. We have

MG=(M1G1+M2G0M3G1+M4G0).MG=\begin{pmatrix}M_{1}G_{1}+M_{2}G_{0}\\ M_{3}G_{1}+M_{4}G_{0}\end{pmatrix}.

By Lemma III.7, we have G1G1t=Ik1G_{1}G_{1}^{t}=I_{k_{1}} and GiG0t=0G_{i}G_{0}^{t}=0, for i=0,1i=0,1. Thus

MG(MG)t=(M1M1tM1M3tM3M1tM3M3t).MG(MG)^{t}=\begin{pmatrix}M_{1}M_{1}^{t}&M_{1}M_{3}^{t}\\ M_{3}M_{1}^{t}&M_{3}M_{3}^{t}\end{pmatrix}.

If MGMG is also triorthogonal, by Lemma III.7, we have

MG(MG)t=(M1M1tM1M3tM3M1tM3M3t)=(Ik1000),MG(MG)^{t}=\begin{pmatrix}M_{1}M_{1}^{t}&M_{1}M_{3}^{t}\\ M_{3}M_{1}^{t}&M_{3}M_{3}^{t}\end{pmatrix}=\begin{pmatrix}I_{k_{1}}&0\\ 0&0\end{pmatrix},

permuting rows if necessary (which is allowed according to Remark III.2).

Since M1M1t=Ik1M_{1}M_{1}^{t}=I_{k_{1}}, M1M_{1} is invertible, and from M3M1t=0M_{3}M_{1}^{t}=0 we deduce M3=0M_{3}=0. Since MM is invertible, we also have det(M4)0\det(M_{4})\neq 0. The only thing left to prove is that M1M_{1} is a permutation matrix. Let gig_{i} be the ii-th row of GG and observe that the ii-th row of MGMG, 1ik11\leq i\leq k_{1} is of the form

gi=j=1k1(M1)ijgj+j=1k0(M2)ijgk1+j.g^{\prime}_{i}=\sum_{j=1}^{k_{1}}(M_{1})_{ij}g_{j}+\sum_{j=1}^{k_{0}}(M_{2})_{ij}g_{k_{1}+j}.

Observe that for 1i1,i2,i3k11\leq i_{1},i_{2},i_{3}\leq k_{1} we have

|gi1gi2gi3|\displaystyle|g^{\prime}_{i_{1}}\star g^{\prime}_{i_{2}}\star g^{\prime}_{i_{3}}|
=\displaystyle= |j1=1k1j2=1k1j3=1k1(h=13(M1)ihjh)gj1gj2gj3|,\displaystyle\left|\sum_{j_{1}=1}^{k_{1}}\sum_{j_{2}=1}^{k_{1}}\sum_{j_{3}=1}^{k_{1}}\left(\prod_{h=1}^{3}(M_{1})_{i_{h}j_{h}}\right)g_{j_{1}}\star g_{j_{2}}\star g_{j_{3}}\right|,

where the products with at least one row of G0G_{0} are not relevant since Rowsp(G0)=HullC2(C)\mathrm{Rowsp}(G_{0})=\mathrm{Hull}_{C^{\ast 2}}(C) by Remark III.6, where CC is the span of GG. Since GG is triorthogonal, then gj1gj2gj3g_{j_{1}}\star g_{j_{2}}\star g_{j_{3}} is even if at least two of the jij_{i}’s are different, thus

|gi1gi2gi3|\displaystyle|g^{\prime}_{i_{1}}\star g^{\prime}_{i_{2}}\star g^{\prime}_{i_{3}}| =|j=1k1h=13(M1)ihjgj|\displaystyle=\left|\sum_{j=1}^{k_{1}}\prod_{h=1}^{3}(M_{1})_{i_{h}j}g_{j}\right|
=|(M1)i1(M1)i2(M1)i3|,\displaystyle=|(M_{1})_{i_{1}}\star(M_{1})_{i_{2}}\star(M_{1})_{i_{3}}|,

where we have used that |gj|=1|g_{j}|=1 and the fact that the weight modulo 2 is a linear map from 𝔽2n{\mathbb{F}}_{2}^{n} to 𝔽2{\mathbb{F}}_{2}.

Therefore, MGMG is triorthogonal if and only if M1M_{1} is triorthogonal and det(M4)0\det(M_{4})\neq 0. Since M1M_{1} is non-singular then it is a permutation matrix by Lemma III.8 and we have the conclusion. ∎

Remark III.10.

Notice that Theorem III.9 also highlights the fact that a binary triorthogonal code may have a generator matrix which is not a binary triorthogonal matrix.

Theorem III.9 proves that a triorthogonal basis of CC (in the sense that the elements of the basis form a triorthogonal matrix) is unique modulo Hull(C)\operatorname{Hull}(C). As a corollary we have the following.

Corollary III.11.

Let C𝔽2nC\subseteq\mathbb{F}_{2}^{n} be a binary triorthogonal code. Then the corresponding quantum triorthogonal code has parameters

[[n,dimCdimHull(C),d(C+C)]]2.[[n,\dim C-\dim\operatorname{Hull}(C),\geq d(C+C^{\perp})]]_{2}.
Remark III.12.

The XX-stabilizers of a quantum triorthogonal code are given by Hull(C)\operatorname{Hull}(C) while the ZZ-stabilizers are given by CC^{\perp}. Once again, the choice of a triorthogonal matrix for CC is not relevant, since any of such matrices gives the same quantum code.

In analogy with CSS-T pairs, we will see that we can either increase or reduce the dimension of a triorthogonal code.

Proposition III.13.

Let CC be a binary triorthogonal code of dimension at least 22. There is a triorthogonal code CC^{\prime} such that dimC=dimC+1\dim C=\dim C^{\prime}+1.

Proof.

This follows immediately by deleting an odd row in a triorthogonal generator matrix of CC. ∎

Theorem III.14.

Let CC be a binary triorthogonal code. If v(C2)v\in(C^{\ast 2})^{\perp}, then C+vC+\langle v\rangle is a triorthogonal code.

Proof.

By hypothesis, CC has a triorthogonal generator matrix

G=(G1G0).G=\begin{pmatrix}G_{1}\\ G_{0}\end{pmatrix}.

We consider the matrix

G=(G1G0),G^{\prime}=\begin{pmatrix}G^{\prime}_{1}\\ G^{\prime}_{0}\end{pmatrix},

where G1=(vG1)G^{\prime}_{1}=\begin{pmatrix}v\\ G_{1}\end{pmatrix} and G0=G0G^{\prime}_{0}=G_{0} if vv is odd weighted; and G1=G1G^{\prime}_{1}=G_{1} and G0=(vG0)G_{0}=\begin{pmatrix}v\\ G_{0}\end{pmatrix} if vv is even weighted.

We have that G1G^{\prime}_{1} has odd weighted rows and G0G^{\prime}_{0} has even weighted rows. We will prove that GG^{\prime} is triorthogonal. The only conditions we need to check are those that involve vv since GG is triorthogonal. Let gvg\neq v be a row of GG^{\prime}. Then gCg\in C and vg=0v\cdot g=0 since v(C2)Cv\in(C^{\star 2})^{\perp}\subset C^{\perp} (recall CC2C\subset C^{\star 2} as CC is a binary code). Let g1g2g_{1}\neq g_{2} be two rows of GG^{\prime} different from vv. Then g1g2C2g_{1}\star g_{2}\in C^{\star 2}, which implies (g1g2)v=0(g_{1}\star g_{2})\cdot v=0, proving that GG^{\prime} is triorthogonal. ∎

Corollary III.15.

Let CC be a triorthogonal binary linear code, v(C2)v\in(C^{\ast 2})^{\perp} and denote by C=C+vC^{\prime}=C+\langle v\rangle. Let QQ and QQ^{\prime} be the corresponding quantum triorthogonal codes. If vv is odd and QQ is [[n,k,d]][[n,k,d]], then QQ^{\prime} is a binary [[n,k+1,d]][[n,k+1,d]] triorthogonal code.

Proof.

The result follows from Theorem III.14 and the fact that we are changing CC without changing its hull. Thus, the bound on the minimum distance remains the same. ∎

Remark III.16.

Keeping the same notation as in Corollary III.15 above, if vv is even, dimQ=dimQ\dim Q=\dim Q^{\prime} but the lower bound on the minimum distance of the codes can be different since d(C+C)d(C+C)d(C+C^{\perp})\leq d(C^{\prime}+{C^{\prime}}^{\perp}).

Recall that the poset of binary CSS-T pairs (C1,C2)(C_{1},C_{2}) is defined using the entry-wise partial order on the pairs, i.e. (C1,C2)(C1,C2)(C_{1},C_{2})\leq(C_{1}^{\prime},C_{2}^{\prime}) if and only if C1C1C_{1}\subseteq C_{1}^{\prime} and C2C2C_{2}\subseteq C_{2}^{\prime}; see [4] for additional details. As any trigorthogonal code CC defines a CSS-T pair (C,Hull(C))(C,\operatorname{Hull}(C)), we propose the following definition of a poset of binary triorthogonal codes.

Definition III.17.

Let CC and CC^{\prime} be triorthogonal codes in 𝔽2n{\mathbb{F}}_{2}^{n}. Define a partial order

CCC\leq C^{\prime}

if and only if

CC and Hull(C)Hull(C).C\subseteq C^{\prime}\ \textnormal{ and }\ \operatorname{Hull}(C)\subseteq\operatorname{Hull}(C^{\prime}).

Denote by 𝒯\cal{T} the poset of triorthogonal codes under this partial order.

The next result characterizes the minimal and maximal elements of 𝒯\cal{T}.

Theorem III.18.

Let CC be a binary triorthogonal code.

  1. 1.

    CC is a minimal element of 𝒯\cal{T} if and only CC is a one-dimensional even code.

  2. 2.

    CC is a maximal element of 𝒯\cal{T} if and only if (C2)=Hull(C)(C^{\star 2})^{\perp}=\operatorname{Hull}(C).

Proof.

1) This result follows immediately from the definition.

2) The code CC is maximal if and only if (C2)C(C^{\star 2})^{\perp}\subseteq C (one direction is clear by Theorem III.14, and the other one follows from the definition of triorthogonal codes). Since CC is binary, CC2C\subseteq C^{\star 2}, i.e., (C2)C(C^{\star 2})^{\perp}\subseteq C^{\perp}. We have (C2)Hull(C)=HullC2(C)(C^{\star 2})^{\perp}\subseteq\operatorname{Hull}(C)=\operatorname{Hull}_{C^{\star 2}}(C) by Remark III.6, which implies (C2)=HullC2(C)=Hull(C)(C^{\star 2})^{\perp}=\operatorname{Hull}_{C^{\star 2}}(C)=\operatorname{Hull}(C). ∎

As a Corollary of Theorem III.14, we can obtain the following result about the poset of triorthogonal codes.

Corollary III.19.

Let CC be a binary triorthogonal code. If 𝟙C2\mathbbm{1}\in C^{\star 2}, then CC cannot be extended to another triorthogonal code without modifying the hull.

Proof.

To extend CC to another triorthogonal code we need to find vectors in (C2)(C^{\star 2})^{\perp}. If 𝟙C2\mathbbm{1}\in C^{\star 2}, all of these vectors are even weighted. The argument from Theorem III.14 for the even weighted case shows that resulting code after extending has increased the dimension of its hull. ∎

In [4] it is proven that a binary CSS-T pair (C1,C2)(C_{1},C_{2}) is maximal in the second component if and only if C2=C1(C12)C_{2}=C_{1}\cap(C_{1}^{\star 2})^{\perp}. This is always the case with triorthogonal quantum codes (C,Hull(C))(C,\operatorname{Hull}(C)) by Remark III.6. Therefore, we obtain the following.

Corollary III.20.

If CC is a binary triorthogonal code, then the CSS-T pair (C,Hull(C))(C,\operatorname{Hull}(C)) is maximal in the second component with respect to the CSS-T poset.

IV Conclusion

In this paper we have studied binary triorthogonal codes and their poset. We have also shown that equivalent triorthogonal matrices give rise to quantum codes with the same parameters and we have given a propagation rule for quantum triorthogonal codes. Future research agenda includes constructing triorthogonal codes with good parameters using well known families of classical codes, such as cyclic or quasi-cyclic codes, and studying the generalization of triorthogonal codes to the pp-ary case [6].

V Acknowledgements

Part of this work was done during the visit of Eduardo Camps Moreno, Hiram H. López, Gretchen L. Matthews, and Ivan Soprunov to Universidad de Valladolid. They thank Diego Ruano and Rodrigo San-José for their hospitality. The initial collaboration amongst the group (absent San-José) was facilitated by the Collaborate@ICERM program, supported by the National Science Foundation under Grant No. DMS-1929284.

Hiram H. López was partially supported by the NSF grant DMS-2401558. Gretchen L. Matthews was partially supported by NSF DMS-2201075 and the Commonwealth Cyber Initiative. Diego Ruano and Rodrigo San-José were partially supported by Grant TED2021-130358B-I00 funded by MICIU/AEI/ 10.13039/501100011033 and by the “European Union NextGenerationEU/PRTR”, by Grant PID2022-138906NB-C21 funded by MICIU/AEI/ 10.13039/501100011033 and by ERDF/EU, and by Grant QCAYLE supported by the European Union.-Next Generation UE/MICIU/PRTR/JCyL. Rodrigo San-José was also partially supported by Grant FPU20/01311 funded by the Spanish Ministry of Universities.

Declarations

Conflict of interest

The authors declare no conflict of interest.

References

  • [1] S. Bravyi and J. Haah. Magic-state distillation with low overhead. Phys. Rev. A, 86:052329, Nov 2012.
  • [2] S. Bravyi and A. Kitaev. Universal quantum computation with ideal Clifford gates and noisy ancillas. Phys. Rev. A (3), 71(2):022316, 14, 2005.
  • [3] A. R. Calderbank and P. W. Shor. Good quantum error-correcting codes exist. Phys. Rev. A, 54:1098–1105, Aug 1996.
  • [4] E. Camps-Moreno, H. H. López, G. L. Matthews, D. Ruano, R. San-José, and I. Soprunov. An algebraic characterization of binary CSS-T codes and cyclic CSS-T codes for quantum fault tolerance. Quantum Inf. Process., 23(6), June 2024.
  • [5] B. Eastin and E. Knill. Restrictions on transversal encoded quantum gate sets. Phys. Rev. Lett., 102:110502, Mar 2009.
  • [6] A. Krishna and J.-P. Tillich. Towards low overhead magic state distillation. Phys. Rev. Lett., 123:070507, Aug 2019.
  • [7] N. Rengaswamy, R. Calderbank, M. Newman, and H. D. Pfister. On optimality of CSS codes for transversal T. IEEE Journal on Selected Areas in Information Theory, 1(2):499–514, 2020.
  • [8] A. Steane. Multiple-Particle Interference and Quantum Error Correction. Proceedings of the Royal Society of London Series A, 452(1954):2551–2577, Nov. 1996.