INQUISAT – Institute of Quantum Information Science and Technology

Quantum Supremacy: Integer Factorization

Why factoring large numbers matters for RSA security.

Quantum Supremacy: Integer Factorization – slide 1
Quantum Supremacy: Integer Factorization – slide 2
Quantum Supremacy: Integer Factorization – slide 3
Quantum Supremacy: Integer Factorization – slide 4

Quantum Supremacy

Quantum Supremacy: Integer Factorization

1. Basics and Definition

  • Integer factorization is the decomposition of a positive integer into a product of integers. Every positive integer greater than 1 is either the product of two or more factors greater than 1 (a composite number), or it is not (a prime number).
  • Composite number: a number with factors other than 1 and itself (12 = 2 × 2 × 3).
  • Prime number: a number greater than 1 with no factors other than 1 and itself (13).
  • Prime factorization: if one of the factors is composite, it can be written as a product of smaller factors. Continuing this process until every factor is prime is called prime factorization. Example: 60 = 2² × 3 × 5.
  • Methods: for a small integer, use trial division — check divisibility by 2, 3, 5, and so on, up to √n. For larger numbers, use more sophisticated factorization algorithms.

2. Computational Difficulty and Broader Impact

  • When the numbers are sufficiently large, no efficient non-quantum integer factorization algorithm is known. However, it has not been proven that such an algorithm does not exist.
  • Wide impact: many areas of mathematics and computer science have been brought to bear on this problem, including elliptic curves, algebraic number theory and quantum computing.
  • Computational hardness: not all numbers are equally hard to factor. The hardest instances (for currently known techniques) are semiprimes — the product of two prime numbers.
  • When the two prime factors are both large, for instance more than two thousand bits long, randomly chosen, and about the same size (but not too close, for example, to avoid efficient factorization by Fermat's method), even the fastest prime factorization algorithms on the fastest computers can take enough time to make the search impractical.
  • That is, as the number of digits of the integer being factored increases, the number of operations required to perform the factorization on any computer increases drastically.
N=p×q,N=61×53=3233N = p \times q,\qquad N = 61\times 53 = 3233
A semiprime: the product of two large prime numbers

3. RSA Cryptography and Security

Many cryptographic protocols are based on the difficulty of factoring large composite integers or a related problem — for example, the RSA problem. An algorithm that can efficiently factor an arbitrary integer would render RSA-based public-key cryptography insecure (public-key encryption, digital signature).