期刊文献+

基于复合域SM4密码算法S盒的量子电路实现 被引量:8

Quantum Circuit Implementation of S-box for SM4 Cryptographic Algorithm Based on Composite Field Arithmetic
在线阅读 下载PDF
导出
摘要 S盒是SM4分组密码算法中重要的非线性组件。使用Toffoli门、CNOT门和NOT门构建S盒的量子电路。首先,基于S盒的代数表达式,通过同构映射矩阵,将有限域GF(28)中的求逆运算转化到有限域GF((24)2)中的运算;其次,在GF(24)中分别给出了平方计算、乘法计算和求逆运算的量子电路;再次,通过最小化同构矩阵中“1”元素的个数,求出最优的同构映射矩阵,并给出相应的量子电路;然后,通过高斯消元法给出S盒表达式中仿射变换的量子电路;最后,综合出SM4密码算法S盒的量子电路。该量子电路的正确性通过IBM量子平台的Aer模拟器进行了验证。复杂度分析表明:所给出S盒的量子电路一共使用了21个量子比特,55个Toffoli门、176个CNOT门和10个NOT门,电路深度为151。相比于已有结果,所使用的量子资源进一步减少,效率进一步提高。 The S-box is an important nonlinear component in SM4 block cipher algorithm.In this paper,Toffoli gates,CNOT gates and NOT gates are used to construct the quantum circuit of the S-box.Based on the algebraic expression of the S-box,the inverse operation in finite field GF(28)GF((24)2)calculation and inversion operation in GF(24)the isomorphic matrices,the optimal isomorphic mapping matrices are obtained,and the corresponding quantum circuits are given.Then,the quantum circuit of affine transformation in S-box expression is given by Gaussian elimination method;Finally,the quantum circuit of S-box in SM4 cryptographic algorithm is synthesized.The correctness of the quantum circuit is verified by the Aer simulator of IBM quantum platform.The complexity analysis shows that the given quantum circuit of the S-box uses 21 qubits,55 Toffoli gates,176 CNOT gates and10 NOT gates,and the circuit depth is 151.Compared with the existing results,the quantum resources used are further reduced and the efficiency is further improved.
作者 罗庆斌 李晓瑜 杨国武 牛伟纳 李强 LUO Qingbin;LI Xiaoyu;YANG Guowu;NIU Weina;LI Qiang(College of Intelligent Systems Science and Engineering,Hubei Minzu University Enshi Hubei 445000;School of Information and Software Engineering,University of Electronic Science and Technology of China Chengdu 610054;School of Computer Science and Engineering,University of Electronic Science and Technology of China Chengdu 611731)
出处 《电子科技大学学报》 EI CAS CSCD 北大核心 2022年第6期812-818,共7页 Journal of University of Electronic Science and Technology of China
基金 国家自然科学基金(61772006) 国家重点研发计划(2018YFA0306703) 湖北省自然科学基金(2020CFB326) 广西省自然科学基金(2019GXNSFAA185033) 福建省自然科学基金(2020J01812)。
关键词 代数运算 复合域 量子电路 S盒 SM4 algebraic operation composite field quantum circuit S box SM4
  • 相关文献

参考文献3

二级参考文献3

共引文献38

同被引文献25

引证文献8

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部