Skip to main content
QUICK REVIEW

[Paper Review] Architecture-Dependent Execution Time of Shor's Algorithm

Rodney Van Meter, Kohei M. Itoh|ArXiv.org|Jul 4, 2005
Quantum Computing Algorithms and ArchitectureComputer Science2 references12 citations
TL;DR

This paper demonstrates that the execution time of Shor's algorithm for integer factorization is highly dependent on quantum computer architecture, particularly concurrency, qubit connectivity, and clock speed. By optimizing arithmetic subroutines—using conditional-sum adders for abstract concurrent (AC) architectures and CDKM carry-ripple adders for nearest-neighbor (NTC) architectures—it achieves up to a million-fold speedup over standard BCDP modular exponentiation, reducing the time to factor a 576-bit number to under a month even at 0.3 Hz clock speed on AC architectures and 27 Hz on NTC architectures.

ABSTRACT

We show how the execution time of algorithms on quantum computers depends on the architecture of the quantum computer, the choice of algorithms (including subroutines such as arithmetic), and the ``clock speed'' of the quantum computer. The primary architectural features of interest are the ability to execute multiple gates concurrently, the number of application-level qubits available, and the interconnection network of qubits. We analyze Shor's algorithm for factoring large numbers in this context. Our results show that, if arbitrary interconnection of qubits is possible, a machine with an application-level clock speed of as low as one-third of a (possibly encoded) gate per second could factor a 576-bit number in under one month, potentially outperforming a large network of classical computers. For nearest-neighbor-only architectures, a clock speed of around twenty-seven gates per second is required.

Motivation & Objective

  • To analyze how quantum computer architecture affects the execution time of Shor’s algorithm for integer factorization.
  • To investigate the role of concurrent gate operations, qubit interconnect topology, and clock speed in determining algorithmic performance.
  • To develop and evaluate architecture-specific arithmetic algorithms (e.g., conditional-sum and CDKM adders) that minimize circuit depth and improve scalability.
  • To quantify the performance gains from architectural-aware algorithm design, especially in comparison to the standard BCDP modular exponentiation approach.
  • To assess the feasibility of factoring large numbers (e.g., 576-bit) under realistic hardware constraints, including error correction and physical limitations.

Proposed method

  • Designed two abstract architectures: AC (abstract concurrent) allowing arbitrary qubit connectivity and full concurrency, and NTC (neighbor-only, two-qubit gate, concurrent) restricting interactions to nearest neighbors.
  • Optimized modular exponentiation subroutines using architecture-specific adders: conditional-sum adder for AC and CDKM carry-ripple adder for NTC, minimizing circuit depth.
  • Calculated circuit depth (execution time in gate cycles) for each algorithm variant, with depth scaling as ~9n log²n for AC and ~20n² log n for NTC, where n is the number of bits.
  • Evaluated performance across different clock speeds (from 1 Hz to 1 GHz), showing linear scaling of execution time with clock rate.
  • Used the BCDP modular exponentiation algorithm as a baseline for comparison, which requires ~54n³ gate times and uses 5n qubits.
  • Performed log-log scaling analysis to compare performance of optimized algorithms against BCDP across problem sizes from 576 to 6,000 bits.

Experimental results

Research questions

  • RQ1How does the choice of quantum architecture—specifically, support for concurrent operations and qubit connectivity—affect the execution time of Shor’s algorithm?
  • RQ2What is the impact of architecture-aware arithmetic design (e.g., adder selection) on the circuit depth and overall runtime of modular exponentiation in Shor’s algorithm?
  • RQ3What clock speed is required for a quantum computer to factor a 576-bit number in under one month, depending on the underlying architecture?
  • RQ4How do the performance gains of optimized algorithms scale with increasing problem size, particularly beyond 6,000 bits?
  • RQ5To what extent can architectural features such as concurrency and long-range gate operations reduce the latency of Shor’s algorithm compared to standard implementations?

Key findings

  • For an abstract concurrent (AC) architecture with arbitrary qubit connectivity, a clock speed of just 0.3 Hz is sufficient to factor a 576-bit number in under one month.
  • For a nearest-neighbor (NTC) architecture, a clock speed of approximately 27 Hz is required to achieve the same one-month execution time for 576-bit factorization.
  • The optimized algorithm for AC architecture (algorithm D) achieves a speedup of nearly 13,000× over the standard BCDP algorithm for 576-bit numbers.
  • For problem sizes above 6,000 bits, algorithm D on AC architecture achieves a speedup of up to one million times compared to BCDP due to superior circuit depth scaling.
  • The circuit depth of algorithm D scales as ~9n log²n, while algorithm F on NTC scales as ~20n² log n, demonstrating the significant performance penalty of restricted connectivity.
  • The performance of Shor’s algorithm is not solely determined by its polynomial time complexity; architectural features such as concurrency and interconnect topology critically influence constant factors and real-world feasibility.

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.