Next Article in Journal
Extending Polynomially Normal Operators to (P, Q)-Normal Operators in Semi-Hilbertian Spaces
Next Article in Special Issue
An Algebraic Method for Constructing Bases in Binary Linear Codes for Information Dispersal Algorithms
Previous Article in Journal
Wide-Angle Beam-Scanning Antenna Array for Extending the Lateral Detection Range of GPR
Previous Article in Special Issue
On Double Cyclic Codes and Applications to DNA Codes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hermitian Dickson Dualities for Codes over Near-Fields

by
Altaf Alshuhail
* and
Fozaiyah A. Al-hubairah
Department of Mathematics, College of Science, University of Ha’il, Ha’il 2440, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(5), 833; https://doi.org/10.3390/math14050833
Submission received: 25 January 2026 / Revised: 26 February 2026 / Accepted: 27 February 2026 / Published: 28 February 2026
(This article belongs to the Special Issue Mathematics for Algebraic Coding Theory and Cryptography)

Abstract

A Dickson near-field is obtained from F p 2 by twisting multiplication so that distributivity holds only on the right. In this work, we develop a basic theory of right-linear codes of length n over NF ( p 2 ) . We show that every right-linear code is right-monomially equivalent to a code with a systematic generator matrix, obtained via one-sided row operations. Using Galois conjugation, we introduce the Hermitian Dickson inner product and define the associated dual code, giving an explicit parity-check description in the F p -systematic case. We also provide effective criteria for Hermitian Dickson LCD, self-orthogonal, and self-dual codes, and we classify Hermitian Dickson self-orthogonal codes in short lengths.

1. Introduction

Since Shannon’s foundational work in 1948, linear codes have been studied primarily over finite fields, where the ambient space is a vector space and duality is governed by a bilinear or Hermitian inner product; classical references include [1,2]. A major expansion of the subject began in the 1990s, when it was recognized that several families of highly structured nonlinear binary codes possess a natural linear algebraic description over Z 4 , thereby explaining their formal duality and related enumerator identities [3]. This insight helped establish codes over rings as a robust generalization of the field case; see, e.g., [4].
In parallel, there has been renewed interest in codes over non-unital rings, where duality and hull phenomena acquire new features and motivate refined algebraic criteria; see, for instance, [5,6,7,8]. Another natural direction is to weaken distributivity rather than commutativity or the existence of a unit. Near-rings and near-fields provide precisely such a setting: one retains an additive group together with an associative multiplication that is distributive on only one side, and in the near-field case, each nonzero element admits a multiplicative inverse.
Among these, the Dickson near-fields form a distinguished and historically important family originating in Dickson’s work on finite algebras [9]; see also the classical treatment of finite near-fields in [10]. From the standpoint of coding theory, this one-sided distributive environment forces an inherently asymmetric linear algebra: right scalar actions behave well, while left multiplication can fail to be additive, so standard constructions from the field case must be reformulated carefully. In particular, duality and hull phenomena—which underpin structural characterizations of LCD, self-orthogonal, and self-dual codes—are no longer automatic, since the dual of a right-linear code need not be right-linear a priori and parity-check-type descriptions may require additional hypotheses. This motivates a systematic development of Hermitian-type duality for right-linear codes over Dickson near-fields. Related one-sided linear-algebra phenomena also appear in broader near-field/near-vector-space settings; see, for instance, [11]. The starting point for coding over Dickson near-fields is the recent case study of the smallest example, NF ( 9 ) , developed in [12].
This paper extends the study from NF ( 9 ) to the general Dickson near-field NF ( p 2 ) associated with an odd prime p. This extension is significant because it moves from a single small case to an infinite family of genuinely one-sided distributive algebras, allowing us to separate features that are intrinsic to near-field linear algebra from phenomena that may be accidental in NF ( 9 ) . In contrast to the field case, NF ( p 2 ) n is not a two-sided vector space: left distributivity may fail in NF ( p 2 ) . Hence, even if C is right-linear, it is not automatic that its Hermitian dual C H is again right-linear; this motivates the stability hypothesis used later to recover right-linearity of the dual. One of the main theoretical hurdles is therefore to identify natural hypotheses under which Hermitian duality behaves well in the right-linear category and admits parity-check-type descriptions.
We develop a self-contained framework for right-linear codes in NF ( p 2 ) n tailored to this one-sided setting. We formalize generator-matrix methods and right monomial equivalence and show that every right-linear code is right-monomially equivalent to one with a systematic generator matrix obtained via one-sided row operations. Using Galois (Frobenius) conjugation (the Frobenius automorphism of F p 2 ), we introduce the Hermitian Dickson inner product and the associated duality. A key novelty is our treatment of the Hermitian right dual: under a natural left-stability hypothesis on the conjugate code, we prove that C H is again right-linear and contains the right row span of an explicit matrix H = [ A ¯ I ] , providing an effective substitute for classical parity-check matrices in this non-field setting. In the F p -systematic regime we derive explicit descriptions together with the expected dimension relation. We then establish Gram-type criteria, in terms of Γ = I k + A A , characterizing Hermitian Dickson LCD, self-orthogonal, and self-dual codes. Finally, we provide computational data by classifying Hermitian Dickson self-orthogonal right-linear codes in short lengths. As an additional perspective, one-sided/asymmetric mechanisms also appear in modern optimization and learning through nonlocal or tempered memory update rules; see, for example, Tempered Fractional Gradient Descent in [13].
The paper is organized as follows. Section 2 recalls the Dickson near-field structure on F p 2 and introduces the one-sided linear algebra used throughout. Section 3 develops the basic theory of right-linear codes over NF ( p 2 ) , including systematic form and parameter bounds. Section 4 introduces the Hermitian Dickson inner product and establishes its fundamental properties and studies the resulting duality, with emphasis on the systematic case and Gram-type criteria. Section 5 classifies Hermitian Dickson self-orthogonal right-linear codes over NF ( p 2 ) for p { 3 , 5 , 7 } , in lengths at most 8 and right dimension at most 2. Finally, Section 6 collects our conclusions and several directions for further work.

2. The Dickson Near-Field on F p 2

Let p be an odd prime. Fix a nonsquare δ F p × and write F p 2 = { a + b α : a , b F p , α 2 = δ } . Let φ : F p 2 F p 2 be the Frobenius automorphism, φ ( t ) = t p . Since F p 2 × is cyclic of order p 2 1 , it has a unique subgroup of index 2, namely the set of all nonzero squares; denote it by H 0 = { z 2 : z F p 2 × } .
For y F p 2 , define the map σ y : F p 2 F p 2 by
σ y = id , if y = 0 or y H 0 , φ , if y F p 2 × H 0 .
Following [9], define the Dickson right product on F p 2 by
x y = σ y ( x ) y
where juxtaposition denotes the usual field multiplication in F p 2 . Equivalently, for y 0 ,
x y = x y , y H 0 , x p y , y F p 2 × H 0 .
We write NF ( p 2 ) = ( F p 2 , + , ) for the resulting Dickson near-field of order p 2 .
Proposition 1
([9]).  The Dickson product ∘ is associative on F p 2 . Moreover, F p 2 × is a group under ∘.
Lemma 1.
For all x , y , z F p 2 :
 (a) 
Right distributivity: ( x + z ) y = ( x y ) + ( z y ) .
 (b) 
Identity: x 1 = x and 1 y = y .
 (c) 
Zero: x 0 = 0 and 0 y = 0 .
 (d) 
Inverses: If y 0 , then y has a unique two-sided inverse with respect to ∘. In particular, the unique element u F p 2 satisfying u y = 1 and y u = 1 is
u = σ y ( y 1 ) ,
where y 1 denotes the inverse of y in the usual field multiplication of F p 2 .
Proof. 
(a)
For any y F p 2 ,
( x + z ) y = σ y ( x + z ) y = ( σ y ( x ) + σ y ( z ) ) y = σ y ( x ) y + σ y ( z ) y = ( x y ) + ( z y ) ,
since σ y { id , φ } is additive.
(b)
Since 1 H 0 , we have σ 1 = id , hence x 1 = σ 1 ( x ) 1 = x . Also σ y ( 1 ) = 1 for all y, so 1 y = σ y ( 1 ) y = y .
(c)
The identity x 0 = 0 holds by definition. Moreover, if y 0 then 0 y = σ y ( 0 ) y = 0 and it is 0 also when y = 0 .
(d)
Assume y 0 and set u = σ y ( y 1 ) , where y 1 is the inverse of y in the field F p 2 . Then, by (1),
u y = σ y ( u ) y = σ y ( σ y ( y 1 ) ) y .
Since σ y { id , φ } and φ 2 = id on F p 2 , we have σ y 2 = id , hence u y = y 1 y = 1 .
By Proposition 1, F p 2 × is a group under ∘, so y has a unique two-sided inverse with respect to ∘. Therefore u = y ( 1 ) the inverse of y in ( F p 2 × , ) and, in particular, y u = 1 . Uniqueness follows from uniqueness of inverses in a group.
Proposition 2.
For any odd prime p, the Dickson near-field NF ( p 2 ) is not left distributive over +.
Proof. 
View ( F p 2 , + ) as a 2-dimensional vector space over F p . Hence, every additive subgroup (i.e., every F p -subspace) has cardinality p d with d { 0 , 1 , 2 } , so its size is 1, p, or p 2 . On the other hand,
| H 0 { 0 } | = | H 0 | + 1 = p 2 1 2 + 1 = p 2 + 1 2 ,
which is different from 1, p, and p 2 for odd p. Therefore H 0 { 0 } is not an additive subgroup and, in particular, it is not closed under addition. Thus we may choose u , v H 0 such that u + v H 0 { 0 } ; in particular u + v 0 , σ u = σ v = id , and σ u + v = φ .
Pick a F p 2 F p , so that φ ( a ) a . Then
( a u ) + ( a v ) = σ u ( a ) u + σ v ( a ) v = a u + a v = a ( u + v ) ,
whereas
a ( u + v ) = σ u + v ( a ) ( u + v ) = φ ( a ) ( u + v ) .
If left distributivity held, we would have a ( u + v ) = ( a u ) + ( a v ) , hence φ ( a ) ( u + v ) = a ( u + v ) . Since u + v 0 , this implies φ ( a ) = a , a contradiction. Therefore left distributivity fails in NF ( p 2 ) .   □
Corollary 1.
For any odd prime p, the Dickson near-field NF ( p 2 ) is a right near-field (not a field) of order p 2 .
Proof. 
By Proposition 1, the Dickson product ∘ is associative and F p 2 × is a group under ∘; by Lemma 1(a), ∘ is right distributive over +. Hence, NF ( p 2 ) is a right near-field. Proposition 2 shows that left distributivity fails. Since a field must be distributive on both sides, NF ( p 2 ) cannot be a field, and therefore it is a proper right near-field.   □
For n 1 set V = NF ( p 2 ) n . We extend the Dickson product ∘ coordinate-wise by
( v 1 , , v n ) a : = ( v 1 a , , v n a ) , a ( v 1 , , v n ) : = ( a v 1 , , a v n ) .
A subset C V is called a right near-subspace if ( C , + ) is a subgroup of ( V , + ) and v a C for all v C and all a NF ( p 2 ) .
Remark 1.
For c F p and v NF ( p 2 ) n , the notation c v refers to F p –scalar multiplication in the additive group ( NF ( p 2 ) n , + ) , i.e., coordinate-wise multiplication by c in the field F p 2 . Equivalently, for c F p one has c v = c v for all v NF ( p 2 ) , and hence v c = c v for all v NF ( p 2 ) n .
Lemma 2.
For each fixed a NF ( p 2 ) , the map R a : V V defined by R a ( v ) = v a is F p –linear.
Proof. 
Let v = ( v 1 , , v n ) and w = ( w 1 , , w n ) in V . Using Lemma 1(a) coordinate-wise, we obtain
R a ( v + w ) = ( v 1 + w 1 ) a , , ( v n + w n ) a = R a ( v ) + R a ( w ) .
Now let c F p . If a = 0 then R a ( c v ) = 0 = c R a ( v ) . If a 0 , write x a = σ a ( x ) a with σ a { id , φ } . Since σ a is F p –linear (in particular, σ a ( c ) = c ), for each i we have
( c v i ) a = σ a ( c v i ) a = c σ a ( v i ) a = c ( v i a ) .
Hence R a ( c v ) = c R a ( v ) , and R a is F p –linear.   □
We emphasize that, unlike the right action, coordinate-wise left multiplication in NF ( p 2 ) need not be additive.
Example 1.
Take n = 1 , so that V = NF ( p 2 ) . For a NF ( p 2 ) , define T a : V V by T a ( v ) = a v . By Proposition 2, there exist a F p 2 F p and u , v H 0 such that u + v H 0 { 0 } and a ( u + v ) a u + a v . For this choice of ( a , u , v ) we obtain T a ( u + v ) T a ( u ) + T a ( v ) , so T a is not additive. Consequently, for suitable a NF ( p 2 ) , the left action v a v fails to be additive, and hence is not F p –linear.
Motivated by this asymmetry, we single out those right near-subspaces that are stable under left multiplication. A right near-subspace C NF ( p 2 ) n is called left-stable if a v C for all a NF ( p 2 ) and all v C .
Example 2.
Fix 1 r n and consider the coordinate subspace
C : = { ( x 1 , , x r , 0 , , 0 ) NF ( p 2 ) n : x 1 , , x r NF ( p 2 ) } .
Then C is a right near-subspace of NF ( p 2 ) n and is left-stable. Indeed, C is an additive subgroup of NF ( p 2 ) n , it is closed under the right action since ( x 1 , , x r , 0 , , 0 ) a C for all a NF ( p 2 ) , and it is left-stable since a ( x 1 , , x r , 0 , , 0 ) C for all a NF ( p 2 ) .
Example 3.
Take n = 3 and consider the additive subset
D : = { ( x , z , x + z ) NF ( p 2 ) 3 : x , z NF ( p 2 ) } .
Then D is a right near-subspace of NF ( p 2 ) 3 , but D is not left-stable.
First, D is an additive subgroup of NF ( p 2 ) 3 . Moreover, for any b NF ( p 2 ) and any ( x , z , x + z ) D we have
( x , z , x + z ) b = ( x b , z b , ( x + z ) b ) = ( x b , z b , x b + z b ) D ,
where the last equality uses Lemma 1(a). Hence, D is a right near-subspace.
To see that D is not left-stable, choose a F p 2 F p and u , v H 0 as in Proposition 2. Then ( u , v , u + v ) D , but
a ( u , v , u + v ) = ( a u , a v , a ( u + v ) ) D ,
since membership in D would require the third coordinate to equal the sum of the first two. Thus D is not left-stable.
While the Dickson product is only right distributive, nested products exhibit useful commutation phenomena when one factor lies in F p or in the subgroup H 0 . We record these identities in the next lemma for later use.
Lemma 3.
 (a) 
For all x F p 2 × and all c H 0 , one has σ c x = σ x .
 (b) 
For any c F p and all a , u NF ( p 2 ) , one has a ( c u ) = c ( a u ) .
 (c) 
If a , c H 0 , then for all u NF ( p 2 ) , one has a ( c u ) = c ( a u ) .
Proof. 
(a)
Since H 0 has index 2 in F p 2 × , multiplication by any c H 0 preserves the cosets of H 0 : for x F p 2 × we have x H 0 if and only if c x H 0 . By the definition of σ y , this yields σ c x = σ x .
(b)
If u = 0 or c = 0 , then c u = 0 and both sides are 0. Assume u 0 and c 0 . Because c F p , it is fixed by both id and φ , hence σ u ( c ) = c and so
c u = σ u ( c ) u = c u .
Using associativity and the definition of ∘,
a ( c u ) = a ( c u ) = σ c u ( a ) ( c u ) .
Since c F p × H 0 , part (a) gives σ c u = σ u , and hence
a ( c u ) = c σ u ( a ) u .
On the other hand, a u = σ u ( a ) u , and therefore
c ( a u ) = c ( σ u ( a ) u ) = σ σ u ( a ) u ( c ) σ u ( a ) u = c σ u ( a ) u ,
because σ σ u ( a ) u { id , φ } fixes c F p . Thus a ( c u ) = c ( a u ) .
(c)
If u = 0 the claim is trivial, so assume u 0 and set τ : = σ u { id , φ } . Then
c u = τ ( c ) u , a u = τ ( a ) u .
Since a , c H 0 and τ is a field automorphism, we have τ ( a ) , τ ( c ) H 0 . By part (a) applied with x = u , we get
σ τ ( c ) u = σ u = τ , σ τ ( a ) u = σ u = τ .
Hence
a ( c u ) = a ( τ ( c ) u ) = σ τ ( c ) u ( a ) τ ( c ) u = τ ( a ) τ ( c ) u , c ( a u ) = c ( τ ( a ) u ) = σ τ ( a ) u ( c ) τ ( a ) u = τ ( c ) τ ( a ) u .
Since τ ( a ) τ ( c ) = τ ( c ) τ ( a ) in F p 2 , it follows that a ( c u ) = c ( a u ) .

Galois Conjugation

To streamline the Hermitian Dickson duality developed later, we recall the Frobenius automorphism on F p 2 and record the identities we will use, emphasizing its interaction with the Dickson product ∘. Since the Dickson near-field NF ( p 2 ) and the finite field F p 2 share the same underlying set (only the operations differ), this conjugation is simply the usual field conjugation and is independent of the Dickson multiplication. Over F p 2 this map is the usual Galois conjugation x x p ; in the near-field setting we refer to it as Galois conjugation. For background on Frobenius automorphisms in finite fields, see [14]; for Hermitian inner products and Hermitian duality over F p 2 , see [2,15].
Define Galois conjugation x ¯ : NF ( p 2 ) NF ( p 2 ) by x ¯ = x p . For n 1 , extend it coordinate-wise to NF ( p 2 ) n by
( x 1 , , x n ) ¯ : = ( x 1 ¯ , , x n ¯ ) .
This map is an F p –linear bijection on NF ( p 2 ) n . For S NF ( p 2 ) n , write S ¯ : = { s ¯ : s S } , and say that S is Galois conjugation-invariant if S ¯ = S .
Since F p 2 × is cyclic and H 0 is its unique subgroup of index 2, the Frobenius automorphism φ preserves H 0 . In particular, σ y ¯ = σ y for all y F p 2 .
Lemma 4.
For all x , y , a NF ( p 2 ) , c F p , v NF ( p 2 ) n :
 (a) 
x + y ¯ = x ¯ + y ¯ and c ¯ = c .
 (b) 
x ¯ ¯ = x .
 (c) 
x y ¯ = x ¯ y ¯ .
 (d) 
x y ¯ = x ¯ y ¯ .
 (e) 
v a ¯ = v ¯ a ¯ .
 (f) 
a v ¯ = a ¯ v ¯ .
Proof. 
Parts (a)(c) are standard properties of the Frobenius automorphism on F p 2 .
For (d), if y = 0 then both sides are 0. Assume y 0 . By definition, x y = σ y ( x ) y , hence
x y ¯ = σ y ( x ) ¯ y ¯ .
Since φ ( H 0 ) = H 0 , we have σ y ¯ = σ y . If σ y = id then σ y ( x ) ¯ = x ¯ and the claim follows. If σ y = φ , then σ y ( x ) ¯ = x p ¯ = x and also σ y ¯ ( x ¯ ) = φ ( x ¯ ) = x ¯ p = x , so again x y ¯ = σ y ¯ ( x ¯ ) y ¯ = x ¯ y ¯ .
Parts (e) and (f) follow by applying (d) coordinate-wise and using a ¯ ¯ = a .   □
Corollary 2.
A right near-subspace C NF ( p 2 ) n is left-stable if and only if C ¯ is left-stable.
Proof. 
Assume C is left-stable. Let a NF ( p 2 ) and u C ¯ , and write u = c ¯ with c C . By Lemma 4(f),
a u = a c ¯ = a ¯ c ¯ .
Since a ¯ c C by left-stability of C , we obtain a u C ¯ . Hence, C ¯ is left-stable.
Conversely, if C ¯ is left-stable, apply the forward implication to C ¯ . Using C ¯ ¯ = C (Lemma 4(b)), we conclude that C is left-stable.   □
Lemma 5.
Let M NF ( p 2 ) k × n , and let M denote the right row span of M in NF ( p 2 ) n . Then
M ¯ = M ¯ .
Proof. 
Let m 1 , , m k be the rows of M and let x M . Then x = i = 1 k m i a i for some a 1 , , a k NF ( p 2 ) . Using Lemma 4(a) and (e),
x ¯ = i = 1 k m i a i ¯ = i = 1 k m i ¯ a i ¯ M ¯ .
Hence M ¯ M ¯ . Applying conjugation again and using Lemma 4(b) gives the reverse inclusion.   □
Remark 2.
For M NF ( p 2 ) k × n , Lemma 5 shows that M is Galois conjugation-invariant if and only if M = M ¯ .
Lemma 3 gives commutation identities for nested Dickson products involving scalars from F p or H 0 . The next lemma complements this by providing a structural reformulation: it expresses left-stability of D ¯ as an equivalent membership condition back in D .
Lemma 6.
Let D NF ( p 2 ) n be a right near-subspace. The following are equivalent:
 (i) 
a c ¯ ¯ D for all a NF ( p 2 ) and all c D .
 (ii) 
a u D ¯ for all a NF ( p 2 ) and all u D ¯ .
Moreover, these conditions hold if and only if D is left-stable.
Proof. 
(i)⇒(ii). Let u D ¯ , so u = c ¯ for some c D . By (i), a c ¯ ¯ D , and conjugating gives a u D ¯ .
(ii)⇒(i). Let c D and set u = c ¯ D ¯ . By (ii), a c ¯ D ¯ , so a c ¯ = d ¯ for some d D . Conjugating yields a c ¯ ¯ = d D .
Finally, (ii) is exactly left-stability of D ¯ , and Corollary 2 implies that D ¯ is left-stable if and only if D is left-stable.   □

3. Right Codes over NF ( p 2 )

Throughout this section, fix an integer n 1 and write V = NF ( p 2 ) n . All vector and matrix additions are taken in the additive group ( NF ( p 2 ) , + ) , and the coordinate-wise scalar action is given by the Dickson product ∘.

3.1. Basic Definitions

A right-linear code over NF ( p 2 ) of length n is a right near-subspace C V . Its elements are called codewords. For v = ( v 1 , , v n ) V , the Hamming weight of v is wt H ( v ) : = { i { 1 , , n } : v i 0 } . The Hamming distance between x , y V is d H ( x , y ) : = wt H ( x y ) . If C { 0 } , the minimum Hamming distance of C is d H ( C ) = min { wt H ( c ) : c C , c 0 } .
A subset { g 1 , , g k } C is called right independent if i = 1 k g i a i = 0 implies a 1 = = a k = 0 . A right basis of C is a right independent set that generates C under addition and the coordinate-wise right action ∘. If C { 0 } admits a right basis of size k, we call k the right dimension of C and write dim R ( C ) = k . In this case, we also say that C is an [ n , k , d H ] right-linear code, where d H = d H ( C ) . We use the Magma [16] notation
[ < 0 , 1 > , · · · , < i , A i > , · · · , < n , A n > ]
for the weight distribution of a linear code C over NF ( p 2 ) , where A i is the number of codewords of Hamming weight i.
Lemma 7.
Let C NF ( p 2 ) n be a nonzero right-linear code over NF ( p 2 ) . Then C admits a right basis. Moreover, if { g 1 , , g k } is a right basis of C , then every c C can be written uniquely in the form
c = i = 1 k g i a i ( a 1 , , a k NF ( p 2 ) ) ,
and hence | C | = | NF ( p 2 ) | k . In particular, any two right bases of C have the same cardinality, so dim R ( C ) is well-defined and satisfies dim R ( C ) n .
Proof. 
Since NF ( p 2 ) is finite, C is finite, hence it is generated by some finite subset under addition and the right action ∘. Choose a generating set { g 1 , , g k } of C of minimal cardinality. We claim it is right independent. Indeed, if i = 1 k g i a i = 0 with some a j 0 , then
g j a j = i j g i a i ,
and multiplying on the right by a j 1 NF ( p 2 ) × gives
g j = i j g i ( a i a j 1 ) ,
so g j lies in the right span of { g i : i j } , contradicting the minimality of the generating set. Thus { g 1 , , g k } is a right basis.
If i = 1 k g i a i = i = 1 k g i b i , then by right distributivity i = 1 k g i ( a i b i ) = 0 , and right independence implies a i = b i for all i. Hence, the representation is unique, and the coefficient map NF ( p 2 ) k C is a bijection, yielding | C | = | NF ( p 2 ) | k . Consequently, k is determined by | C | , so any two right bases have the same size and dim R ( C ) is well-defined. Finally, | C | | NF ( p 2 ) | n implies k n .   □

3.2. Generator Matrices, Monomial Equivalence, and Systematic Form

Let C V be a right-linear code over NF ( p 2 ) with dim R ( C ) = k . A generator matrix of C is a matrix G NF ( p 2 ) k × n whose rows form a right basis of C . Equivalently, if g 1 , , g k are the rows of G, then C is the right row span of G,
C = G : = i = 1 k g i a i : a 1 , , a k NF ( p 2 ) .
Thus every right-linear code over NF ( p 2 ) of length n and right dimension k can be realized as the right row span of a k × n matrix over NF ( p 2 ) .
An n × n matrix N over NF ( p 2 ) is called a monomial matrix if each row and each column contains exactly one nonzero entry, and every nonzero entry lies in F p × . For a row vector c = ( c 1 , , c n ) NF ( p 2 ) n we define the right action of N by
( c N ) j = i = 1 n c i N i j ( j = 1 , , n ) ,
where products are computed using the Dickson product ∘. Two right-linear codes C , C NF ( p 2 ) n are right monomially equivalent if there exists a monomial matrix N such that
C = C N : = { c N : c C } .
A basic step in the structural study of right-linear codes over a right near-field is to bring generator matrices into a standard (systematic-type) form, analogous to the classical systematic form over finite fields (see, e.g., [2]). Since left distributivity is not available, in general, the reduction uses only right row operations together with column permutations induced by right monomial transformations. This separates an information set from the parity part and streamlines comparisons up to right monomial equivalence.
Theorem 1.
Every right-linear code C with parameters [ n , k , d H ] is right monomially equivalent to a code admitting a systematic generator matrix of the form G = I k A , for some A NF ( p 2 ) k × ( n k ) .
Proof. 
Let G 0 NF ( p 2 ) k × n be a generator matrix of C (with k = dim R ( C ) ). For a nonzero x NF ( p 2 ) we write x 1 for the inverse of x with respect to ∘; thus x x 1 = 1 = x 1 x .
The following right elementary row operations preserve the right row span
G 0 = i = 1 k R i b i : b i NF ( p 2 ) ,
where R i denotes the ith row of G 0 :
(i)
swap two rows;
(ii)
right-scale a row by a unit u NF ( p 2 ) × , i.e., R i R i u ;
(iii)
replace R i by R i + R j a for some a NF ( p 2 ) .
Indeed, (i) is immediate. In (ii), the map b b u is bijective on NF ( p 2 ) since u is invertible under ∘, so right-scaling does not change the set of right linear combinations. In (iii), right distributivity of ∘ in each coordinate shows that right linear combinations of the new rows are exactly the right linear combinations of the old rows.
We now perform Gaussian elimination using only (i)–(iii). In any nonzero column, choose a nonzero entry p and swap its row into the current pivot position. Since p 0 , there exists v = p 1 NF ( p 2 ) × with p v = 1 ; right-scale the pivot row by v so that the pivot becomes 1. For any other row having entry e in the pivot column, replace that row by
R new = R old + R pivot ( e ) .
In the pivot column the new entry equals
e + 1 ( e ) = e + σ e ( 1 ) ( e ) = e + ( e ) = 0 ,
since σ y ( 1 ) = 1 for all y NF ( p 2 ) . Iterating down the columns yields a row-echelon form with k pivot columns and pivots equal to 1.
Finally, permute columns so that the pivot columns come first, obtaining a systematic generator matrix
G = I k A .
This column permutation is induced by a permutation matrix, which is a monomial matrix (its nonzero entries are 1 F p × ), hence the resulting code is right monomially equivalent to C .   □
Example 4.
Let NF ( p 2 ) = NF ( 25 ) and consider the right-linear code C NF ( p 2 ) 4 generated by
G 0 = 1 2 0 1 0 1 1 2 NF ( p 2 ) 2 × 4 .
Take the first two columns
P = 1 2 0 1 ,
which is invertible. Its inverse is
P 1 = 1 3 0 1
Left-multiplying by P 1 gives an equivalent generator matrix
G = P 1 G 0 = 1 3 0 1 1 2 0 1 0 1 1 2 = 1 0 3 2 0 1 1 2 .
Hence G is systematic:
G = I 2 A , A = 3 2 1 2 NF ( p 2 ) 2 × 2 .
Remark 3.
Although the displayed generator matrix G has entries in F p , the code C is a right NF ( p 2 ) -linear code, so it is generated by right linear combinations with coefficients in NF ( p 2 ) . In particular, let α NF ( p 2 ) F p and let r i be any nonzero row of G. Then r i α C . Moreover, since r i has at least one nonzero entry, say g i j F p × , we obtain a coordinate outside the prime field:
( r i α ) j = g i j α = σ α ( g i j ) α = g i j α F p ,
because σ α { id , φ } fixes F p and α F p .
For example, take ω m a t h r m N F ( 25 ) F 5 . From r 1 = ( 1 , 0 , 3 , 2 ) we get
r 1 ω = ( ω , 0 , 3 ω , 2 ω ) C F 5 4 .
In particular, NF ( p 2 ) ( 25 ) is not a field: left distributivity fails. For example, let u = 1 and v = 2 ω . Then v H 0 and u + v = 1 + 2 ω H 0 since ( 2 + 3 ω ) 2 = 1 + 2 ω . Also ω 5 = 4 ω , so
ω ( u + v ) = ω ( 1 + 2 ω ) = ω ( 1 + 2 ω ) = ω + 1 ,
whereas
ω u + ω v = ω 1 + ω ( 2 ω ) = ω + ω 5 ( 2 ω ) = ω + 4 .
Thus ω ( u + v ) ω u + ω v , and N F ( 25 ) is not a field. We also refer to Example 2 in [12] for a complementary illustration in N F ( 9 ) , where the generator matrix itself has entries from N F ( 9 ) F 3 .
Lemma 8.
Let G = [ I k A ] NF ( p 2 ) k × n and C = G . Let π : NF ( p 2 ) n NF ( p 2 ) k be the projection onto the first k coordinates. Then π | C : C NF ( p 2 ) k is a bijection. More precisely, for every b NF ( p 2 ) k there is a unique codeword c C whose first k coordinates equal b, namely
enc ( b ) : = ( b , A b ) C , ( A b ) j : = i = 1 k A i j b i ( j = 1 , , n k ) .
In particular, for each i { 1 , , k } there is a unique codeword in C whose first k coordinates equal e i .
Proof. 
Write the rows of G as r i = ( e i , a i ) , where a i is the ith row of A. For b = ( b 1 , , b k ) NF ( p 2 ) k , consider
c = i = 1 k r i b i C .
Using the coordinate-wise right action, the first k coordinates of c are i = 1 k e i b i = b , and the last n k coordinates are i = 1 k a i b i = A b . Hence, c = ( b , A b ) = enc ( b ) , so π ( enc ( b ) ) = b and π | C is surjective. If enc ( b ) = ( 0 , 0 ) then its first k coordinates give b = 0 , so enc is injective. Therefore π | C is bijective with inverse enc , and the uniqueness statement follows by taking b = e i .   □
Corollary 3.
Let C admit a systematic generator matrix with information set { 1 , , k } . If [ I k A ] and [ I k A ] both generate C , then A = A .
Proof. 
By Lemma 8, for each i the unique codeword in C whose first k coordinates equal e i is the ith row of any systematic generator matrix with this information set. Hence, the ith rows of A and A agree for all i.   □
Corollary 4.
Let C be a right-linear code with parameters [ n , k , d H ] . Then | C | = p 2 k .
Proof. 
Let G NF ( p 2 ) k × n be a generator matrix of C with rows g 1 , , g k . Define ϕ : NF ( p 2 ) k C by ϕ ( u 1 , , u k ) = i = 1 k g i u i . By definition of generator matrix, ϕ is surjective. If ϕ ( u 1 , , u k ) = 0 , then i = 1 k g i u i = 0 , and right independence of g 1 , , g k forces u 1 = = u k = 0 . Hence, ϕ is injective, thus bijective, and | C | = | NF ( p 2 ) k | = | NF ( p 2 ) | k = p 2 k .   □

3.3. Properties of Galois Conjugation

We summarize some basic properties of Galois conjugation on NF ( p 2 ) n .
Corollary 5.
Let C NF ( p 2 ) n be a right-linear code over NF ( p 2 ) . Then:
 (i) 
C ¯ is a right-linear code over NF ( p 2 ) ;
 (ii) 
| C ¯ | = | C | ;
 (iii) 
dim R ( C ¯ ) = dim R ( C ) .
Proof. 
(i)
Conjugation x ¯ : NF ( p 2 ) n NF ( p 2 ) n is an F p –linear bijection, hence an automorphism of the additive group ( NF ( p 2 ) n , + ) . Therefore C ¯ is an additive subgroup of NF ( p 2 ) n . Let u C ¯ and a NF ( p 2 ) , and write u = c ¯ with c C . Using Lemma 4(e) with a replaced by a ¯ and a ¯ ¯ = a , we get
u a = c ¯ a = c a ¯ ¯ C ¯ ,
since c a ¯ C by right-linearity of C .
(ii)
Conjugation is a bijection on NF ( p 2 ) n , hence restricts to a bijection C C ¯ . Thus | C ¯ | = | C | .
(iii)
Let { g 1 , , g k } be a right basis of C . Then { g 1 ¯ , , g k ¯ } is a right basis of C ¯ (using Lemma 4(e)), hence dim R ( C ¯ ) = dim R ( C ) .
Lemma 9.
For all x , y NF ( p 2 ) n , one has wt H ( x ¯ ) = wt H ( x ) and d H ( x ¯ , y ¯ ) = d H ( x , y ) . In particular, Galois conjugation is a Hamming isometry of NF ( p 2 ) n .
Proof. 
Since x ¯ : NF ( p 2 ) NF ( p 2 ) is a bijection with 0 ¯ = 0 , we have x i ¯ = 0 if and only if x i = 0 for each i, and hence wt H ( x ¯ ) = wt H ( x ) . Moreover, conjugation is additive, so x ¯ y ¯ = x y ¯ coordinate-wise. Therefore
d H ( x ¯ , y ¯ ) = wt H ( x ¯ y ¯ ) = wt H ( x y ¯ ) = wt H ( x y ) = d H ( x , y ) .
Proposition 3.
Let C NF ( p 2 ) n be a right-linear code with generator matrix G NF ( p 2 ) k × n . Then the following are equivalent:
 (i) 
C = C ¯ .
 (ii) 
G = G ¯ .
Proof. 
Since C = G , Lemma 5 gives C ¯ = G ¯ = G ¯ . Thus C = C ¯ if and only if G = G ¯ .   □
Remark 4.
By Proposition 3, the entry-wise condition G = G ¯ is sufficient but not necessary for C = C ¯ . Since the fixed field of x ¯ = x p on F p 2 is F p , the equality G = G ¯ holds, for instance, whenever all entries of G lie in F p .
The converse need not hold: a right-linear code may satisfy C = C ¯ even though a chosen generator matrix is not fixed entry-wise. For example, for n = 2 consider C = { ( x , 0 ) NF ( p 2 ) 2 : x NF ( p 2 ) } . Then C ¯ = C . Choosing a NF ( p 2 ) F p , the matrix G = [ a 0 ] generates C but satisfies G G ¯ .
Corollary 6.
If G = [ I k A ] is a systematic generator matrix of C , then G ¯ = [ I k A ¯ ] is a systematic generator matrix of C ¯ .
Proof. 
This follows from 0 ¯ = 0 , 1 ¯ = 1 , and Lemma 5.   □

3.4. Right Monomial Matrices

Right monomial matrices represent coordinate permutations and F p × -reweightings compatible with the Dickson right action. They preserve the Hamming metric and behave well with conjugation and left-stability. We record these facts and then describe their effect on the parity block A in a systematic generator matrix G = [ I k A ] .
Lemma 10.
Let N NF ( p 2 ) n × n be a monomial matrix. Then N = P D , where P is a permutation matrix and D = diag ( c 1 , , c n ) with c j F p × . In particular, monomial matrices form a group under matrix multiplication, and N 1 is monomial.
Proof. 
Each column j has a unique nonzero entry N π ( j ) , j = c j F p × ; defining P π ( j ) , j = 1 and D = diag ( c 1 , , c n ) gives N = P D . The remaining claims follow immediately.   □
Lemma 11.
Let N NF ( p 2 ) n × n be a monomial matrix. Then there exist a permutation π of { 1 , , n } and scalars c 1 , , c n F p × such that for every v = ( v 1 , , v n ) NF ( p 2 ) n ,
( v N ) j = v π ( j ) c j ( j = 1 , , n ) .
Proof. 
Immediate from the definition: in column j the only nonzero entry is N π ( j ) , j = c j F p × , hence
( v N ) j = i = 1 n v i N i j = v π ( j ) c j .
Lemma 12.
For all a NF ( p 2 ) and all c F p × , one has c a = a c . Consequently, for all x NF ( p 2 ) , ( x c ) a = ( x a ) c .
Proof. 
If a = 0 the claim is trivial. Assume a 0 . Since c F p × , we have σ a ( c ) = c and hence c a = σ a ( c ) a = c a . Also c F p × H 0 , so σ c = id and a c = σ c ( a ) c = a c = c a . Associativity of ∘ yields ( x c ) a = x ( c a ) = x ( a c ) = ( x a ) c .   □
Lemma 13.
Let N be a right monomial matrix. Then for all v NF ( p 2 ) n and all a NF ( p 2 ) , ( v N ) a = ( v a ) N .
Proof. 
By the observation above, there exist a permutation π of { 1 , , n } and scalars c 1 , , c n F p × such that ( v N ) j = v π ( j ) c j for j = 1 , , n .
Fix j. Using associativity of ∘ and Lemma 12, we compute
( v N ) a j = ( v N ) j a = ( v π ( j ) c j ) a = ( v π ( j ) a ) c j .
On the other hand,
( v a ) N j = i = 1 n ( v i a ) N i j = ( v π ( j ) a ) c j ,
since the jth column of N has the unique nonzero entry N π ( j ) , j = c j . Thus ( v N ) a j = ( v a ) N j for every j, and hence ( v N ) a = ( v a ) N .   □
Corollary 7.
Let C NF ( p 2 ) n be a right near-subspace and let N be a right monomial matrix. Then C N is a right near-subspace. Moreover, if C = G for some G NF ( p 2 ) k × n , then C N = G N .
Proof. 
First, C N is an additive subgroup: if v , w C , then for each j,
( v + w ) N j = i = 1 n ( v i + w i ) N i j = i = 1 n v i N i j + i = 1 n w i N i j = ( v N ) j + ( w N ) j ,
so ( v + w ) N = v N + w N C N , and similarly ( v ) N = ( v N ) . Next, for right-closure let v N C N with v C and a NF ( p 2 ) . By Lemma 13,
( v N ) a = ( v a ) N C N ,
since v a C . Hence, C N is a right near-subspace.
If C = G and G has rows g 1 , , g k , then any element of C N is
i = 1 k g i a i N = i = 1 k ( g i a i ) N = i = 1 k ( g i N ) a i G N ,
using Lemma 13 in the last step; the reverse inclusion is immediate.   □
Proposition 4.
Let N be a right monomial matrix. Then for all x , y NF ( p 2 ) n ,
wt H ( x N ) = wt H ( x ) , and d H ( x N , y N ) = d H ( x , y ) .
Consequently, if C = C N , then d H ( C ) = d H ( C ) .
Proof. 
Write ( x N ) j = x π ( j ) c j as in Lemma 11. Since c j 0 , right multiplication by c j is a bijection on NF ( p 2 ) , hence x π ( j ) c j = 0 if and only if x π ( j ) = 0 . Thus the support is permuted by π , and wt H ( x N ) = wt H ( x ) . The distance statement follows from x N y N = ( x y ) N and the weight invariance.   □
Corollary 8.
Let C NF ( p 2 ) n be a right-linear code and let N be a right monomial matrix. Set C : = C N . Then:
 (i) 
dim R ( C ) = dim R ( C ) ;
 (ii) 
| C | = | C | ;
 (iii) 
d H ( C ) = d H ( C ) .
Proof. 
Let T N : V V be the map T N ( x ) = x N . Since N is invertible (Lemma 10), T N is a bijection. Hence, | C | = | C | , proving (ii).
By Corollary 7, C is a right near-subspace and T N restricts to a bijection C C . Therefore the image under T N of any right basis of C is a right basis of C , so dim R ( C ) = dim R ( C ) , proving (i).
Finally, Proposition 4 shows that T N preserves Hamming distance, and thus d H ( C ) = d H ( C ) , proving (iii).   □
Lemma 14.
Let N be a right monomial matrix. Then N ¯ = N and, for all x NF ( p 2 ) n ,
x N ¯ = x ¯ N .
Consequently, for any C NF ( p 2 ) n one has C N ¯ = C ¯ N .
Proof. 
All nonzero entries of N lie in F p × and are fixed by conjugation, hence N ¯ = N . Using Lemma 11 and Lemma 4(d), for each j,
( x N ) j ¯ = x π ( j ) c j ¯ = x π ( j ) ¯ c j = ( x ¯ ) N j ,
so x N ¯ = x ¯ N . The set identity follows immediately.   □
Corollary 9.
If C = C ¯ and N is a right monomial matrix, then C N = C N ¯ .
Proof. 
By Lemma 14, C N ¯ = C ¯ N = C N .   □
Lemma 15.
Let C NF ( p 2 ) n be left-stable and let N be a right monomial matrix. Then C N is left-stable.
Proof. 
Write ( v N ) j = v π ( j ) c j as in Lemma 11. Let a NF ( p 2 ) and v C . By associativity of ∘,
a ( v N ) j = a v π ( j ) c j = ( a v π ( j ) ) c j = ( a v ) N j .
Hence a ( v N ) = ( a v ) N C N since a v C .   □
Theorem 2.
Let G = [ I k A ] and G = [ I k A ] be systematic generator matrices in NF ( p 2 ) k × n with the same information set { 1 , , k } , and set C = G and C = G . Then the following are equivalent:
 (i) 
C = C N for some right monomial matrix N that fixes the first k coordinates, i.e., ( x N ) j = x j for all x NF ( p 2 ) n and all j = 1 , , k .
 (ii) 
There exists a right monomial matrix M NF ( p 2 ) ( n k ) × ( n k ) such that A = A M , where
( A M ) i j : = = 1 n k A i M j .
Equivalently,
G = G I k 0 0 M .
Proof. 
(ii)⇒(i). Assume A = A M for a right monomial matrix M, and set N = I k 0 0 M . Then N is right monomial and fixes the first k coordinates. Moreover,
G N = [ I k A ] I k 0 0 M = [ I k A M ] = [ I k A ] = G ,
so C = G = G N = G N = C N .
(i)⇒(ii). Assume C = C N for a right monomial matrix N fixing the first k coordinates. The fixing condition implies that the first k columns of N are the standard basis columns, hence N has block form N = I k 0 0 M with M right monomial. Therefore G N = [ I k A M ] and C = G N . Since both G N and G are systematic with the same information set and generate the same code C , Corollary 3 forces A = A M .   □

3.5. A Basic Bound and a Left-Stability Criterion

As in the classical setting over finite fields, right-linear codes over NF ( p 2 ) satisfy the Singleton bound. The only additional ingredient in our context is the size formula | C | = p 2 k from Corollary 4.
Theorem 3.
Let C NF ( p 2 ) n be a right-linear code of right dimension k. Then
d H ( C ) n k + 1 .
Proof. 
Let d = d H ( C ) . Puncturing C in any set of d 1 coordinates is injective: if two codewords agree on the remaining n d + 1 coordinates, then their difference is supported on at most d 1 positions and must be 0 by the definition of d. Therefore,
| C | | NF ( p 2 ) | n d + 1 = p 2 ( n d + 1 ) .
Using | C | = p 2 k from Corollary 4 yields p 2 k p 2 ( n d + 1 ) , hence k n d + 1 and thus d n k + 1 .   □
A right-linear code C NF ( p 2 ) n of right dimension k is called maximum distance separable (MDS) if it attains the Singleton bound, i.e.,
d H ( C ) = n k + 1 .
Example 5.
From Example 4, the Singleton bound gives d H ( C ) 4 2 + 1 = 3 . We now show that equality holds.
A generic codeword is a right NF ( p 2 ) –linear combination of the rows of G, hence for ( a , b ) NF ( p 2 ) 2 we have
c ( a , b ) = ( a , b ) G = a , b , 3 a + b , 2 a + 2 b .
Assume that c ( a , b ) has Hamming weight 2 . Then at least two coordinates are 0. If a = 0 , then the fourth coordinate becomes 2 b , so 2 b = 0 forces b = 0 (since NF ( p 2 ) is a near-field and 2 0 ). Similarly, if b = 0 , then the third coordinate is 3 a , so 3 a = 0 forces a = 0 . If instead the last two coordinates are 0, then 3 a + b = 0 and 2 a + 2 b = 0 imply b = 3 a and a = b , hence a = 3 a , so ( 3 1 ) a = 2 a = 0 , which again forces a = 0 and then b = 0 . Thus no nonzero codeword can have weight 1 or 2, and therefore d H ( C ) 3 .
On the other hand, taking ( a , b ) = ( 1 , 0 ) gives c ( 1 , 0 ) = ( 1 , 0 , 3 , 2 ) , which has weight 3. Hence, d H ( C ) = 3 , and C meets the Singleton bound with equality.
Theorem 4.
Let C be a right-linear code with a systematic generator matrix G = [ I k A ] , where A F p k × ( n k ) . Assume that each column of A has at most one nonzero entry. Then C is left-stable.
Proof. 
Let a NF ( p 2 ) and b = ( b 1 , , b k ) NF ( p 2 ) k . Since C = { ( b , A b ) } , we have
a ( b , A b ) = a b , a ( A b ) .
Thus it suffices to prove a ( A b ) = A ( a b ) , where
( A b ) j = i = 1 k A i j b i , A ( a b ) j = i = 1 k A i j ( a b i ) .
Fix j { 1 , , n k } . If the jth column of A is zero then both sides are 0. Otherwise there is a unique index i j with A i j j 0 , so ( A b ) j = A i j j b i j . Since A i j j F p × H 0 , Lemma 3 (b) (with c = A i j j ) gives
a ( A b ) j = a A i j j b i j = A i j j a b i j = A ( a b ) j .
Hence a ( A b ) = A ( a b ) coordinate-wise, and therefore a ( b , A b ) = a b , A ( a b ) C .   □
Example 6.
Let C rep = { ( t , , t ) NF ( p 2 ) n : t NF ( p 2 ) } , with generator matrix
G = 1 1 1 n 1 , A = ( 1 , , 1 ) F p 1 × ( n 1 ) .
Then C rep is a right-linear code over NF ( p 2 ) . Moreover, it is left-stable by Theorem 4.

4. Hermitian Dickson Inner Product and LCD Codes

In this section, we investigate Hermitian Dickson LCD codes over the Dickson near-field NF ( p 2 ) . Motivated by the classical theory of LCD codes over finite fields [17,18,19], we consider complementary-dual codes with respect to the Hermitian Dickson inner product and develop systematic criteria in the F p –systematic setting.

4.1. Hermitian Dickson Inner Product and Duality

The Hermitian Dickson inner product of x and y is defined by
x , y H : = i = 1 n x i y i ¯ NF ( p 2 ) .
For a right-linear code C V , its Hermitian Dickson dual is
C H : = v V : v , c H = 0 for all c C .
We say that C is Hermitian Dickson self-orthogonal if C C H , and Hermitian Dickson self-dual if C = C H . Moreover, C is called a Hermitian Dickson LCD code if
C C H = { 0 } .
We first record that · , · H is invariant under coordinate permutations. For π S n , we let π act on V by
π ( x 1 , , x n ) : = ( x π 1 ( 1 ) , , x π 1 ( n ) ) .
Lemma 16.
For any π S n and any x , y V ,
π ( x ) , π ( y ) H = x , y H .
Consequently, for any right-linear code C and any π S n ,
π ( C H ) = π ( C ) H .
Proof. 
The first identity follows by a change of index in the defining sum:
π ( x ) , π ( y ) H = i = 1 n x π 1 ( i ) y π 1 ( i ) ¯ = j = 1 n x j y j ¯ = x , y H .
For the consequence, let v V and set z = π ( v ) . For any c C , the first part gives
z , π ( c ) H = π ( v ) , π ( c ) H = v , c H .
Thus v , c H = 0 for all c C if and only if π ( v ) , c H = 0 for all c π ( C ) , which proves the claim.   □
We now record the basic identities of the Hermitian Dickson inner product. In particular, · , · H is F p –linear in the first argument and compatible with the coordinate-wise right NF ( p 2 ) –action in the second.
Lemma 17.
For all x , y , z NF ( p 2 ) n , a NF ( p 2 ) , and λ F p :
 (a) 
x + z , y H = x , y H + z , y H .
 (b) 
λ x , y H = λ x , y H .
 (c) 
x , y a H = x , y H a ¯ .
 (d) 
x , y H ¯ = i = 1 n x i ¯ y i .
 (e) 
x ¯ , y ¯ H = x , y H ¯ .
 (f) 
If x , y H = 0 for all y NF ( p 2 ) n , then x = 0 . Likewise, if x , y H = 0 for all x NF ( p 2 ) n , then y = 0 .
Proof. 
Write x = ( x 1 , , x n ) and y = ( y 1 , , y n ) .
(a)
Using right distributivity in Lemma 1(a) coordinate-wise,
x + z , y H = i = 1 n ( x i + z i ) y i ¯ = i = 1 n x i y i ¯ + z i y i ¯ = x , y H + z , y H .
(b)
Let λ F p . For each i, the map t t y i ¯ is F p –linear by Lemma 2 (applied with n = 1 ), hence
λ x , y H = i = 1 n ( λ x i ) y i ¯ = λ i = 1 n x i y i ¯ = λ x , y H .
(c)
Since y a = ( y 1 a , , y n a ) , we have
x , y a H = i = 1 n x i y i a ¯ .
By Lemma 4(d), y i a ¯ = y i ¯ a ¯ , and therefore, by associativity,
x i y i a ¯ = x i ( y i ¯ a ¯ ) = ( x i y i ¯ ) a ¯ .
Applying right distributivity in the right factor a ¯ yields
x , y a H = i = 1 n ( x i y i ¯ ) a ¯ = i = 1 n x i y i ¯ a ¯ = x , y H a ¯ .
(d)
Using F p –linearity of conjugation in Lemma 4(a) and multiplicativity with respect to ∘ in Lemma 4(d),
x , y H ¯ = i = 1 n x i y i ¯ ¯ = i = 1 n x i y i ¯ ¯ = i = 1 n x i ¯ y i ¯ ¯ = i = 1 n x i ¯ y i .
(e)
By definition and Lemma 4(b),
x ¯ , y ¯ H = i = 1 n x i ¯ y i ¯ ¯ = i = 1 n x i ¯ y i = x , y H ¯ ,
where the last equality is exactly (d).
(f)
Suppose x , y H = 0 for all y NF ( p 2 ) n . If x 0 , choose j with x j 0 and take y = e j the jth standard basis vector. Then 0 = x , e j H = x j 1 ¯ = x j 1 = x j , a contradiction. Hence, x = 0 .
The second assertion is proved similarly: if x , y H = 0 for all x , then taking x = e j gives 0 = e j , y H = 1 y j ¯ = y j ¯ , so y j = 0 for all j and thus y = 0 .
Corollary 10.
For any right-linear code C one has
C H ¯ = ( C ¯ ) H .
Proof. 
Let w C H ¯ . Then w = v ¯ for some v C H . Take any u C ¯ , so u = c ¯ for some c C . By Lemma 17(e),
w , u H = v ¯ , c ¯ H = v , c H ¯ = 0 ,
hence w ( C ¯ ) H . This shows C H ¯ ( C ¯ ) H .
Conversely, let w ( C ¯ ) H and set v = w ¯ . For any c C we have c ¯ C ¯ , hence w , c ¯ H = 0 . Taking Dickson conjugates and using Lemma 17(e),
v , c H = w , c ¯ H ¯ = 0 .
Thus v C H , so w = v ¯ C H ¯ . Therefore ( C ¯ ) H C H ¯ , and equality follows.   □
Remark 5.
Lemma 17 is inherently one-sided: parts (a) and (b) concern additivity and F p –linearity in the first argument. In general there is no corresponding additivity (or F p –linearity) in the second argument, because the Dickson product is not left distributive. Likewise, the inner product is not right NF ( p 2 ) –linear in the second variable; the most one can expect is the ( · ) ¯ –semilinearity recorded in Lemma 17(c). The following computations make both failures explicit.
For concreteness, work in NF ( 9 ) with underlying field F 9 = F 3 ( α ) , where α 2 = 2 , and Dickson conjugation t ¯ = t 3 . Recall that α ¯ = α 3 = 2 α and that for b H 0 one has u b = u 3 b .
 (i) 
Failure of additivity in the second argument. Take n = 1 , x = α , y = α , and z = 1 . Then α + 1 ¯ = ( α + 1 ) 3 = 1 + 2 α , and hence
α , α + 1 H = α α + 1 ¯ = α ( 1 + 2 α ) .
Since 1 + 2 α H 0 , we have
α ( 1 + 2 α ) = α 3 ( 1 + 2 α ) = 2 α ( 1 + 2 α ) = 2 + 2 α .
On the other hand,
α , α H + α , 1 H = α α ¯ + α 1 ¯ = α ( 2 α ) + α = 1 + α ,
because 2 α H 0 and α ( 2 α ) = α ( 2 α ) = 2 α 2 = 1 in F 9 . Thus
α , α + 1 H α , α H + α , 1 H .
 (iI) 
Failure of right NF ( p 2 ) –linearity in the second argument. Still with n = 1 , take x = y = 1 and a = α F 3 , so a ¯ = 2 α a . Then
1 , 1 a H = 1 , α H = 1 α ¯ = 1 ( 2 α ) = 2 α , 1 , 1 H a = ( 1 1 ¯ ) α = α .
Hence, 1 , 1 a H 1 , 1 H a . At the same time, Lemma 17(c) holds sharply:
1 , 1 a H = 1 , 1 H a ¯ .
Corollary 11.
Let C be a right-linear code. Then:
 (a) 
C is Hermitian Dickson self-orthogonal if and only if C ¯ is Hermitian Dickson self-orthogonal.
 (b) 
C is Hermitian Dickson self-dual if and only if C ¯ is Hermitian Dickson self-dual.
Proof. 
By Corollary 10, C H ¯ = ( C ¯ ) H . Conjugating the inclusion C C H and the equality C = C H and using C ¯ ¯ = C yields both claims.   □
Corollary 12.
For any right-linear code C of length n, the code C is Hermitian Dickson LCD if and only if C ¯ is Hermitian Dickson LCD.
Proof. 
Since Galois conjugation is a bijection on NF ( p 2 ) n , it preserves intersections and { 0 } . Using Corollary 10,
C C H ¯ = C ¯ C H ¯ = C ¯ ( C ¯ ) H .
Thus C C H = { 0 } if and only if C ¯ ( C ¯ ) H = { 0 } .   □
Corollary 13.
For any permutation π S n and any right-linear code C :
 (a) 
C is Hermitian Dickson self-orthogonal if and only if π ( C ) is.
 (b) 
C is Hermitian Dickson self-dual if and only if π ( C ) is.
 (c) 
C is Hermitian Dickson LCD if and only if π ( C ) is.
Proof. 
Lemma 16 yields π ( C H ) = π ( C ) H . Since π is a bijection, π ( C C H ) = π ( C ) π ( C H ) . Applying π to C C H , C = C H , and C C H = { 0 } gives (a)–(c).   □

4.2. Duals of Systematic Right-Linear Codes

We now give a constructive description of the Hermitian Dickson dual of a systematic right-linear code. Because NF ( p 2 ) is only right distributive, the set C H need not be a right near-subspace a priori. Under a natural stability hypothesis on the conjugate code, we prove that C H is again a right-linear code and contains the right row span of a canonical systematic matrix. In the F p –systematic case this matrix generates C H and yields the expected dimension relation.
Theorem 5.
Let C be a right-linear code of right dimension k with systematic generator matrix G = I k A , where A NF ( p 2 ) k × ( n k ) . Set H = A ¯ I n k NF ( p 2 ) ( n k ) × n , and let H denote the right row span of H. Assume that C ¯ is left-stable. Then:
 (i) 
C H is a right-linear code.
 (ii) 
H C H .
 (iii) 
In particular, dim R ( C H ) n k , and hence dim R ( C ) + dim R ( C H ) n .
Proof. 
(i)
The set C H is an additive subgroup of V by Lemma 17(a). Let v C H and a NF ( p 2 ) . Fix c C and set u = c ¯ C ¯ . By hypothesis, a u C ¯ , hence there exists c C such that a c ¯ = c ¯ . Using associativity of ∘,
v a , c H = i = 1 n ( v i a ) c i ¯ = i = 1 n v i a c i ¯ = i = 1 n v i c i ¯ = v , c H = 0 .
Thus v a C H , proving that C H is a right-linear code.
(ii)
Let g 1 , , g k be the rows of G. Any c C can be written as c = i = 1 k g i u i for some u 1 , , u k NF ( p 2 ) , hence c = ( u | u A ) with u = ( u 1 , , u k ) and
( u A ) j = i = 1 k A i , j u i ( j = 1 , , n k ) .
Let h 1 , , h n k be the rows of H. For j { 1 , , n k } ,
h j = A 1 , j ¯ , , A k , j ¯ | e j .
By additivity of conjugation and x y ¯ = x ¯ y ¯ ,
( u A ) j ¯ = i = 1 k A i , j u i ¯ = i = 1 k A i , j ¯ u i ¯ .
Therefore
h j , c H = i = 1 k ( A i , j ¯ ) u i ¯ + 1 ( u A ) j ¯ = 0 ,
so h j C H for all j. Hence, H C H .
(iii)
Suppose j = 1 n k h j a j = 0 . Looking at the last n k coordinates yields ( a 1 , , a n k ) = 0 , hence a j = 0 for all j. Thus the rows of H are right independent and dim R ( H ) = n k . Using (ii) gives dim R ( C H ) n k , and the final inequality follows.
Corollary 14.
In the setting of Theorem 5, assume in addition that A i , j F p for all i , j . Then:
 (i) 
C H is a right-linear code.
 (ii) 
C H = H .
 (iii) 
In particular, dim R ( C H ) = n k , and hence
dim R ( C ) + dim R ( C H ) = n .
Proof. 
Statement (i) is Theorem 5(i), and H C H holds by Theorem 5(ii).
For the reverse inclusion, let v = ( p | q ) C H with p NF ( p 2 ) k and q NF ( p 2 ) n k . For each i { 1 , , k } , since g i = ( e i | A i , ) C , we have
0 = v , g i H = p i + j = 1 n k q j A i , j ¯ .
Because A i , j F p , we have A i , j ¯ = A i , j , and elements of F p are central in NF ( p 2 ) . Therefore
p i = j = 1 n k ( A i , j ) q j .
Let h 1 , , h n k be the rows of H = [ A I n k ] . The identities above imply
v = j = 1 n k h j q j H ,
so C H H . This proves (ii), and (iii) follows from dim R ( H ) = n k as in Theorem 5(iii).   □
Corollary 15.
Assume the hypotheses of Theorem 5. Then:
(i)
If C is Hermitian Dickson self-dual, then dim R ( C ) n 2 .
(ii)
If C is Hermitian Dickson self-orthogonal, then dim R ( C H ) n 2 .
Proof. 
By Theorem 5(iii), dim R ( C ) + dim R ( C H ) n . If C = C H , then 2 dim R ( C ) n , proving (i). If C C H , then dim R ( C ) dim R ( C H ) and n 2 dim R ( C H ) , proving (ii).   □
Corollary 16.
 Assume the hypotheses of Corollary 14. Then: 
(i)
If C is Hermitian Dickson self-orthogonal, then dim R ( C ) n 2 .
(ii)
If C is Hermitian Dickson self-dual, then n is even and dim R ( C ) = n 2 .
Proof. 
By Corollary 14(iii), dim R ( C ) + dim R ( C H ) = n . If C C H , then dim R ( C ) dim R ( C H ) , hence n 2 dim R ( C ) , proving (i). If C = C H , then n = 2 dim R ( C ) , proving (ii).   □
Corollary 17.
Under the hypotheses of Corollary 14, the standard size relation holds:
| C | · C H = | NF ( p 2 ) | n = p 2 n .
Proof. 
By Corollary 14(iii) and Corollary 4, we have | C | = | NF ( p 2 ) | k = p 2 k and | C H | = | NF ( p 2 ) | n k = p 2 ( n k ) . Therefore | C | · | C H | = p 2 k · p 2 ( n k ) = p 2 n = | NF ( p 2 ) | n .   □

4.3. Gram–Type Criteria in the F p –Systematic Case

We now restrict to the F p –systematic case and assume the hypotheses of Corollary 14. In this regime, Galois conjugation fixes F p (so A ¯ = A ) and F p Z ( NF ( p 2 ) ) , hence the Hermitian Dickson dual is generated by the canonical matrix
H = A I n k .
Moreover, the matrix of Hermitian Dickson inner products between the rows of G coincides with the usual Gram matrix. Indeed, since A ¯ = A , we have
G G ¯ = G G = I k A I k A = I k + A A F p k × k .
Motivated by the classical Gram–matrix viewpoint in the study of LCD codes and hulls over finite fields (see, e.g., [17,20]), we define the Hermitian Dickson Gramian associated with G by Γ : = I k + A A F p k × k . For a matrix M over F p , we write rank F p ( M ) for its rank over F p and set nullity F p ( M ) : = dim F p Ker F p ( M ) .
Proposition 5.
If g 1 , , g k denote the rows of G, then g r , g s H = Γ r , s for all 1 r , s k . In particular, C is Hermitian Dickson self-orthogonal if and only if Γ = 0 in F p k × k .
Proof. 
Write g r = ( e r | A r , ) . Since A F p , we have g s ¯ = g s and x c = x c for every c F p . Therefore
g r , g s H = i = 1 n ( g r ) i ( g s ) i ¯ = i = 1 n ( g r ) i ( g s ) i = δ r s + j = 1 n k A r j A s j ,
which is exactly the ( r , s ) –entry of I k + A A , i.e., of Γ .
If Γ = 0 , then g r , g s H = 0 for all r , s , hence each g r C H . Since C is generated from its rows by addition and the coordinate-wise right NF ( p 2 ) –action, it follows that C C H . Conversely, if C C H , then g r , g s H = 0 for all r , s , hence Γ = 0 .   □
Proposition 6.
Let C NF ( p 2 ) n be a right-linear code generated by a systematic matrix G = [ I k A ] with A F p k × ( n k ) , and let Γ : = I k + A A F p k × k be the Hermitian Dickson Gramian. Then
C C H = ( u | u A ) NF ( p 2 ) n : u NF ( p 2 ) k and u Γ = 0 .
In particular, C is Hermitian Dickson LCD if and only if Γ is nonsingular over F p .
Proof. 
By Corollary 14, C H = H with H = [ A I n k ] . Since G is systematic, every codeword of C is uniquely of the form ( u | u A ) with u NF ( p 2 ) k .
Let h 1 , , h n k be the rows of H and let q = ( q 1 , , q n k ) NF ( p 2 ) n k . A generic element of H is j = 1 n k h j q j . Because A i j F p is central in NF ( p 2 ) , every vector in H can be written in the form ( q A | q ) , where ( q A ) i = j = 1 n k q j A i j .
Now let ( u | u A ) C C H . Then ( u | u A ) H , so there exists q NF ( p 2 ) n k such that
( u | u A ) = ( q A | q ) .
Comparing the last n k coordinates yields q = u A , and substituting into the first k coordinates gives u = ( u A ) A . Since A has entries in F p , the product ( u A ) A coincides with the usual matrix product u ( A A ) . Hence, u + u ( A A ) = 0 , equivalently u ( I k + A A ) = 0 , i.e., u Γ = 0 . This proves the displayed characterization.
Conversely, if u Γ = 0 and we set q : = u A , then u = u ( A A ) = ( u A ) A = q A , hence ( u | u A ) = ( q A | q ) H = C H . Therefore ( u | u A ) C C H .
For the LCD criterion, assume that Γ is nonsingular over F p and let u NF ( p 2 ) k satisfy u Γ = 0 . Fix an F p –basis { 1 , ω } of the additive group of NF ( p 2 ) and write u = u + ω u with u , u F p k . Since Γ F p k × k , the condition u Γ = 0 implies u Γ = 0 and u Γ = 0 in F p k , hence u = 0 and u = 0 , and therefore u = 0 . Thus C C H = { 0 } and C is LCD.
Conversely, if Γ is singular over F p , choose 0 t F p k with t Γ = 0 . Viewing t as an element of NF ( p 2 ) k , the nonzero codeword ( t | t A ) lies in C C H , so C is not LCD.   □
Corollary 18.
In the setting of Proposition 6,
dim R C C H = nullity F p ( Γ ) = k rank F p ( Γ ) .
Proof. 
By Proposition 6, the intersection is the image of the set Ker ( Γ ) : = { u NF ( p 2 ) k : u Γ = 0 } under the injective map u ( u | u A ) , hence dim R ( C C H ) = dim R ( Ker ( Γ ) ) .
Since Γ F p k × k , the constraint u Γ = 0 is F p –linear in the F p –coordinates of u . Writing u = u ( 0 ) + ω u ( 1 ) with u ( 0 ) , u ( 1 ) F p k , we have u Γ = 0 if and only if u ( 0 ) Γ = 0 and u ( 1 ) Γ = 0 in F p k . Therefore Ker ( Γ ) has F p –dimension 2 nullity F p ( Γ ) .
On the other hand, Ker ( Γ ) is a right near-subspace of NF ( p 2 ) k , and NF ( p 2 ) has F p –dimension 2, so the F p –dimension of any right near-subspace equals twice its right dimension. Hence dim R ( Ker ( Γ ) ) = nullity F p ( Γ ) , and the stated identity follows.   □
Corollary 19.
Assume the hypotheses of Corollary 14, and let G = [ I k A ] generate C with A F p k × ( n k ) . If C is Hermitian Dickson self-dual, then n = 2 k and I k + A A = 0 .
Proof. 
Self-duality implies self-orthogonality, so Proposition 5 yields I k + A A = 0 . Moreover, Corollary 14(iii) gives n = dim R ( C ) + dim R ( C H ) = 2 k , hence n = 2 k .   □

4.4. Hamming Distance via a Hermitian Dickson Parity-Check Matrix

We close the F p –systematic case with the standard parity-check characterization of the minimum Hamming distance. In this setting, the canonical matrix H = [ A ¯ I n k ] serves as a Hermitian Dickson parity-check matrix for C .
Theorem 6.
Assume the hypotheses of Corollary 14. Let C be a right-linear code generated by G = [ I k A ] with A F p k × ( n k ) . Let H = [ A ¯ I n k ] NF ( p 2 ) ( n k ) × n , and write h ( 1 ) , , h ( n ) for the columns of H. Then x C if and only if H x ¯ = 0 , equivalently
H x ¯ = j = 1 n h ( j ) x j ¯ = 0 .
Moreover, d H ( C ) equals the smallest integer t for which there exist distinct indices j 1 , , j t and elements c 1 , , c t NF ( p 2 ) × such that h ( j 1 ) c 1 + + h ( j t ) c t = 0 .
Equivalently, d H ( C ) is the smallest number of columns of H that are right-linearly dependent over NF ( p 2 ) .
Proof. 
By Corollary 14, the rows of H generate C H ; hence x C implies H x ¯ = 0 .
Conversely, assume H x ¯ = 0 and write x = ( b | d ) with b NF ( p 2 ) k and d NF ( p 2 ) n k . Reading the equation row-wise gives, for each j = 1 , , n k ,
d j ¯ = i = 1 k A i , j b i ¯ .
Applying Galois conjugation and using A i , j ¯ = A i , j yields d j = i = 1 k A i , j b i ,
so d = b   A and therefore x = ( b | b A ) C .
For the distance statement, observe that H x ¯ = 0 is equivalent to the column relation j = 1 n h ( j ) x j ¯ = 0 . If h ( j 1 ) c 1 + + h ( j t ) c t = 0 is a nontrivial right dependence among t columns, choose x j s NF ( p 2 ) with x j s ¯ = c s and set all other coordinates to 0. Then H x ¯ = 0 , hence x C , and wt H ( x ) = t , so d H ( C ) t .
Conversely, let 0 x C and set S = { j : x j 0 } . From j = 1 n h ( j ) x j ¯ = 0 we obtain the nontrivial dependence j S h ( j ) x j ¯ = 0 among the columns indexed by S. Thus some | S | = wt H ( x ) columns are right-linearly dependent. Minimizing over nonzero x C gives the claim.   □

5. Numerical Section

In this section, we present a computational classification of Hermitian Dickson self-orthogonal right-linear codes over the Dickson near-field NF ( p 2 ) , for p { 3 , 5 , 7 } and for short lengths ( n 8 ) with right dimension k { 1 , 2 } . All computations and numerical data were obtained with the computer algebra system Magma [16], using implementations of the Dickson product ∘, Galois (Frobenius) conjugation, and the Hermitian Dickson inner product.
Throughout this section, code equivalence is taken with respect to right monomial equivalence, i.e., the action on NF ( p 2 ) n induced by monomial matrices.
For each admissible pair ( n , k ) , we first enumerate right-linear codes over NF ( p 2 ) up to right monomial equivalence. Using Theorem 1, we then select a systematic representative G = [ I k A ] ; whenever possible, we choose an F p –systematic representative, meaning that A F p k × ( n k ) . This F p –systematic choice is only a display convention when such a representative exists in the equivalence class; the enumeration itself is performed over all right-linear codes over NF ( p 2 ) up to monomial equivalence. Hermitian Dickson self-orthogonality is tested via Proposition 5; in the F p –systematic case, this reduces to the condition A A = I k . For each resulting code, we compute the minimum Hamming distance d H ( C ) and the weight distribution. We also record whether C is Hermitian Dickson self-dual and whether it meets the Singleton bound (Theorem 3). Finally, we group the codes into right monomial equivalence classes and tabulate, for each class, a representative generator matrix together with the corresponding invariants.
We restrict our tabulation to codes for which the conjugate code C ¯ is left-stable, so that Theorem 5 applies and the Hermitian right dual C H is again right-linear. In the parameter ranges considered in Table 1, Table 2 and Table 3, each such equivalence class admits an F p -systematic representative (hence the displayed matrices A lie in F p ); this is a choice of normal form and does not mean the codes are over a field.
In the parameter ranges reported in Table 1, Table 2 and Table 3, we observe two notable patterns: (i) for each admissible pair ( n , k ) , only a small number of right monomial equivalence classes occur; (ii) within these ranges, the self-dual cases (when n = 2 k ) coincide with the MDS cases, i.e., those attaining the Singleton bound.
Example 7.
Let NF ( p 2 ) = NF ( 25 ) . Following the computational procedure described earlier in this section, we enumerate all admissible F 5 –systematic one-generator right-linear codes and classify them up to the same right monomial equivalence adopted throughout the tables. The computation shows that, for ( n , k ) = ( 4 , 1 ) , there are exactly four inequivalent classes. We present one F 5 –systematic generator for each class, together with the corresponding numerical invariants.
Among these, there is a unique non-MDS class, which may be represented by
G = [ 1 2 0 0 ] .
This class has d H ( C ) = 2 with weight distribution [ < 0 , 1 > , < 2 , 24 > ] , and the automorphism-group size is | Aut ( C ) | = 256 . Set
| M 4 | : = 4 ! ( | F 5 × | ) 4 = 24 · 4 4 = 6144 ,
the size of the right-monomial group acting on length 4. It follows that the corresponding equivalence class contains
| M 4 | 256 = 24
distinct codes that are right-monomially equivalent to the displayed representative.
The remaining three classes meet the Singleton bound and hence are MDS. They admit the following F 5 –systematic generators:
G = [ 1 2 2 1 ] , G = [ 1 1 2 3 ] , G = [ 1 2 3 4 ] .
Moreover, these three MDS classes share the same numerical invariants: d H ( C ) = 4 and weight distribution [ < 0 , 1 > , < 4 , 24 > ] . For each of these three MDS classes, the automorphism-group size is | Aut ( C ) | = 96 , and hence each corresponding equivalence class contains
| M 4 | 96 = 64
distinct codes that are right-monomially equivalent to the displayed representative. These three MDS codes are nevertheless pairwise inequivalent under right monomial equivalence.
Finally, we note that these results are in full agreement with the corresponding  Magma  computations, reproducing exactly the four entries listed under n = 4 and k = 1 in Table 2.
The complete classification results for p = 3 , 5 , 7 are summarized in Table 1, Table 2 and Table 3, respectively, where each row corresponds to a right monomial equivalence class and reports the associated parameters and invariants.

6. Conclusions and Future Work

In this paper, we developed a systematic framework for right-linear codes over the Dickson near-field NF ( p 2 ) . We reviewed the Dickson near-field structure on F p 2 and the associated one-sided linear algebra, introduced right-linear codes as right near-subspaces of NF ( p 2 ) n , and proved that, up to right monomial equivalence, every such code admits a systematic generator matrix. We established basic parameter relations, including a Singleton-type bound for the minimum Hamming distance, and showed that Galois conjugationdefines a Hamming isometry compatible with the equivalence notions considered. With respect to the Hermitian Dickson inner product, we developed the corresponding duality theory and examined Hermitian Dickson self-orthogonality, self-duality, and the LCD property in a setting where duals need not be right codes a priori. In the F p –systematic case, we obtained explicit parity-check descriptions and Gram-type criteria that enable effective verification of these duality properties.
Several directions for future work arise naturally. Two concrete directions appear particularly promising. First, motivated by the MDS instances observed in Table 1, Table 2 and Table 3, we plan to construct explicit infinite families of Hermitian Dickson MDS codes, including self-dual MDS codes in the square case n = 2 k . Second, we aim to relax the left-stability hypothesis used to ensure that the Hermitian right dual C H remains right-linear, or to identify alternative sufficient conditions leading to parity-check-type descriptions of C H for wider parameter ranges. First, extending the computational classification to larger lengths and higher right dimensions may reveal additional families of Hermitian Dickson self-dual and LCD codes with strong parameters. Second, it is of interest to move beyond the F p –systematic regime by developing computable criteria for when the parity block has entries in NF ( p 2 ) and by identifying transparent sufficient conditions ensuring the left-stability hypotheses that control the behavior of Hermitian Dickson duals. Third, it would be worthwhile to generalize the theory to other Dickson near-fields and to suitable classes of near-rings (including non-unital settings) and to determine which components of the duality theory persist beyond the near-field case. Finally, it would be interesting to investigate MacWilliams-type relations and weight-enumerator phenomena adapted to one-sided algebraic structures and to develop decoding methods and explore potential applications of near-field codes.

Author Contributions

Conceptualization, A.A.; methodology, A.A.; software, A.A. and F.A.A.-h.; validation, A.A. and F.A.A.-h.; formal analysis, A.A. and F.A.A.-h.; investigation, A.A. and F.A.A.-h.; resources, F.A.A.-h.; data curation, A.A.; writing—original draft preparation, A.A.; writing—review and editing, A.A. and F.A.A.-h.; visualization, A.A.; supervision, A.A.; project administration, A.A. and F.A.A.-h.; funding acquisition, F.A.A.-h. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Macwilliams, F.J.; Sloane, N.J.A. The Theory of Error-Correcting Codes; North-Holland Publisher Co.: Amsterdam, The Netherlands, 1977; Volume 16. [Google Scholar]
  2. Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  3. Hammons, A.R., Jr.; Kumar, P.V.; Calderbank, A.R.; Sloane, N.J.A.; Solé, P. The Z4-linearity of Kerdock, Preparata, Goethals, and related codes. IEEE Trans. Inf. Theory 1994, 40, 301–319. [Google Scholar] [CrossRef] [Scilit]
  4. Shi, M.; Alahmadi, A.; Solé, P. Codes and Rings: Theory and Practice; Academic Press: London, UK, 2017. [Google Scholar]
  5. Alahmadi, A.; Alshuhail, A.; Solé, P. The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Commutative Ring. AIMS Math. 2023, 8, 24367–24378. [Google Scholar] [CrossRef] [Scilit]
  6. Deb, S.; Kikani, I.; Gupta, M.K. On the Classification of Codes over Non-Unital Ring of Order 4. Discret. Math. Algorithms Appl. 2023, 16, 2350076. [Google Scholar] [CrossRef] [Scilit]
  7. Kushwaha, A.; Prakash, O. Hulls of Free Linear Codes over a Non-Unital Ring. arXiv 2025, arXiv:2512.12335. [Google Scholar] [CrossRef] [Scilit]
  8. Sagar, V.; Sarma, R. Codes over the non-unital non-commutative ring E using simplicial complexes. IEEE Trans. Inf. Theory 2024, 70, 3373–3384. [Google Scholar] [CrossRef] [Scilit]
  9. Dickson, L.E. On finite algebras. In Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse; Göttinger Akademie der Wissenschaften: Göttingen, Germany, 1905; pp. 358–393. [Google Scholar]
  10. Zassenhaus, H. Über endliche Fastkörper. Abh. Math. Semin. Univ. Hambg. 1935, 11, 187–220. [Google Scholar] [CrossRef] [Scilit]
  11. Djagba, P.; Prins, A.L. On linear mappings and seed sets of Beidleman near-vector spaces. Palest. J. Math. 2025, 14, 195–212. [Google Scholar]
  12. Alshuhail, A.; Alshammari, M.F.A.; Solé, P. Codes over the Dickson Near-Field of Order Nine. Mathematics 2026, 14, 228. [Google Scholar] [CrossRef] [Scilit]
  13. Naifar, O. Tempered fractional gradient descent: Theory, algorithms, and robust learning applications. Neural Netw. 2026, 193, 108005. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Lidl, R.; Niederreiter, H. Finite Fields, 2nd ed.; Encyclopedia of Mathematics and its Applications; Cambridge University Press: Cambridge, UK, 1997; Volume 20. [Google Scholar]
  15. Rains, E.M.; Sloane, N.J.A. Self-dual codes. In Handbook of Coding Theory; Pless, V., Huffman, W.C., Brualdi, R.A., Eds.; Elsevier: Amsterdam, The Netherlands, 1998. [Google Scholar]
  16. Bosma, W.; Cannon, J.; Playoust, C. The magma algebra system I: The user language. J. Symb. Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef] [Scilit]
  17. Massey, J.L. Linear Codes with Complementary Duals. Discret. Math. 1992, 106–107, 337–342. [Google Scholar] [CrossRef] [Scilit]
  18. Sendrier, N. Linear codes with complementary duals meet the Gilbert–Varshamov bound. Discret. Math. 2004, 285, 345–347. [Google Scholar] [CrossRef] [Scilit]
  19. Carlet, C.; Guilley, S. Complementary dual codes for counter-measures to side-channel attacks. In Coding Theory and Applications; CIM Series in Mathematical Sciences, Volume 3; Springer: Berlin/Heidelberg, Germany, 2014; pp. 97–105. [Google Scholar]
  20. Jitman, S.; Thipworawimon, S. Hulls of linear codes revisited with applications. J. Appl. Math. Comput. 2020, 62, 325–340. [Google Scholar]
Table 1. Hermitian Dickson self-orthogonal codes over NF ( 9 ) for lengths n 8 .
Table 1. Hermitian Dickson self-orthogonal codes over NF ( 9 ) for lengths n 8 .
nk d H A Aut ( C ) Weight Distribution (Magma)Note
313 [ 1 1 ] 12 [ < 0 , 1 > , < 3 , 8 > ] MDS
413 [ 1 1 0 ] 24 [ < 0 , 1 > , < 3 , 8 > ]
23 1 1 1 2 48 [ < 0 , 1 > , < 3 , 32 > , < 4 , 48 > ] Self-dual, MDS
513 [ 1 1 0 0 ] 96 [ < 0 , 1 > , < 3 , 8 > ]
23 1 1 0 1 2 0 96 [ < 0 , 1 > , < 3 , 32 > , < 4 , 48 > ]
613 [ 1 1 0 0 0 ] 576 [ < 0 , 1 > , < 3 , 8 > ]
6 [ 1 1 1 1 1 ] 1440 [ < 0 , 1 > , < 6 , 8 > ] MDS
23 1 1 0 0 1 2 0 0 384 [ < 0 , 1 > , < 3 , 32 > , < 4 , 48 > ]
3 1 0 1 0 0 1 0 1 288 [ < 0 , 1 > , < 3 , 16 > , < 6 , 64 > ]
713 [ 1 1 0 0 0 0 ] 4608 [ < 0 , 1 > , < 3 , 8 > ]
6 [ 1 1 1 1 1 0 ] 2880 [ < 0 , 1 > , < 6 , 8 > ]
23 1 1 0 0 0 1 2 0 0 0 2304 [ < 0 , 1 > , < 3 , 32 > , < 4 , 48 > ]
3 0 0 1 1 0 1 1 0 0 0 576 [ < 0 , 1 > , < 3 , 16 > , < 6 , 64 > ]
3 0 0 0 1 1 1 1 1 1 2 288 [ < 0 , 1 > , < 3 , 8 > , < 6 , 24 > , <7,48>]
813 [ 1 1 0 0 0 0 0 ] 46,080 [ < 0 , 1 > , < 3 , 8 > ]
6 [ 1 1 1 1 1 0 0 ] 11,520 [ < 0 , 1 > , < 6 , 8 > ]
23 1 1 0 0 0 0 1 2 1 1 1 0 576 [ < 0 , 1 > , < 3 , 8 > , < 6 , 24 > , < 7 , 48 > ]
3 1 1 0 0 0 0 0 0 1 1 0 0 2304 [ < 0 , 1 > , < 3 , 16 > , < 6 , 64 > ]
3 1 1 0 0 0 0 1 2 0 0 0 0 18,432 [ < 0 , 1 > , < 3 , 32 > , < 4 , 48 > ]
6 1 0 1 1 1 1 0 1 1 1 2 2 768 [ < 0 , 1 > , < 6 , 32 > , < 8 , 48 > ] d H = n k
Table 2. Hermitian Dickson self-orthogonal codes over NF ( 25 ) for lengths n 8 .
Table 2. Hermitian Dickson self-orthogonal codes over NF ( 25 ) for lengths n 8 .
nk d H A Aut ( C ) Weight Distribution (Magma)Note
212 [ 2 ] 8 [ < 0 , 1 > , < 2 , 24 > ] Self-dual, MDS
312 [ 2 0 ] 32 [ < 0 , 1 > , < 2 , 24 > ]
412 [ 2 0 0 ] 256 [ < 0 , 1 > , < 2 , 24 > ]
14 [ 2 2 1 ] 96 [ < 0 , 1 > , < 4 , 24 > ] MDS
14 [ 1 2 3 ] 96 [ < 0 , 1 > , < 4 , 24 > ] MDS
14 [ 2 3 4 ] 96 [ < 0 , 1 > , < 4 , 24 > ] MDS
22 2 0 0 2 128 [ < 0 , 1 > , < 2 , 48 > , < 4 , 576 > ] d H = n k
515 [ 1 1 1 1 ] 480 [ < 0 , 1 > , < 5 , 24 > ] MDS
522 2 0 0 0 2 0 512 [ < 0 , 1 > , < 2 , 48 > , < 4 , 576 > ]
4 1 2 2 2 1 3 80 [ < 0 , 1 > , < 4 , 120 > , < 5 , 504 > ] MDS
616 [ 2 2 2 1 1 ] 2880 [ < 0 , 1 > , < 6 , 24 > ] MDS
22 0 0 0 2 0 0 2 0 4096 [ < 0 , 1 > , < 2 , 48 > , < 4 , 576 > ]
2 0 0 0 2 1 2 2 0 768 [ < 0 , 1 > , < 2 , 24 > , < 4 , 24 > , < 6 , 576 > ]
4 0 1 2 2 2 1 0 2 192 [ < 0 , 1 > , < 4 , 72 > , < 6 , 552 > ] d H = n k
4 1 1 1 1 1 1 4 4 64 [ < 0 , 1 > , < 4 , 48 > , < 5 , 48 > , < 6 , 528 > ] d H = n k
4 0 1 2 2 0 2 1 3 320 [ < 0 , 1 > , < 4 , 120 > , < 5 , 504 > ] d H = n k
717 [ 2 1 1 1 1 1 ] 20,160 [ < 0 , 1 > , < 7 , 24 > ] MDS
25 3 4 3 3 4 3 1 1 2 2 160 [ < 0 , 1 > , < 5 , 24 > , < 6 , 120 > , < 7 , 480 > ] d H = n k
818 [ 2 2 2 2 1 1 1 ] 161,280 [ < 0 , 1 > , < 8 , 24 > ] MDS
826 0 1 1 2 2 2 1 0 2 2 3 4 64 [ < 0 , 1 > , < 6 , 72 > , < 7 , 48 > , < 8 , 504 > ] d H = n k
Table 3. Hermitian Dickson self-orthogonal codes over NF ( 49 ) lengths 3 n 8 .
Table 3. Hermitian Dickson self-orthogonal codes over NF ( 49 ) lengths 3 n 8 .
nk d H A Aut ( C ) Weight Distribution (Magma)Note
313 [ 3 2 ] 36 [ < 0 , 1 > , < 3 , 48 > ] MDS
414 [ 1 1 2 ] 144 [ < 0 , 1 > , < 4 , 48 > ] MDS
23 3 2 5 3 72 [ < 0 , 1 > , < 3 , 192 > , < 4 , 2208 > ] self-dual, MDS
515 [ 1 1 3 3 ] 720 [ < 0 , 1 > , < 5 , 48 > ] MDS
616 [ 1 1 1 1 3 ] 4320 [ < 0 , 1 > , < 6 , 48 > ] MDS
23 0 0 2 3 2 3 0 0 2592 [ < 0 , 1 > , < 3 , 96 > , < 6 , 2304 > ]
717 [ 1 1 1 1 1 1 ] 30,240 [ < 0 , 1 > , < 7 , 48 > ] MDS
25 1 1 1 1 3 3 4 1 6 0 24 [ < 0 , 1 > , < 5 , 48 > , < 6 , 240 > , < 7 , 2112 > ]
818 [ 2 2 1 1 1 1 1 ] 241,920 [ < 0 , 1 > , < 8 , 48 > ] MDS
827 1 1 1 3 2 2 1 2 3 1 1 5 2016 [ < 0 , 1 > , < 7 , 384 > , < 8 , 2016 > ] MDS
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alshuhail, A.; Al-hubairah, F.A. Hermitian Dickson Dualities for Codes over Near-Fields. Mathematics 2026, 14, 833. https://doi.org/10.3390/math14050833

AMA Style

Alshuhail A, Al-hubairah FA. Hermitian Dickson Dualities for Codes over Near-Fields. Mathematics. 2026; 14(5):833. https://doi.org/10.3390/math14050833

Chicago/Turabian Style

Alshuhail, Altaf, and Fozaiyah A. Al-hubairah. 2026. "Hermitian Dickson Dualities for Codes over Near-Fields" Mathematics 14, no. 5: 833. https://doi.org/10.3390/math14050833

APA Style

Alshuhail, A., & Al-hubairah, F. A. (2026). Hermitian Dickson Dualities for Codes over Near-Fields. Mathematics, 14(5), 833. https://doi.org/10.3390/math14050833

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop