Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Shor's quantum algorithm for computing general discrete logarithms

Martin Ekerå|arXiv (Cornell University)|May 22, 2019
Quantum Computing Algorithms and ArchitectureComputer Science9 citations
TL;DR

This paper revisits Shor's quantum algorithm for computing discrete logarithms, proposing modifications that significantly improve success probability—exceeding 99% in a single run—by slightly increasing quantum group operations and incorporating limited classical post-processing searches. The approach leverages the semi-classical Fourier transform and control qubit recycling, with heuristic analysis showing success probability approaches 1 as group order r increases.

ABSTRACT

We heuristically show that Shor's algorithm for computing general discrete logarithms achieves an expected success probability of approximately 60% to 82% in a single run when modified to enable efficient implementation with the semi-classical Fourier transform. By slightly increasing the number of group operations that are evaluated quantumly and performing a single limited search in the classical post-processing, or by performing two limited searches in the post-processing, we show how the algorithm can be further modified to achieve a success probability that heuristically exceeds 99% in a single run. We provide concrete heuristic estimates of the success probability of the modified algorithm, as a function of the group order $r$, the size of the search space in the classical post-processing, and the additional number of group operations evaluated quantumly. In the limit as $r \ ightarrow \\infty$, we heuristically show that the success probability tends to one. In analogy with our earlier works, we show how the modified quantum algorithm may be heuristically simulated classically when the logarithm $d$ and $r$ are both known. Furthermore, we heuristically show how slightly better tradeoffs may be achieved, compared to our earlier works, if $r$ is known when computing $d$. We generalize our heuristic to cover some of our earlier works, and compare it to the non-heuristic analyses in those works.

Motivation & Objective

  • To improve the success probability of Shor’s quantum algorithm for computing discrete logarithms in a single run.
  • To enable efficient implementation using the semi-classical quantum Fourier transform and control qubit recycling.
  • To provide heuristic estimates of success probability as a function of group order r, search space size, and additional quantum operations.
  • To compare tradeoffs between quantum and classical resources when r is known versus unknown.
  • To generalize and verify heuristic analysis against prior non-heuristic works.

Proposed method

  • Modifies Shor’s original algorithm to use the semi-classical quantum Fourier transform, reducing quantum resource requirements.
  • Introduces limited classical post-processing searches—either one or two—to correct measurement outcomes and increase success probability.
  • Uses control qubit recycling to reduce qubit overhead and improve circuit efficiency.
  • Employs a heuristic analysis based on uniform distribution assumptions of fractional parts of rational approximations.
  • Derives success probability estimates as a function of group order r, number of quantum group operations, and size of classical search space.
  • Validates heuristic results numerically against prior exact analyses in [6, 7, 8] for overlapping parameter regimes.

Experimental results

Research questions

  • RQ1Can Shor’s discrete logarithm algorithm be modified to achieve over 99% success probability in a single run?
  • RQ2How does the success probability scale with additional quantum group operations and classical post-processing searches?
  • RQ3What tradeoffs between quantum and classical resources can be achieved when the group order r is known?
  • RQ4How does the heuristic success probability model compare to non-heuristic analyses in prior works?
  • RQ5Can the heuristic model be generalized to cover earlier algorithms for short discrete logarithms?

Key findings

  • The modified algorithm achieves a success probability of approximately 60% to 82% in a single run when using the semi-classical QFT and control qubit recycling.
  • By increasing quantum operations slightly and performing one limited classical search, the success probability heuristically exceeds 99%.
  • Using two limited classical searches instead of one further improves success probability, approaching 100% as the group order r increases.
  • In the limit as r → ∞, the success probability of the modified algorithm tends to one, according to the heuristic model.
  • When r is known, better tradeoffs between quantum and classical resources can be achieved compared to earlier works.
  • Numerical verification confirms agreement between the heuristic analysis and exact analyses in [7] for d ~ √r, validating the model’s accuracy in overlapping regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.