Skip to main content
QUICK REVIEW

[Paper Review] Exact search algorithm to factorize large biprimes and a triprime on IBM quantum computer

Avinash Dash, Deepankar Sarmah|arXiv (Cornell University)|May 26, 2018
Quantum Computing Algorithms and ArchitectureComputer Science19 references24 citations
TL;DR

This paper presents an exact search algorithm based on generalized Grover’s algorithm to factorize large biprimes (4088459 and 966887) and a triprime (175) on IBM’s 5- and 16-qubit quantum processors. By reformulating integer factorization as an optimization problem and leveraging phase-matching for amplitude amplification, the method achieves experimental factorization of the largest integers yet on a quantum device using minimal qubits, demonstrating high-fidelity results and scalability to multi-prime integers.

ABSTRACT

Factoring large integers using a quantum computer is an outstanding research problem that can illustrate true quantum advantage over classical computers. Exponential time order is required in order to find the prime factors of an integer by means of classical computation. However, the order can be drastically reduced by converting the factorization problem to an optimization one and solving it using a quantum computer. Recent works involving both theoretical and experimental approaches use Shor's algorithm, adiabatic quantum computation and quantum annealing principles to factorize integers. However, our work makes use of the generalized Grover's algorithm as proposed by Liu, with an optimal version of classical algorithm/analytic algebra. We utilize the phase-matching property of the above algorithm for only amplitude amplification purposes to avoid an inherent phase factor that prevents perfect implementation of the algorithm. Here we experimentally demonstrate the factorization of two bi-primes, 4088459 and 966887 using IBM's 5- and 16-qubit quantum processors, hence making those the largest numbers that have been factorized on a quantum device. Using the above 5-qubit processor, we also realize the factorization of a tri-prime integer 175, which had not been achieved to date. We observe good agreement between experimental and theoretical results with high fidelities. The difficulty of the factorization experiments has been analyzed and it has been concluded that the solution to this problem depends on the level of simplification chosen, not the size of the number factored. In principle, our results can be extended to factorize any multi-prime integer with minimum quantum resources.

Motivation & Objective

  • To demonstrate experimental factorization of large integers—specifically biprimes and a triprime—on near-term quantum hardware.
  • To overcome limitations of prior quantum factorization methods by using a phase-matching-enhanced exact search algorithm instead of adiabatic or Shor-based approaches.
  • To show that factorization difficulty depends on structural properties of the factors rather than the size of the number, enabling efficient factorization of large integers with minimal qubits.
  • To achieve the first experimental factorization of the triprime 175 on a quantum device, validating the method’s scalability to multi-prime integers.

Proposed method

  • The factorization problem is transformed into an optimization problem by encoding the prime factors as binary strings and deriving a system of equations that must be satisfied by their bits.
  • A non-unitary Hamiltonian is constructed to encode the solution space, which is then exponentiated to form a unitary evolution operator, enabling direct implementation on gate-model quantum processors.
  • The generalized Grover’s algorithm is applied with phase-matching to amplify the amplitude of the correct solution states, avoiding the phase factor issues that hinder standard amplitude amplification.
  • The algorithm is optimized using classical analytic algebra to minimize the number of variables and qubits required, reducing circuit depth and error susceptibility.
  • The protocol is implemented on IBM’s 5-qubit (ibmqx4) and 16-qubit (ibmqx5) superconducting quantum processors, with qubit control and readout via coplanar waveguide (CPW) resonators.
  • Experimental parameters such as qubit frequencies, relaxation times (T1), and coherence times (T2) are carefully calibrated to ensure high-fidelity state preparation and measurement.

Experimental results

Research questions

  • RQ1Can exact search algorithms based on generalized Grover’s method factor large biprimes and triprimes more efficiently than Shor’s or adiabatic quantum computation on near-term quantum hardware?
  • RQ2Does the complexity of quantum integer factorization depend on the magnitude of the number or on the structural properties of its prime factors?
  • RQ3Can the phase-matching technique in amplitude amplification enable perfect implementation of the search algorithm without phase factor obstructions?
  • RQ4Is it feasible to factorize a triprime like 175 experimentally on a quantum processor, given the challenges in Hamiltonian design and implementation?
  • RQ5To what extent can simplification in the pre-processing stage reduce the number of required qubits and circuit depth for factorization?

Key findings

  • The paper reports the first experimental factorization of the biprime 4088459 using only 2 qubits on IBM’s 5-qubit processor, setting a new record for the largest number factorized on a quantum device at the time.
  • The biprime 966887 was successfully factorized using 4 qubits on the same 5-qubit processor, further validating the scalability of the method.
  • The triprime 175 was experimentally factorized on the 5-qubit processor, marking the first successful experimental demonstration of triprime factorization on a quantum device.
  • High-fidelity results were observed with experimental and theoretical outcomes showing strong agreement, indicating robustness against noise and decoherence.
  • The method achieved factorization using only 2 qubits for 175 and 4 qubits for 966887, demonstrating that computational difficulty is governed by factor structure, not number size.
  • The 16-qubit ibmqx5 processor enabled more complex circuits with improved gate and readout error rates (10−2 to 10−3), supporting the feasibility of scaling the approach to larger integers.

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.