Total: 1
We investigate the gauging of a ZN symmetry in lattice conformal field theories (CFTs), also known as Narain CFTs. For prime N, we derive a spin selection rule for operators in a ZN charge-twisted sector of a general bosonic CFT. Using this result, we formulate the gauging procedures in lattice CFTs as modifications of the momentum lattices by a lattice vector that specifies a non-anomalous ZN symmetry. Applying this formulation to code CFTs, i.e., Narain CFTs constructed from error-correcting codes, we express the torus partition functions of the orbifolded and parafermionized theories in terms of the weight enumerator polynomials of the underlying codes. As an application, we identify a class of codes that yield self-dual bosonic CFTs under the orbifolding by a ZN symmetry.