scieee AI-readable full text Open interactive document viewer

Entanglement-assisted quantum error-correcting codes over arbitrary finite fields

Galindo, Carlos,Hernando, Fernando,Matsumoto, Ryutaroh,Ruano Benito, Diego

Abstract

Supported by the Spanish Ministry of Economy/FEDER: grants MTM2015-65764-C3-1-P, MTM2015-65764-C3-2-P, MTM2015-69138-REDT and RYC-2016-20208 (AEI/FSE/UE), the University Jaume I: grant UJI-B2018-10, Spanish Junta de CyL: grant VA166G18, and JSPS Grant No. 17K06419.

Full text

ENTANGLEMENT-ASSISTED QUANTUM ERROR-CORRECTING CODES OVER ARBITRARY FINITE FIELDS C. GALINDO, F. HERNANDO, R. MATSUMOTO AND D. RUANO Abstract. We prove that the known formulae for computing the optimal number of maximally entangled pairs required for entanglement-assisted quantum error-correcting codes (EAQECCs) over the binary field hold for codes over arbitrary finite fields as well. We also give a Gilbert-Varshamov bound for EAQECCs and constructions of EAQECCs coming from punctured self-orthogonal linear codes which are valid for any finite field. 1. Introduction The Shor’s proposal of using quantum error correction for reducing decoherence in quantum computation [24] and his polynomial-time algorithms for prime factorization and discrete logarithms on quantum computers [25] clearly illustrate the feasibility and importance of quantum computation and quantum error-correcting. Most of the quantum error-correcting codes (QECCs) come from classical codes. The first known stabilizer quantum codes were binary [5, 10]. Later, stabilizer codes over any finite field were introduced and studied, they are of particular interest because their utility in fault-tolerant computation. Following [13], one can obtain QECCs of length nover a finite field Fqfrom additive codes included in F2n qwhich are self-orthogonal with respect to a trace symplectic form. Working on this construction, QECCs of length nover Fqcan be derived from classical self-orthogonal codes with respect to the Hermitian inner product included in Fn q2, and also from codes in Fn qwhich are self-orthogonal with respect to the Euclidean inner product. The previously mentioned self-orthogonality conditions (or some similar requirements of inclusion of codes in the dual of others) prevent the usage of many common classical codes for providing quantum codes. Brun, Dvetak and Hsieh in [3] proposed to share entanglement between encoder and decoder to simplify the theory of quantum error-correction and increase the communication capacity. With this new formalism, entanglement-assisted quantum stabilizer codes can be constructed from any classical linear code giving rise to entanglement-assisted quantum error-correcting codes (EAQECCs). A formula to obtain the optimal number of ebits required for a binary entanglement-assisted code of Calderbank-Shor-Steane (CSS) type was showed in [12] and formulae for more general constructions, including the consideration of duality with respect to symplectic forms were given in [26]. In fact, [26] proves that the optimal number cof ebits required for a binary entanglement-assisted quantum error-correcting code with generator matrix (HX|HZ)is rank(HXHT Z−HZHT X)/2, where the superindex Tmeans transpose. Remark 1 in that 2010 Mathematics Subject Classification. 81P70; 94B65; 94B05. Key words and phrases. Entanglement-assisted quantum error-correcting codes; Symplectic, Hermitian and Euclidean duality; Gilbert-Varshamov bound. Supported by the Spanish Ministry of Economy/FEDER: grants MTM2015-65764-C3-1-P, MTM2015- 65764-C3-2-P, MTM2015-69138-REDT and RYC-2016-20208 (AEI/FSE/UE), the University Jaume I: grant UJI-B2018-10, Spanish Junta de CyL: grant VA166G18, and JSPS Grant No. 17K06419. 1 2 C. GALINDO, F. HERNANDO, R. MATSUMOTO AND D. RUANO paper states, without a proof, that the same formula holds when considering codes over finite fields Fp,pbeing a prime number, a proof can be found in [18]. Recently, one can find in the literature some papers where the above formula (or formulae derived from it) are used for determining the entanglement corresponding to EAQECCs over arbitrary finite fields (see, for instance [6, 9, 17, 21]). Although it holds for any finite field, we have found no proof in the literature and, thus, this work fills this gap. Therefore, this paper is devoted to prove formulae for the minimum required number cof pairs of maximally entangled quantum states, corresponding to EAQECCs codes obtained from linear codes Cover any finite field, by using symplectic forms, or Hermitian or Euclidean inner products. We also show (see Subsection 2.4) that in the Hermitian and Euclidean cases, cis easy to compute when one chooses, as a basis of the linear code Cof length n, a subset of those vectors giving rise to a geometric decomposition of the coordinate space of dimension nthat contains C[22]. In [15], a Gilbert-Varshamov type formula for the existence of binary EAQECCs was presented. Still with the idea of extending the binary case to the general one and with the help of our study of entanglement-assisted codes, we give a Gilbert-Varshamov type formula which is valid for any finite field. Furthermore, we will also provide conditions of existence and parameters of EAQECCs coming from classical self-orthogonal codes (say C) over any finite field. Since fewer qudits should be transmitted through a noisy channel, they perform better. Constructions of this type have been considered in the binary case for giving a coding scheme with imperfect e-bits [15]. Theorems 1, 3 and 4 contain our results about the entanglement required for EAQECCs over arbitrary finite fields. Section 2 also explains how, in the Hermitian and Euclidean cases, nice bases of the vector spaces that contain the supporting linear codes allow us to get the corresponding required number c. Section 3 is devoted to state the mentioned Gilbert-Varshamov type bound and Section 4 contains our results about EAQECCs coming from QECC by considering symplectic, Hermitian or Euclidean duality. 2. EAQECCs over Fq The first three subsections of this section are devoted to prove formulae for computing the optimal entanglement corresponding to EAQECCs over arbitrary finite fields when considering symplectic forms, or Hermitian or Euclidean inner products. 2.1. The symplectic case. Let pbe a prime number and qa positive power q=pm. Denote by Fqthe finite field with qelements. We also write Cthe field of complex numbers and Cr,ra positive integer, the r-coordinate space over C. Let nbe a positive integer, it is known (see for instance [13, Theorem 13]) that an ((n, K, d))qstabilizer quantum code over Fqcan be obtained from an additive code C⊆F2n q of size qn/K such that C⊆C⊥ts , and swt(C⊥ts \C) = dwhen K≥1and d= swt(C) otherwise. In the above result, we have considered the following notation which will be used in this paper as well. The symbol ⊥ts means dual with respect to the trace-symplectic form on F2n q: ~a|~ b·ts ~ a0|~ b0= trq/p ~a ·~ b0−~ a0·~ b∈Fp, where ~a|~ b,~ a0|~ b0∈F2n q,~a ·~ b0and ~ a0·~ bare Euclidean products, and trq/p :Fq→Fp, trq/p(x) = x+xp+· · · +xpm−1, EAQECCS OVER ARBITRARY FINITE FIELDS 3 is the standard trace map. Also the symplectic weight is defined as swt ~a|~ b= card {i|(ai, bi)6= (0,0),1≤i≤n}, where ~a = (a1, a2, . . . , an)and ~ b= (b1, b2, . . . , bn). We will also use the symplectic form on F2n qdefined as ~a|~ b·s~ a0|~ b0=~a ·~ b0−~ a0·~ b∈Fq, and the corresponding dual space for an Fq-linear code C⊆F2n qwill be denoted by C⊥s. For the first part of this paper, we fix a trace orthogonal basis of Fqover Fp,B= {γ1, γ2, . . . , γm}. Recall that Bis a basis of Fqas a Fp-linear space satisfying that the matrix M=trq/p(γiγj)1≤i≤m; 1≤j≤m is an invertible and diagonal matrix of size mwith coefficients in Fp. The existence of a basis as Bis proved in [23]. We choose a basis as Bby convenience, but our results also hold if one considers any other basis. Now consider the Fp-linear map h:Fm p→Fq, h(x1, x2, . . . , xm) = m X i=1 xiγi:= x. The map his an isomorphism of Fp-linear spaces and for x∈Fq,h−1(x)gives the coordinates of xin the basis B. Denote by Ωthe inverse matrix of M,Ωis a size mdiagonal invertible matrix with entries in Fp. Let ω1, ω2, . . . , ωmbe its diagonal and define the map: φ:F2m p=Fm p×Fm p−→ F2 q, given by φ((x1, x2, . . . , xm)|(y1, y2, . . . , ym)) = m X i=1 xiγi, m X i=1 yiωiγi! = (h(x1, x2, . . . , xm), h[(y1, y2, . . . , ym)Ω]) . Taking into account that ωi∈Fp,B0={ωiγi}m i=1 is also a trace orthogonal basis of Fq over Fpwhose matrix trq/p(ωiγiωjγj)1≤i≤m; 1≤j≤mis Ω. In sum, φis an isomorphism of Fp-linear spaces and for (x, y)∈F2 q, φ−1(x, y) = φ−1 1(x, y), φ−1 2(x, y)∈F2m p, where φ−1 1(respectively, φ−1 2) is the first (respectively, second) projection of φ−1over the first (respectively, second) component of the Cartesian product Fm p×Fm p. One has that φ−1(x, y)simply gives a pair whose first components are the coordinates of xin the basis Band the second ones are those of yin the basis B0. The above map can be extended to products of ncopies giving rise to the map φE:F2mn p= (Fm p)n×(Fm p)n−→ Fn q×Fn q=F2n q, defined by φE[((a11, . . . , a1m),...,(an1, . . . , anm)|(b11, . . . , b1m),...,(bn1, . . . , bnm))] = (h(a11, . . . , a1m), . . . , h(an1, . . . , anm)|h[(b11, . . . , b1m)Ω], . . . , h[(bn1, . . . , bnm)Ω]) . 4 C. GALINDO, F. HERNANDO, R. MATSUMOTO AND D. RUANO Notice that φEis again an isomorphism of Fp-linear spaces and φE−1~a|~ b=φE−1 1~a|~ b|φE−1 2~a|~ b, where φE−1 1(respectively, φE−1 2) is the first (respectively, second) projection of φE−1 1 over the first (respectively, second) component of the Cartesian product (Fm p)n×(Fm p)n. One has that φE−1~a|~ bequals the vector of coordinates of the element ~a|~ b∈F2n qin the basis of F2n qover Fpgiven by ⊕ntimesBL⊕ntimesB0. Keeping the above notation, it is easy to deduce the following result in [2]. Proposition 1. The following statements hold: a): Let x, y ∈Fq, then trq/p(xy) = φ−1 1(x, y)·φ−1 2(x, y), where ·denotes the Euclidean product in Fm p. b): Let ~a|~ b,~ a0|~ b0∈F2n q, then ~a|~ b·st ~ a0|~ b0=hφE−1 1~a|~ b|φE−1 2~a|~ bi·shφE−1 1~ a0|~ b0|φE−1 2~ a0|~ b0i, where ·sdenotes the symplectic form in F2mn p. Our purpose in this section is to determine the optimal required number of pairs of maximally entangled states of the EAQECC over an arbitrary finite field Fqthat can be constructed from an Fq-linear code C⊆F2n qwith dimension n−k. Assume that (HX|HZ) is an (n−k)×2ngenerator matrix of C. The case when m= 1 (i.e., qis prime) is known (see [26, 18]) and the corresponding result is the following: Theorem 1. Let C⊆F2n pbe an (n−k)-dimensional Fp-linear space and H= (HX|HZ) an (n−k)×2nmatrix whose row space is C. Let C0⊆F2(n+c) pbe an Fp-linear space such that the projection of C0to the 1,2, . . . , n, n +c+ 1, n +c+ 2,...,2n+c-th coordinates is equal to Cand C0⊆(C0)⊥s, where cis the minimum required number of maximally entangled quantum states in Cp⊗Cp. Then, 2c= rank HXHT Z−HZHT X. The encoding quantum circuit is constructed from C0, and it encodes k+clogical qudits in Cp⊗ · · · (k+ctimes)· · · ⊗ Cpinto nphysical qudits using cmaximally entangled pairs. The minimum distance is d:= dsC⊥s\(C∩C⊥s), where dsC⊥s\(C∩C⊥s)= min nswt ~a|~ b|~a|~ b∈C⊥s\(C∩C⊥s)o. In sum, Cprovides an [[n, k +c, d;c]]pEAQECC over the field Fp. Theorem 1 states that the required number of maximally entangled quantum states is given by the rank of the matrix HXHT Z−HZHT X. Our next result shows that, even in the case of codes over an arbitrary finite field Fq, the above number depends only on the code Cand its symplectic dual. Proposition 2. Let C⊆F2n qbe a linear code over Fqand (HX|HZ)its (n−k)×2n generator matrix. Then, rank HXHT Z−HZHT X= dimFqC−dimFq(C∩C⊥s). EAQECCS OVER ARBITRARY FINITE FIELDS 5 Proof. Consider the Fq-linear map f:F2n q→Fn−k qdefined by f~a|~ b=~aHT Z−~ bHT X. Set row(HX|HZ)the row space of the matrix (HX|HZ). Then we have rank HXHT Z−HZHT X= dimFqf(row(HX|HZ)) = dimFqC−dimFqC∩ker(f) = dimFqC−dimFq(C∩C⊥s), which concludes the proof.  Next, with the help of the above proposition, we prove that Theorem 1 can be extended to codes over any finite field Fq. Theorem 2. Let C⊆F2n qbe an (n−k)-dimensional Fq-linear space and H= (HX|HZ)a matrix whose row space is C. Let C0⊆F2(n+c) qbe an Fq-linear space such that its projection to the coordinates 1,2, . . . , n, n +c+ 1, n +c+ 2,...,2n+cequals Cand C0⊆(C0)⊥s, where cis the minimum required number of maximally entangled quantum states in Cq⊗Cq. Then, 2c= rank HXHT Z−HZHT X= dimFqC−dimFqC∩C⊥s. The encoding quantum circuit is constructed from C0, and it encodes k+clogical qudits in Cq⊗ · · · (k+ctimes)· · · ⊗ Cqinto nphysical qudits using cmaximally entangled pairs. The minimum distance is d:= dsC⊥s\(C∩C⊥s), where dsis defined as in Theorem 1. In sum, Cprovides an [[n, k +c, d;c]]qEAQECC over the field Fq. Proof. One has that the inclusion C⊥s⊆C⊥ts holds since trq/p(0) = 0. In addition, C⊥ts ⊆C⊥s. Indeed, following [2], if ~a|~ b∈C⊥ts , then ~a|~ b·ts(~x|~y)=0for all (~x|~y)∈C. Taking into account that α(~x|~y)∈Cfor any α∈Fq, then trq/p (~a|~ b)·sα(~x|~y)= 0 for all α. This means that trq/p α(~a|~ b)·s(~x|~y)= 0 for all α, which proves ~a|~ b·s(~x|~y)=0 and, therefore ~a|~ b∈C⊥s. Now, using the same notation as at the beginning of this section, consider the code over the field Fp,C0:= (φE)−1(C). It is clear that dimFp(C0) = m(n−k), and by Proposition 1 and the equality C⊥s=C⊥ts , we have dimFpC0=m(n−k) = mdimFqC. Thus, dimFpC0−dimFpC0∩C⊥s 0=mdimFqC−dimFq(C∩C⊥s). This shows that, by Theorem 1, we have an entanglement-assisted quantum code encoding m(k+c)qudits in Cpand consuming mc maximally entangled states in Cp⊗Cp. Using the map φEand the fact that C⊥s=C⊥ts , we have an entanglement-assisted quantum code encoding (k+c)qudits in Cqand consuming cmaximally entangled states in Cq⊗Cq. In fact, one can construct C0 0⊆F2m(n+c) pin the same way as constructed C0from Cin Theorem 1. Applying φEto the code C0 0, we get the code C0in the statement with the claimed properties. The minimum distance follows from [13, Section III].  6 C. GALINDO, F. HERNANDO, R. MATSUMOTO AND D. RUANO 2.2. The Hermitian case. In this subsection, we specialize the results in Subsection 2.1 by considering the Hermitian inner product instead of a symplectic form. With the above notation, consider the finite field Fq2and a normal basis {w, wq}of Fq2over Fq. Fix a positive integer nand, following [13], define a trace-alternating form over Fn q2as ~x ·a~y = trq/p ~x ·~yq−~xq·~y w2q−w2, where ~zq,~z ∈Fn q2, means the componentwise q-power of ~z. The map ϕ:F2n q→Fn q2given by ϕ~a|~ b=w~a+wq~ bis bijective and isometric because the symplectic and the Hamming weights of ~a|~ band ϕ~a|~ bcoincide. In addition, for ~a|~ b,~ a0|~ b0∈F2n q, it holds that ~a|~ b·ts ~ a0|~ b0=ϕ~a|~ b·aϕ~ a0|~ b0. Recall that the Hermitian inner product of two vectors ~x, ~y ∈Fn q2is defined to be ~x ·h~y =~xq·~y, where ·means Euclidean product, and that, in [13], it is proved that for a Fq2-linear code D, the dual codes with respect to the products ·aand ·hcoincide. With the above ingredients, we are ready to prove the next proposition which will allow us to state and prove our theorem on EAQECCs over arbitrary finite fields by considering Hermitian inner product. Proposition 3. Let C⊆Fn q2be a code over Fq2of dimension (n−k)/2for some positive integer k. Let Hbe its generator matrix. Then rank(HH∗) = dimFq2C−dimFq2(C∩C⊥h), where H∗is the qth power of the transpose matrix of H. Proof. Define the Fq2-linear map f:Fn q2→F(n−k)/2 q2, given by f(~a) = ~aH∗. Then, rank(HH∗) = dimFq2f(row(H)) = dimFq2C−dimFq2(C∩ker(f)) = dimFq2C−dimFq2(C∩C⊥h).  Theorem 3. Let C⊆Fn q2be an (n−k)/2-dimensional code over Fq2, for suitable integers nand k. Denote by Hits generator matrix. Let C0⊆F(n+c) q2be an Fq2-linear space whose projection to the coordinates 1,2, . . . , n equals Cand satisfies C0⊆(C0)⊥h, where cis the minimum required number of maximally entangled quantum states in Cq⊗Cq. Then, c= rank (HH∗) = dimFq2C−dimFq2C∩C⊥h. The encoding quantum circuit is constructed from C0, and it encodes k+clogical qudits in Cq⊗· · · (k+ctimes)· · ·⊗Cqinto nphysical qudits using cmaximally entangled pairs. The minimum distance is d:= dHC⊥h\(C∩C⊥h), where dHis defined as the minimum Hamming weight of the vectors in the set C⊥h\C∩C⊥h. In sum, Cprovides an [[n, k + c, d;c]]qEAQECC over the field Fq. EAQECCS OVER ARBITRARY FINITE FIELDS 7 Proof. With the above notation, consider the code C0in Fn q2of dimension n−kwhose generator matrix is H=ωH ωqH and set C0=ϕ−1(C0)the corresponding code in F2n q. Since ϕis an isometry, to obtain the value 2ccorresponding to C0, it suffices to compute the rank of the matrix given by the form ·awhich is J= trq2/q (HH∗−HqHT)/λ, where λ=ω2q−ω2and trq2/q the trace map from Fq2to Fq. Now, setting Z=ωq+1 ω2 ω2qωq+1 , it holds that J= (2/λ)ZHH∗−ZTHqHT. Performing elementary operations, we get that rank(J) = 2 rank (HH∗). Finally, by our previous considerations, dimFqC0=n−k, dimFq(C0∩C⊥s 0)=2c, and dHC⊥h\C⊥h∩C=dsC⊥s 0\(C⊥s∩C0), which proves our statement by Theorem 2.  The following corollary is an immediate consequence of the above result. Corollary 1. Let Cbe an [n, k, d]q2linear code over Fq2and set Ha parity check matrix of C. Then, there exist an [[n, 2k−n+c, d;c]]qEAQECC where c= rank(HH∗),H∗being the qth power of the transpose matrix HT. 2.3. The Euclidean case. In this section we will show that EAQECCs over any finite field Fqcan be obtained through a CSS construction, where the Euclidean inner product is considered, and carried out with two Fq-linear codes C1and C2of length n. Assume that C1(respectively, C2) has dimension k1and generator matrix H1(respectively, k2and H2). Before stating our result, we give the following proposition which will be used in its proof. Proposition 4. With the above notations, it holds that (1) rank(H1HT 2) = dimFqC1−dimFq(C1∩C⊥ 2), and (2) rank(H2HT 1) = dimFqC2−dimFq(C2∩C⊥ 1), where ⊥means Euclidean dual. Proof. To prove Equality (1), consider the Fq-linear map f:Fn q→Fk2 qdefined by the matrix HT 2, that is f(~a) = ~aHT 2. Then rank(H1HT 2) = dimFqf(row(H1)) = dimFqC1−dimFq(C1∩ker(f)) = dimFqC1−dimFq(C1∩C⊥ 2). Equality (2) follows analogously from the map given by HT 1. Next we state the main result in this section. 8 C. GALINDO, F. HERNANDO, R. MATSUMOTO AND D. RUANO Theorem 4. Let C1and C2be two linear codes over Fqincluded in Fn qwith respective dimensions k1and k2and generator matrices H1and H2. Then, the code C0=C1×C2⊆ F2n qgives rise to an EAQECC which encodes n−k1−k2+clogical qudits into nphysical qudits using the minimum required of maximally entangled pairs c, which is c= rank(H1HT 2) = dimFqC1−dimFq(C1∩C⊥ 2). The minimum distance of the entanglement-assisted quantum code is larger than or equal to d:= min ndHC⊥ 1\(C2∩C⊥ 1), dHC⊥ 2\(C1∩C⊥ 2)o. In sum, one gets an [[n, n −k1−k2+c, d;c]]qEAQECC. Proof. It suffices to notice that dimFqC0=k1+k2,C⊥s 0=C⊥ 2×C⊥ 1, and dimFqC0−dimFq(C⊥s 0∩C0) = dimFq(C1×C2)−dimFq(C⊥ 2∩C1)×(C⊥ 1∩C2) =dimFqC1−dimFq(C⊥ 2∩C1)+dimFqC2−dimFq(C⊥ 1∩C2) = 2c. By construction, we have that ds(C0\C⊥s 0)≥min ndHC⊥ 1\(C2∩C⊥ 1), dHC⊥ 2\(C1∩C⊥ 2)o, and then our statement follows from Theorem 2.  2.4. Geometric decomposition of the coordinate space. In this subsection we consider only the Hermitian and Euclidean cases, and we will explain that the required number of maximally entangled pairs is easy to compute when the generators of the supporting Fqlinear code Cin Fn qare a subset of a basis of Fn qwith a special metric structure and which is said to be compatible with a geometric decomposition of Fn q(see [22]). Notice that, in the Hermitian case, qshould be q2, however, for simplicity’s sake and only in this subsection, we will use qas a generic symbol which means a power of a prime in the Euclidean case or an even power of a prime in the Hermitian case. For avoiding to repeat notation, again only in this subsection, h~a,~ biwill mean either the Hermitian inner product ~a ·h~ bor the Euclidean one ~a ·~ b. Let us introduce some notation, we say that {~v1, ~v2}are geometric generators of a hyperbolic plane if h~v1, ~v1i=h~v2, ~v2i= 0 and h~v1, ~v2i= 1. We say that {~v1, ~v2}are geometric generators of an elliptic plane if h~v1, ~v1i= 0 and h~v2, ~v2i=h~v1, ~v2i= 1. Finally, we say that ~v generates a non-singular space if h~v,~vi 6= 0. Let C⊆Fn qand set {~v1, ~v2, . . . , ~vn}a basis of Fn qsuch that Cis generated by {~vi}i∈I for I⊆ {1,2, . . . , n}. We say that Cis compatible with a geometric decomposition of Fn qif Fn q=H1⊕ · · · ⊕ Hr⊕L1⊕ · · · ⊕ Ls, where the linear spaces from H1, generated by {~v1, ~v2}, to Hr, generated by {~v2r−1, ~vr}, are hyperbolic planes, being the ~vigeometric generators, and from L1, generated by ~v2r+1, to Ls, generated by ~v2r+s=~vn, are non-singular spaces. Then, we say that the vectors ~v1, ~v2, . . . , ~vr(and the indexes 1,2,...r) are asymmetric and the vectors ~vr+1,~vr+2, . . . ,~vn (and the indexes r+ 1, r + 2, . . . , n) are symmetric. Moreover, we also say that (1,2),. . ., (r−1, r)are symmetric pairs. EAQECCS OVER ARBITRARY FINITE FIELDS 9 In [22], for the Euclidean inner product, it was proved that for characteristic different from 2, we can always obtain a basis {~v1, ~v2, . . . , ~vn}of Fn qsuch that Fn q=H1⊕ · · · ⊕ Hr⊕L1⊕ · · · ⊕ Ls, with s≤4. For characteristic equal to 2, we may have a decomposition as in the case with characteristic different from 2, excepting when the vector (1,1,...,1) belongs to the radical (or hull) of C,C∩C⊥. In that particular case, it was given in [22] the following decomposition Fn q=H1⊕ · · · ⊕ Hr⊕L1⊕ · · · ⊕ Ls⊕E, with s≤2and where Eis an elliptic plane. Let M= (h~vi, ~vji)1≤i,j≤n, one has that Mhas the form M=              0 1 1 0 ... 0 1 1 0 g1 ... gs              , where g1, . . . , gsare non-zero, except for the case when the characteristic is 2 and (1,1,...,1) belongs to the radical of C; then we have that Mis equal to M=               0 1 1 0 ... 0 1 1 0 g1 gs 0 1 1 1               . Now, let i∈ {1,2, . . . , n}. We define i0as •i+ 1 if ~viis the first generator of a hyperbolic plane H, •i−1if ~viis the second generator of a hyperbolic plane H, •iif ~vigenerates a one-dimensional linear space L, •i+ 1 if ~viis the first generator of an elliptic plane E. Notice that we do not define i0when ~viis the second geometric generator of an elliptic plane, because in this case, (1,1,...,1) is not in the radical of C[22]. For I⊆ {1,2, . . . , n}we set I0={i0:i∈I}and I⊥={1,2, . . . , n} \ I0. In this way we can compute the dual code C⊥ of a linear code Cgenerated by {~vi}i∈Ieasily since it is generated by {~vi}i∈I⊥. Moreover, it can also be used to construct QECCs using the CSS construction since C⊆C⊥if and only if I⊆I⊥. These kinds of decomposition arise naturally (i.e., for the usual generators) in some families of evaluation codes as BCH codes, toric codes, J-affine variety codes, negacyclic codes, constacylic codes, etc. and the previous approach has been exploited for constructing stabilizer quantum codes, EAQECCs and LCD codes (see [7, 8, 9, 14, 17] for instance).