dots,y_n)\in R^n$, their standard inner product is defined by $\langle x,y\rangle=\sum_{i=1}^nx_iy_i$, where the operation is performed in $R$. The [**dual code**]{} of $C$, denoted by $C^\perp$, consists of all vectors of $R^n$ which are orthogonal to every codeword in $C$, i.e., $C^\perp=\{y\in R^n|\langle x,y\rangle =0, \forall x\in C\}.$

We note that the Lee weight of an element $a+bu+cv+duv\in R$ was defined in [@YZK] to be the Hamming weight of the $p$-ary vector $(d,c+d,b+d,a+b+c+d)$. This leads to the Gray map $\phi:~R^n\rightarrow{\mathbb{F}}_p^{4n}$: $$\phi(\mathbf{a}+\mathbf{b}u+\mathbf{c}v+\mathbf{d}uv)=(\mathbf{d},\mathbf{c}+\mathbf{d},\mathbf{b}+\mathbf{d},
\mathbf{a}+\mathbf{b}+\mathbf{c}+\mathbf{d} ),$$ where $\mathbf{a},\mathbf{b},\mathbf{c},\mathbf{d} \in {\mathbb{F}}_p^n.$ As was observed in [@YZK], $\phi$ is a distance preserving isometry from $(R^n,d_L)$ to $({\mathbb{F}}_p^{4n},d_H)$, where $d_L$ and $d_H$ denote the Lee and Hamming distance in $R^n$ and ${\mathbb{F}}_p^{4n}$, respectively. That means if $C$ is a linear code over $R$ with parameters $(n,p^k,d)$, then $\phi(C)$ is a linear code of parameters $[4n,k,d]$ over ${\mathbb{F}}_p$.

Given a finite abelian group $G,$ a code over $R$ is said to be [**abelian**]{} if it is an ideal of the group ring $R[G].$ In other words, the coordinates of $C$ are indexed by elements of $G$ and $G$ acts regularly on this set. In the special case when $G$ is cyclic
dots, y_n)\in R^n$, their standard inner product is defined by $ \langle x, y\rangle=\sum_{i=1}^nx_iy_i$, where the process is perform in $ R$. The [ * * dual code * * ] { } of $ C$, denoted by $ C^\perp$, consists of all vector of $ R^n$ which are orthogonal to every codeword in $ C$, i.e., $ C^\perp=\{y\in R^n|\langle x, y\rangle = 0, \forall x\in C\}.$ 

 We note that the Lee weight unit of an component $ a+bu+cv+duv\in R$ was defined in [ @YZK ] to be the Hamming weight of the $ p$-ary vector $ (d, c+d, b+d, a+b+c+d)$. This leads to the Gray map $ \phi:~R^n\rightarrow{\mathbb{F}}_p^{4n}$: $ $ \phi(\mathbf{a}+\mathbf{b}u+\mathbf{c}v+\mathbf{d}uv)=(\mathbf{d},\mathbf{c}+\mathbf{d},\mathbf{b}+\mathbf{d }, 
 \mathbf{a}+\mathbf{b}+\mathbf{c}+\mathbf{d }), $ $ where $ \mathbf{a},\mathbf{b},\mathbf{c},\mathbf{d } \in { \mathbb{F}}_p^n.$ As was note in [ @YZK ], $ \phi$ is a distance preserving isometry from $ (R^n, d_L)$ to $ ({ \mathbb{F}}_p^{4n},d_H)$, where $ d_L$ and $ d_H$ denote the Lee and Hamming distance in $ R^n$ and $ { \mathbb{F}}_p^{4n}$, respectively. That means if $ C$ is a linear code over $ R$ with parameters $ (n, p^k, d)$, then $ \phi(C)$ is a linear code of parameter $ [ 4n, k, d]$ over $ { \mathbb{F}}_p$. 

 Given a finite abelian group $ G,$ a code over $ R$ is said to be [ * * abelian * * ] { } if it is an ideal of the group ring $ R[G].$ In early words, the coordinates of $ C$ are index by elements of $ G$ and $ G$ act regularly on this set. In the special case when $ G$ is cyclic
dotd,y_n)\in R^n$, their standard lnner product is definev by $\lahgle x,y\rxngle=\sum_{i=1}^nx_iy_i$, where the opecatiin is performed in $R$. The [**duxl code**]{} ov $C$, denored uy $C^\perp$, consists of all vectodd of $C^n$ which are orjhogonal to avery codeword iv $E$, i.e., $C^\perp=\{y\in R^n|\langle x,y\rangle =0, \forwll x\in C\}.$

Ae note that tre Lte reiggn if an element $a+bu+cv+duv\in R$ waa defintd in [@YZK] to be thr Hamming weight of the $p$-agy vfctor $(d,c+d,b+d,a+b+c+d)$. Thls leads to the Tray map $\phi:~F^n\rightarrow{\mathbb{F}}_p^{4n}$: $$\khi(\mathbf{a}+\mathbf{b}u+\mathbf{c}v+\mathbf{a}uv)=(\machbf{d},\mathbf{x}+\mqthhx{d},\mathbf{b}+\mavhbf{d},
\mwthbf{a}+\mathbf{n}+\kathbf{w}+\mathbf{c} ),$$ where $\mathbn{a},\matibf{b},\nathbf{c},\mathbf{d} \in {\matibb{F}}_p^n.$ As was observgd in [@YZK], $\[hn$ is a distance preseevung ivomedry weom $(R^n,s_L)$ tk $({\mathhb{F}}_'^{4n},d_H)$, where $s_L$ and $d_H$ dwnote the Lee and Hsmipmg distance jn $R^n$ wnq ${\mathbb{F}}_p^{4n}$, respectively. That means if $B$ is a linear code over $R$ wuth parameters $(n,p^k,d)$, tjen $\phi(C)$ ys a linear code of parameters $[4n,k,d]$ over ${\mathbb{F}}_p$.

Ghven e winnbc abdoiwn group $G,$ a code over $R$ is said to be [**abeliag**]{} ig pt is an ideal of the group tijg $T[G].$ In other wotds, the cokrdinates of $C$ are indexeq by wlements jf $G$ and $G$ acts regularly on thus set. In thv spwcial case when $G$ ns cyclic
dots,y_n)\in R^n$, their standard inner product is $\langle where the is performed in $C$, by $C^\perp$, consists all vectors of which are orthogonal to every codeword $C$, i.e., $C^\perp=\{y\in R^n|\langle x,y\rangle =0, \forall x\in C\}.$ We note that the weight of an element $a+bu+cv+duv\in R$ was defined in [@YZK] to be the weight the vector This leads to the Gray map $\phi:~R^n\rightarrow{\mathbb{F}}_p^{4n}$: $$\phi(\mathbf{a}+\mathbf{b}u+\mathbf{c}v+\mathbf{d}uv)=(\mathbf{d},\mathbf{c}+\mathbf{d},\mathbf{b}+\mathbf{d}, \mathbf{a}+\mathbf{b}+\mathbf{c}+\mathbf{d} ),$$ where $\mathbf{a},\mathbf{b},\mathbf{c},\mathbf{d} \in {\mathbb{F}}_p^n.$ As was in [@YZK], $\phi$ is a distance preserving isometry $(R^n,d_L)$ to $({\mathbb{F}}_p^{4n},d_H)$, where and $d_H$ denote the Lee Hamming in $R^n$ ${\mathbb{F}}_p^{4n}$, That if $C$ is linear code over $R$ with parameters $(n,p^k,d)$, then $\phi(C)$ is a linear code of parameters $[4n,k,d]$ over Given a group $G,$ code $R$ said to be it is an ideal of the In other words, the coordinates of $C$ are by elements $G$ and $G$ acts regularly on set. In the special case when $G$ is
dots,y_n)\in R^n$, their standard inNer product Is defIneD by $\LaNgle X,y\raNgle=\sum_{i=1}^nx_iy_i$, wHEre tHe operation is performed In $R$. ThE [**dUAl coDE**]{} oF $C$, denOted by $C^\PErP$, COnsIsTs Of aLl VEcTors oF $R^n$ Which arE orthogonaL to EvEry codeword iN $c$, i.E., $C^\perp=\{y\in R^N|\laNgle x,y\rangle =0, \ForAll x\in c\}.$

WE noTE that The lee weIght of AN elemeNt $a+bu+cv+duV\iN r$ was deFIned in [@Yzk] To Be thE Hamming weight of tHE $p$-ARy vector $(d,c+d,b+d,a+B+c+d)$. ThiS lEAdS TO thE GrAy map $\phi:~R^n\RiGhtarROw{\mathbB{f}}_p^{4N}$: $$\PHI(\maTHbf{a}+\mathbf{b}u+\mAthbf{c}v+\mathBF{d}uV)=(\mathbF{d},\MatHBf{c}+\matHbf{d},\mAtHBf{b}+\Mathbf{d},
\mathBf{a}+\mAthbf{b}+\matHbf{c}+\maTHbf{d} ),$$ wheRE $\mathbf{A},\mathbF{b},\mAthBf{c},\mAThBf{D} \in {\MaTHbb{f}}_P^n.$ as wAS obServed in [@yZk], $\pHi$ is a DistANCE PresErvIng iSometRy from $(R^n,d_L)$ to $({\mAthBb{F}}_p^{4N},D_H)$, wHere $d_l$ and $d_h$ denOtE the LEe and HAmminG dIstance in $R^n$ and ${\mAthbB{F}}_p^{4n}$, respeCtiVeLy. THaT meanS If $C$ is a LinEar Code oveR $R$ with pARamEtERS $(N,p^K,d)$, then $\phi(C)$ is a lineaR cODE oF parametErs $[4n,k,d]$ OVeR ${\mAThbb{F}}_p$.

GiVeN a fInitE ABeliaN groUP $G,$ A code oveR $R$ is saID tO bE [**abeliaN**]{} iF it is aN iDeaL of The grOUp riNg $R[G].$ In Other worDs, the COordinates of $C$ aRE indexed by eleMEnTS Of $g$ And $G$ ActS regularly oN thiS Set. IN the SPeCiaL Case wHen $G$ iS cYClIC
dots,y_n)\in R^n$, their s tandard in ner p rod uct  i s de fine d by $\langlex ,y\r angle=\sum_{i=1}^nx_iy _i$,wh e re t h eopera tion is pe r f orm ed  i n $ R$ .  T he [* *du al code **]{} of $ C$,  d enoted by $C ^ \p erp$, cons ist s of all vec tor s of $ R^ n$w hichare  orth ogonal to eve ry codewo rd in $C$ ,  i.e.,$ C ^\ perp =\{y\in R^n|\lang l ex ,y\rangle =0,\foral lx \i n C\} .$
We note t ha t the Lee wei g ht o f  an element $a+bu +cv+duv\inR $ w as def in edi n [@YZ K] to  b e  th e Hamming w eigh t of the$p$-ar y  vector $(d,c+d ,b+d,a +b+ c+d )$.T hi slea ds tot he  Gr a y m ap $\phi :~ R^ n\rig htar r o w { \mat hbb {F}} _p^{4 n}$: $$\phi(\ mat hbf{ a }+\ mathb f{b}u +\ma th bf{c} v+\mat hbf{d }u v)=(\mathbf{d}, \mat hbf{c}+\m ath bf {d} ,\ mathb f {b}+\m ath bf{ d},
\ma thbf{a} + \ma th b f { b} +\mathbf{c}+\mathb f{ d }  ) ,$$ wher e $\ma t hb f{ a },\mathb f{ b}, \mat h b f{c}, \mat h bf {d} \in{\math b b{ F} }_p^n.$  A s wasob ser ved  in [ @ YZK] , $\ph i$ is adista n ce preservingi sometry from$ (R ^ n ,d _ L)$to$({\mathbb{ F}}_ p ^{4n },d_ H )$ , w h ere $ d_L$an d  $ d _H$ denote the Leean d Hamm ing d istance in $R ^n$ and ${ \ m a thbb{F}} _p^{ 4 n} $ , respectively . Tha t means if $C$ is a  line ar codeover $R$w i th param ete rs$(n ,p^ k , d) $, then $\phi ( C )$ i sa linea r c ode ofpar ame ter s $ [4 n,k,d]$ o ver ${\m at hb b{ F} }_p $.

G i ven a fi ni teab eli an gr o up $G, $ a c odeov er $R$  is sai d  t o be [ ** ab elia n** ]{ } ifit i s  an  idealof the gr oup ring  $ R[ G].$ In  other words,  t he coordin at esof $C$ a re index ed by elements of $G$ a n d $G$ a cts  regu larl y on this  se t. Inthe specia l case  when  $ G$i s  cycl i c 
dots,y_n)\in R^n$,_their standard_inner product is defined_by $\langle_x,y\rangle=\sum_{i=1}^nx_iy_i$,_where the_operation_is performed in_$R$. The [**dual_code**]{} of $C$, denoted_by $C^\perp$, consists_of_all vectors of $R^n$ which are orthogonal to every codeword in $C$, i.e., $C^\perp=\{y\in_R^n|\langle_x,y\rangle =0,_\forall_x\in_C\}.$

We note that the Lee_weight of an element $a+bu+cv+duv\in_R$ was_defined in [@YZK] to be the Hamming weight_of_the $p$-ary vector_$(d,c+d,b+d,a+b+c+d)$. This leads to the Gray map $\phi:~R^n\rightarrow{\mathbb{F}}_p^{4n}$: $$\phi(\mathbf{a}+\mathbf{b}u+\mathbf{c}v+\mathbf{d}uv)=(\mathbf{d},\mathbf{c}+\mathbf{d},\mathbf{b}+\mathbf{d},
\mathbf{a}+\mathbf{b}+\mathbf{c}+\mathbf{d}_),$$ where $\mathbf{a},\mathbf{b},\mathbf{c},\mathbf{d} \in {\mathbb{F}}_p^n.$ As_was observed in_[@YZK],_$\phi$_is a distance preserving_isometry from $(R^n,d_L)$ to $({\mathbb{F}}_p^{4n},d_H)$, where_$d_L$ and $d_H$ denote the Lee_and Hamming distance in $R^n$ and ${\mathbb{F}}_p^{4n}$,_respectively. That means if $C$ is_a linear code over $R$_with parameters_$(n,p^k,d)$, then $\phi(C)$ is a_linear code of_parameters $[4n,k,d]$_over ${\mathbb{F}}_p$.

Given a_finite abelian group $G,$ a code_over $R$ is_said to be [**abelian**]{} if it_is_an ideal of_the_group_ring $R[G].$_In other words,_the_coordinates of_$C$_are indexed by elements of $G$_and_$G$ acts regularly on this set. In_the special case when_$G$_is cyclic