Answers are grounded in this paper and cite their sources.
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 <tex-math notation="LaTeX">p</tex-math> and order <tex-math notation="LaTeX">q</tex-math>. In this paper, we constructed such quantum circuits and solved DLPs for all 1,860 possible pairs of <tex-math notation="LaTeX">p</tex-math> and <tex-math notation="LaTeX">q</tex-math> 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å, arXiv:1905.09084 (2019)]. 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 <tex-math notation="LaTeX">q</tex-math>, was clarified. Additionally, we generated 1,015 quantum circuits for larger pairs of <tex-math notation="LaTeX">p</tex-math> and <tex-math notation="LaTeX">q</tex-math>, extrapolated the circuit sizes obtained, and compared them for <tex-math notation="LaTeX">$p = 2048$</tex-math> bits between safeprime groups and Schnorr groups. While in classical cryptography, the cipher strength of safe-prime groups and Schnorr groups is the same if <tex-math notation="LaTeX">p</tex-math> is equal, we quantitatively demonstrated how much the strength of the latter decreases to the bit length of <tex-math notation="LaTeX">p</tex-math> in the former when using Shor's quantum algorithm. In particular, it was experimentally and theoretically shown that when a basic adder is used in the addition circuit, the cryptographic strength of a Schnorr group with <tex-math notation="LaTeX">$p = 2048$</tex-math> bits under Shor's algorithm is almost equivalent to that of a safe-prime group with <tex-math notation="LaTeX">$p = 1024$</tex-math> bits.
No takes yet. Share an insight, caveat, or question.
Kishi et al. (2025) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: