计算机科学 > 信息论
[提交于 2016年5月13日 (v1),最后修订于 2017年7月24日 (此版本, v2)]
标题:A construction of $q$-ary linear codes with two weights
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Linear codes with a few weights are very important in coding theory and have attracted a lot of attention. In this paper, we present a construction of $q$-ary linear codes from trace and norm functions over finite fields. The weight distributions of the linear codes are determined in some cases based on Gauss sums. It is interesting that our construction can produce optimal or almost optimal codes. Furthermore, we show that our codes can be used to construct secret sharing schemes with interesting access structures and strongly regular graphs with new parameters.