Shor's algorithm
Adapted from Wikipedia · Discoverer experience
Shor's algorithm is a special kind of recipe for solving math problems on a quantum computer. It was created in 1994 by a mathematician named Peter Shor. This recipe is very important because it can find the prime factors of big whole numbers much faster than regular computers can.
Quantum computers use special tiny units called qubits to process information. Shor's algorithm shows that with enough qubits and careful control, we can solve certain tough math problems in a time that grows slowly as the numbers get bigger. This is very different from the best methods we have today on regular computers, which take much longer as numbers grow.
This algorithm matters because one of its main uses is connected to keeping information safe online. Many security tools rely on the difficulty of breaking big numbers into their prime factors. If quantum computers become powerful enough, Shor's algorithm could change how we protect secrets and share private information around the world.
Feasibility and impact
If we could build a quantum computer with enough parts called qubits that work perfectly, Shor's algorithm could break special math tricks used to keep information safe, like the RSA method. Right now, regular computers can’t break these tricks easily, but Shor's algorithm shows that a powerful quantum computer might be able to. This idea has encouraged scientists to build better quantum computers and to create new safety methods called post-quantum cryptography that quantum computers can’t easily break.
So far, real tests of Shor's algorithm have only worked sometimes and only with very small numbers. In 2001, scientists at IBM used a special kind of quantum computer to break the number 15 into 3 and 5. Since then, others have tried similar tests with different types of quantum parts, but these tests have used tricks to make the work easier and haven’t fully shown what Shor's algorithm can really do.
Algorithm
Shor's algorithm is a special kind of computer program that uses the power of quantum physics to solve a tricky math problem: finding the prime factors of a big odd composite number. Prime factors are the smaller numbers that multiply together to give the bigger number. For example, the prime factors of 12 are 2 and 3, because 2 × 2 × 3 = 12.
This algorithm has two main parts:
- A regular computer step that changes the factoring problem into a different problem called "order-finding." This step is similar to methods used in other factoring programs, like the quadratic sieve.
- A quantum computer step that solves the order-finding problem faster than regular computers can.
The idea behind Shor's algorithm is to use quantum tricks to quickly find patterns in numbers, which helps in breaking down big numbers into their prime factors. This shows how quantum computers could be much stronger for certain tasks compared to regular computers.
Related articles
This article is a child-friendly adaptation of the Wikipedia article on Shor's algorithm, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.
Safekipedia