On the Hull-Variation Problem of Equivalent Linear Codes

The intersection <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}\bigcap {\mathbf{C}}^{\perp }$ </tex-math></inline-formula> ( <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}\bigcap {\mathbf{C}}^{\perp _{h}}$ </tex-math></inline-formula> ) of a linear code <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}$ </tex-math></inline-formula> and its Euclidean dual <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}^{\perp }$ </tex-math></inline-formula> (Hermitian dual <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}^{\perp _{h}}$ </tex-math></inline-formula> ) is called the Euclidean (Hermitian) hull of this code. It is natural to consider the hull-variation problem when a linear code <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{C}}$ </tex-math></inline-formula> is transformed to an equivalent code <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{v}} \cdot {\mathbf{C}}$ </tex-math></inline-formula> . In this paper we introduce the maximal hull dimension as an invariant of a linear code with respect to the equivalent transformations. Then some basic properties of the maximal hull dimension are studied. We prove that for a nonnegative integer <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$h$ </tex-math></inline-formula> satisfying <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$0 \leq h \leq n-1$ </tex-math></inline-formula> , a linear <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$[2n], [n]_{q}$ </tex-math></inline-formula> self-dual code is equivalent to a linear <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$h$ </tex-math></inline-formula> -dimension hull code. On the opposite direction we prove that a linear LCD code over <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{F}}_{2^{s}}$ </tex-math></inline-formula> satisfying <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$d\geq 2$ </tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$d^{\perp } \geq 2$ </tex-math></inline-formula> is equivalent to a linear one-dimension hull code under a weak condition. Several new families of LCD negacyclic codes and LCD BCH codes over <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\mathbf{F}}_{3}$ </tex-math></inline-formula> are also constructed. Our method can be applied to the generalized Reed-Solomon codes and the generalized twisted Reed-Solomon codes to construct arbitrary dimension hull MDS codes. Some new entanglement-assisted quantum error-correction (EAQEC) codes including MDS and almost MDS EAQEC codes are constructed. Many EAQEC codes over small fields are constructed from optimal Hermitian self-dual codes.