sciencebriefs
all subjects →
9:44in productionCh. 1 · A 1994 thought experiment/ 9:44 · ceiling 15 min
Computing & AI · Physics

Shor's algorithm

Shor’s algorithm doesn’t break encryption yet—but it proved RSA was never quantum-safe.

Shor’s algorithm is a quantum algorithm for integer factorisation, developed by Peter Shor in 1994. It runs in polynomial time in log N and places factorisation in BQP. It is asymptotically faster than the general number field sieve.

Chapters & takeaways4
  1. 0:53
    A 1994 thought experiment

    Peter Shor published this in 1994—not as engineering, but as a complexity-theoretic proof.

  2. 2:40
    Two parts: classical + quantum

    It factors integers by finding multiplicative order—a classical reduction plus a quantum subroutine.

  3. 4:32
    Faster in theory, not in reality

    It beats the best classical factoring algorithm asymptotically—not in practice, but in scaling.

  4. 6:06
    Where it reshaped complexity theory

    It places factorisation in BQP, proving quantum computers can solve problems outside P (assuming P ≠ BQP).

Worth your time?

Yes. Study the whole thing.

4.5/ 5
What works
  • Establishes quantum advantage for factorisation in theory
  • Defines the threat model for RSA under quantum attack
  • Separates quantum feasibility from classical hardness
What does not
  • Runs on current hardware
  • Breaks real-world encryption today
  • Proves P ≠ BQP
Study it if
  • Cryptographers
  • Quantum complexity theorists
  • Security engineers planning post-quantum migration
Skip it if
  • Developers building near-term quantum apps
  • Policy makers needing immediate risk assessment
The written brief1 min read

What the work claims

That integer factorisation lies in BQP—the class of problems efficiently solvable by a quantum computer.

How it was done

Shor’s algorithm reduces integer factorisation to order-finding using classical computation, then solves order-finding on a quantum computer via quantum phase estimation and continued fractions.

What holds up

The asymptotic speedup holds: it runs in polynomial time in log N, while the general number field sieve runs in sub-exponential time.

What does not

It does not run on any existing quantum computer. It assumes fault-tolerant, scalable quantum hardware with low error rates—none of which existed in 1994 or exists today.

Why it matters beyond the lab

It established a concrete cryptographic vulnerability: widely used public-key encryption (e.g., RSA) would collapse if large-scale quantum computers were built.

Is it worth your time

Yes—if you need to understand why quantum computing threatens RSA cryptography, or why factoring is not provably hard for quantum machines.

Same field · Computing & AI4 of 32
Up next in Science

Sophie Germain

· 10:56

Germain’s mathematics was right where it counted—and wrong where it mattered most.

10:56