Hilbert modular forms and codes over Fp2

Abstract Let p be an odd prime and consider the finite field F p 2 . Given a linear code C ⊂ F p 2 n , we use algebraic number theory to construct an associated lattice Λ C ⊂ O L n for L an algebraic number field and O L the ring of integers of L. We attach a theta series θ Λ C to the lattice Λ C and prove a relation between θ Λ C and the complete weight enumerator evaluated on weight one theta series.