Quantum physics offers new way to factor numbers

November 28, 2016 by Lisa Zyga feature
Credit: CC0 Public Domain

(Phys.org)—Any number can, in theory, be written as the product of prime numbers. For small numbers, this is easy (for example, the prime factors of 12 are 2, 2, and 3), but for large numbers, prime factorization becomes extremely difficult—so difficult that many of today's cryptography algorithms rely on the complexity of the prime factorization of numbers with hundreds of digits to keep private information secure.

However, no one is exactly sure of just how difficult it is to decompose very into their prime factors. This question, called the factorization problem, is one of the biggest unsolved problems in computer science, despite the use of advanced mathematical and computer science strategies in attempts to solve it.

Now in a new study published in Physical Review Letters, researchers Jose Luis Rosales and Vicente Martin at the Technical University of Madrid have taken a different approach to the problem.

The researchers have shown that the arithmetic used in factoring numbers into their prime factors can be translated into the physics of a device—a " simulator"—that physically mimics the arithmetic rather than trying to directly calculate a solution like a computer does.

Although the researchers have not yet built a quantum simulator, they show that the prime factors of large numbers would correspond to the energy values of the simulator. Measuring the energy values would then give the solutions to a given factoring problem, suggesting that factoring large numbers into primes may not be as difficult as currently thought.

"The work opens a new avenue to factor numbers, but we do not yet know about its power," Rosales told Phys.org. "It is very striking to find a completely new way to factor that comes directly from quantum physics. It does not demonstrate that factoring numbers is easy, but finding new ways to factor certainly does not add to the strength of algorithms based on its assumed complexity."

For now, the researchers do not know the technical complexity of building such a device, or whether it would even be possible to factor very large numbers.

"We have shown that a quantum simulator able to factor numbers exists and, in principle, it could be built," Martin said. "Whether the simulator is feasible with current technology in a way that it can factor numbers of the same size as the ones used in cryptography remains to be seen, but the avenue is now open. The prospect of building such a device before a quantum computer is built is something to be pondered seriously."

Toward a quantum number theory

Besides the potential for practical applications, the results are also interesting on a more fundamental level.

"In our opinion, the contributions of the paper have two sides: in pure mathematics and in applied cryptography," Rosales said.

One of the most mathematically interesting aspects of the new work is that it involves redefining the factorization problem by introducing a new arithmetic function that could then be mapped onto the physics of the quantum simulator and correspond to the energy values. In a sense, the researchers are rewriting the math problem in terms of physics.

"The manuscript tries to bridge number theory with quantum physics," Rosales said, noting that researchers have been trying to do this for several decades. "Nowadays with the development of quantum information and computation and the discovery of Shor's algorithm, the connection seems more intriguing and important than ever."

In the long-term, this type of investigation could ultimately lead to a quantum number theory—a theory of numbers that is based on physical quantum systems.

"To develop a quantum number theory, what we need is a quantum system (at least a theoretical one) to able to reproduce the ," Martin said. "In the paper, our take was to try to obtain a system able to factorize a number into its primes. The method is 'analogue' in the sense that it is not like Shor's algorithm, which is programmable in a quantum computer following the gate model. Instead, it is the measurement of a carefully set quantum system that provides the answer.

"To carry out this program, we need to first devise an arithmetic formulation of the factorization problem that is amenable to be quantized. We have to find an arithmetic function, eventually related to a Hamiltonian, and set up the quantum-mechanical problem such that its solution corresponds to the solution of the factorization problem. In the work we succeeded in carrying out these ideas. We found the correct arithmetic function, defined the factorization set to bind the Hamiltonian and obtained the solution of the quantum-mechanical problem. To the best of our knowledge, this has not been achieved before, although ours was not the first attempt.

"As it is always done in physics, to validate the results, we have to prove its predictive capabilities, so we did predictions with them: obtained a factorization algorithm that is completely new, with no similitude to any other factorization algorithm that we know of, and thoroughly checked the statistics of the solution against the prime number theorem.

"The results left us really astounded. To demonstrate this, in the paper we show how the spectrum reproduces the prime counting function and is almost identical to the Riemann's. This is obtained as a direct consequence of the quantum mechanical theory and has no counterpart in theory. Carrying this to the extreme, this could be even considered the physics underlying the Riemann hypothesis [one of the most important open problems in ] in the sense that the Hamiltonian is naturally bounded, without any further assumptions."

The researchers explain that, in this paper, they just hinted that the results have deeper mathematical implications, and they plan to further investigate these possibilities in the future. They are also looking into what it would take to build a .

"We have ongoing research in the theory of building a simulator," Rosales said. "The first impression is encouraging, although nothing is decided yet."

Explore further: New largest number factored on a quantum device is 56,153

More information: Jose Luis Rosales and Vicente Martin. "Quantum Simulation of the Factorization Problem." Physical Review Letters. DOI: 10.1103/PhysRevLett.117.200502 , Also at arXiv:1601.04896 [quant-ph]

Related Stories

New largest number factored on a quantum device is 56,153

November 28, 2014

(Phys.org)—Researchers have set a new record for the quantum factorization of the largest number to date, 56,153, smashing the previous record of 143 that was set in 2012. They have shown that the exact same room-temperature ...

Quantum computer factors numbers, could be scaled up

March 3, 2016

What are the prime factors, or multipliers, for the number 15? Most grade school students know the answer—3 and 5—by memory. A larger number, such as 91, may take some pen and paper. An even larger number, say with 232 ...

Recommended for you

Two teams independently test Tomonaga–Luttinger theory

October 20, 2017

(Phys.org)—Two teams of researchers working independently of one another have found ways to test aspects of the Tomonaga–Luttinger theory that describes interacting quantum particles in 1-D ensembles in a Tomonaga–Luttinger ...

Using optical chaos to control the momentum of light

October 19, 2017

Integrated photonic circuits, which rely on light rather than electrons to move information, promise to revolutionize communications, sensing and data processing. But controlling and moving light poses serious challenges. ...

Black butterfly wings offer a model for better solar cells

October 19, 2017

(Phys.org)—A team of researchers with California Institute of Technology and the Karlsruh Institute of Technology has improved the efficiency of thin film solar cells by mimicking the architecture of rose butterfly wings. ...

Terahertz spectroscopy goes nano

October 19, 2017

Brown University researchers have demonstrated a way to bring a powerful form of spectroscopy—a technique used to study a wide variety of materials—into the nano-world.


Adjust slider to filter visible comments by rank

Display comments: newest first

5 / 5 (7) Nov 28, 2016
I feel like a monkey invited to attend a lecture by Einstein. A very smart monkey; I can dimly sense that there is something important going on. But a monkey nevertheless.
5 / 5 (5) Nov 28, 2016
This sounds bad for encryption
5 / 5 (2) Nov 28, 2016
Take a billion billion cube blocks and stack them into a rectangle, then just count the length of the sides!
5 / 5 (5) Nov 28, 2016
I can dimly sense that there is something important going on.

Two important things
1) (as they point out): This could be important for encryption. In other words: this could be the end of currently used encryption scheme2. I.e.the decryption of any and all (currently stored) encrypted data.
This might make the wiki-leaks look like a mild gust of wind compared to a hurricane.
2) This hints at new, underlying *mathematics* - which in turn could inform new, underlying physics. (cf Riemann hypothesis. Currently it is not known whether prime numbers can be predicted. This could change that)

Yep. If it pans out this could be quite important.
Andrew Palfreyman
5 / 5 (3) Nov 28, 2016
Could spawn a new branch of mathematics. Important.
3 / 5 (1) Nov 28, 2016
This is interesting, but not a new idea; now they are trying to make it fly. My bit of criticism is the opening sentence: "Any number, in theory, can be written as a product of prime numbers." They should take out the "in theory" part, it conveys idea that this may not be true; which is false, less one considers other number systems.
not rated yet Dec 06, 2016
So cool, so interesting!
We always wondered why maths is so spectacularly good at describing reality.
Looks like maths might be nothing more than a description of the emergent properties of the underlying physical quantum reality.
This seems to establish a direct link between maths and quantum physics i.e. physical reality.

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.