Selfdual skew cyclic codes
Xavier Caruso, Fabrice Drain
TL;DR
The paper addresses the problem of characterizing and enumerating selfdual skew cyclic codes within the Ore quotient ring $\mathbf{K}[X;\theta]/(X^{rk}-1)$. It develops an explicit bijection between such codes and products of isotropic subspaces in finite geometry, using an evaluation isomorphism that decomposes $\mathbf{E}_k$ into matrix algebras, and provides complete existence criteria, counting formulas, and efficient random generation methods in the separable case ($k$ coprime to the characteristic $p$). It also outlines an approach for the purely inseparable case ($k$ a power of $p$) via twisted separable codes and reports SageMath implementations for both separable and inseparable scenarios. The results yield practical algorithms for constructing and enumerating selfdual skew cyclic codes, with explicit formulas and a public SageMath package, enabling thorough exploration of their structure and applications. The work advances the understanding of duality in skew cyclic codes and connects coding theory to finite geometry through Segre-type and Witt-index techniques, with potential extensions to other constacyclic frameworks.
Abstract
Given a finite extension $K/F$ of degree $r$ of a finite field $F$, we enumerate all selfdual skew cyclic codes in the Ore quotient ring $K[X;\text{Frob}]/(X^{rk}-1)$ for any positive integer $k$ coprime to the characteristic $p$ (separable case). We also provide an enumeration algorithm when $k$ is a power of $p$ (purely inseparable case), at the cost of some redundancies. Our approach is based on an explicit bijection between skew cyclic codes, on the one hand, and certain families of $F$-linear subspaces of some extensions of $K$. Finally, we report on an implementation in SageMath.
