针对具有模p和阶q的全配对的离散对数问题的Shor算法模拟
Simulation of Shor algorithm for discrete logarithm problems with comprehensive pairs of modulo p and order q
AI总结:
本研究构建了适用于通用模p和阶q配对的Shor算法量子电路,通过模拟器完成小规模问题求解与成功率验证,外推大规模电路规模并定量证明Schnorr群在Shor算法下密码强度远低于同p值的安全素数群。
摘要:
有限域上的离散对数问题(DLP)广泛应用于经典密码学中,目前在经典计算机上尚无已知的多项式时间算法。不过,Shor提出了该问题在量子计算机上的多项式时间算法。然而,目前针对可处理通用模$p$和阶$q$配对的量子电路的模拟实例仍然很少。本文中,我们构建了此类量子电路,并借助搭载PRIMEHPC FX700的量子模拟器,求解了量子比特数不超过32的所有1860组可能的$p$、$q$配对对应的离散对数问题。由此我们得到并验证了成功率的数值,该成功率此前由Ekerå通过启发式方法分析得出。研究明确了Shor算法求解离散对数问题的成功率的详细波形形态,已知该成功率是阶$q$的周期函数。此外,我们针对更大规模的$p$、$q$配对生成了1015个量子电路,对得到的电路规模进行了外推,并针对$p=2048$比特的情况对比了安全素数群与Schnorr群的电路规模。在经典密码学中,若$p$相等,安全素数群与Schnorr群的密码强度相同,但我们定量证明了在使用Shor量子算法时,后者的强度相对于前者的$p$比特长度会下降多少。特别地,实验和理论均表明,当加法电路采用行波进位加法器时,$p=2048$比特的Schnorr群在Shor算法下的密码强度几乎等同于$p=1024$比特的安全素数群的密码强度。
英文摘要:
The discrete logarithm problem (DLP) over finite fields, commonly used in classical cryptography, has no known polynomial-time algorithm on classical computers. However, Shor has provided its polynomial-time algorithm on quantum computers. Nevertheless, there are only few examples simulating quantum circuits that operate on general pairs of modulo $p$ and order $q$. In this paper, we constructed such quantum circuits and solved DLPs for all 1,860 possible pairs of $p$ and $q$ up to 32 qubits using a quantum simulator with PRIMEHPC FX700. From this, we obtained and verified values of the success probabilities, which had previously been heuristically analyzed by Ekerå. As a result, the detailed waveform shape of the success probability of Shor's algorithm for solving the DLP, known as a periodic function of order $q$, was clarified. Additionally, we generated 1,015 quantum circuits for larger pairs of $p$ and $q$, extrapolated the circuit sizes obtained, and compared them for $p=2048$ bits between safe-prime groups and Schnorr groups. While in classical cryptography, the cipher strength of safe-prime groups and Schnorr groups is the same if $p$ is equal, we quantitatively demonstrated how much the strength of the latter decreases to the bit length of $p$ in the former when using Shor's quantum algorithm. In particular, it was experimentally and theoretically shown that when a ripple carry adder is used in the addition circuit, the cryptographic strength of a Schnorr group with $p=2048$ bits under Shor's algorithm is almost equivalent to that of a safe-prime group with $p=1024$ bits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。