Dualities of dihedral and generalised quaternion codes and applications to quantum codes
Miguel Sales-Cabrera, Xaro Soler-Escrivà, Víctor Sotomayor
Let 𝔽 𝑞 be a finite field of q elements, for some prime power q , and let G be a finite group. A (left) group code , or simply a G-code , is a (left) ideal of the group algebra 𝔽 𝑞 [ 𝐺 ] . In this paper, we provide a complete group-algebraic description for the Hermitian dual code of any 𝐷 𝑛 -code over 𝔽 𝑞 2 , where 𝐷 𝑛 is a dihedral group of order 2 n with n not divisible by c h a r ( 𝔽 𝑞 2 ) , through a suitable Wedderburn-Artin decomposition of the group algebra 𝔽 𝑞 2 [ 𝐷 𝑛 ] , and we determine all distinct Hermitian self-orthogonal 𝐷 𝑛 -codes over 𝔽 𝑞 2 . We also present a thorough representation of the Euclidean dual code of any 𝑄 𝑛 -code over 𝔽 𝑞 , where 𝑄 𝑛 is a generalised quaternion group of order 4 n not divisible by c h a r ( 𝔽 𝑞 ) , via the Wedderburn-Artin decomposition of the group algebra 𝔽 𝑞 [ 𝑄 𝑛 ] . In particular, since the semisimple group algebras 𝔽 𝑞 2 [ 𝑄 𝑛 ] and 𝔽 𝑞 2 [ 𝐷 2 𝑛 ] are isomorphic, then the Hermitian dual code of any 𝑄 𝑛 -code has also been fully described. As an application of the Hermitian dualities computed, we give a systematic construction, via the structure of the group algebra, to obtain quantum error-correcting codes, and in fact, with this methodical approach, we recover some already known quantum codes that achieve the best known minimum distance for their length and dimension.
arXiv:2512.07354•Finite Fields and Their Applications•Sep 25, 2026•3 citations