首页|Camellia密码算法S盒的量子电路优化

Camellia密码算法S盒的量子电路优化

扫码查看
S盒是Camellia密码算法重要的非线性组件.使用Toffoli门、CNOT门和NOT门构建Camellia密码算法S盒的量子电路.为了降低计算的复杂度,根据S盒的代数表达式,将有限域GF(28)中的乘法求逆运算同构到GF((24)2)的复合域中的运算,构造出Camellia密码算法S盒的量子电路.在优化方面,将仿射矩阵、同构矩阵以及一组CNOT门对应的矩阵先进行乘法操作,再进行综合,使用DORCIS工具优化GF(24)中乘法求逆的量子电路,运用W-Type算法优化矩阵运算的量子电路.最终得到的S盒的量子电路只需使用20个量子比特,52个Toffoli门、178个CNOT门和13个NOT门,Toffoli深度为40,电路深度为130.该量子电路的正确性通过IBM公司的Aer模拟器进行验证.相比于已有的结果,文中使用的量子资源有了进一步的减少.
Quantum Circuit Optimization of Camellia Cryptographic Algorithm S-box
S-box is an important nonlinear component of Camellia cryptographic algorithm.In this paper,Toffoli gate,CNOT gate and NOT gate are used to construct the quantum circuit of Camellia cryptographic algorithm S box.In order to reduce the compu-tational complexity,according to the algebraic expression of the S-box,the multiplication inversion operation in the finite domain GF(28)isisomorphic to the operation in the complex domain GF((24)2,and finally the quantum circuit diagram of Camellia cipher algorithm S box is synthesized.In optimization,the affine matrix,isomorphic matrix and a group of matrices corresponding to CNOT gates are first multiplied and then synthesized,and the quantum circuit of multiplication inversion in GF((24)2 is opti-mized using DORCIS tool,and the quantum circuit of matrix operation is optimized using W-Type algorithm.The resulting quan-tum circuit of the S-box uses only 20 qubits,52 Toffoli gates,178 CNOT gates,and 13 NOT gates,Toffoli-depth is 40,with a cir-cuit depth of 130.The correctness of the quantum circuit is verified by IBM's Aer simulator.Compared with the existing results,the quantum resources used in this paper are further reduced.

Quantum circuitCamelliaS-boxComposite field

吕轶、罗庆斌、李强、郑圆梦

展开 >

湖北民族大学智能科学与工程学院 湖北恩施 445000

电子科技大学信息与软件学院 成都 610054

湖北民族大学数学与统计学院 湖北恩施 445000

量子电路 Camellia S盒 复合域

国家自然科学基金湖北省自然科学基金湖北民族大学研究生创新项目

622620202020CFB326MYK2023074

2024

计算机科学
重庆西南信息有限公司(原科技部西南信息中心)

计算机科学

CSTPCD北大核心
影响因子:0.944
ISSN:1002-137X
年,卷(期):2024.51(z1)
  • 22