Odd orders in Shor's factoring algorithm
arXiv:1408.2738 · doi:10.1007/s11128-014-0910-z
Abstract
Shor's factoring algorithm (SFA) finds the prime factors of a number, , exponentially faster than the best known classical algorithm. Responsible for the speed-up is a subroutine called the quantum order finding algorithm (QOFA) which calculates the order -- the smallest integer, , satisfying , where is a randomly chosen integer coprime to (meaning their greatest common divisor is one, ). Given , and with probability not less than , the factors are given by and . For odd it is assumed the factors cannot be found (since is not generally integer) and the QOFA is relaunched with a different value of . But a recent paper [E. Martin-Lopez: Nat Photon {\bf 6}, 773 (2012)] noted that the factors can sometimes be found from odd orders if the coprime is square. This raises the question of improving SFA's success probability by considering odd orders. We show that an improvement is possible, though it is small. We present two techniques for retrieving the order from apparently useless runs of the QOFA: not discarding odd orders; and looking out for new order finding relations in the case of failure. In terms of efficiency, using our techniques is equivalent to avoiding square coprimes and disregarding odd orders, which is simpler in practice. Even still, our techniques may be useful in the near future, while demonstrations are restricted to factoring small numbers. The most convincing demonstrations of the QOFA are those that return a non-power-of-two order, making odd orders that lead to the factors attractive to experimentalists.
References in corpus (8)
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer
- Experimental realization of Shor's quantum factoring algorithm using nuclear magnetic resonance
- Shor's quantum factoring algorithm on a photonic chip
- Experimental realisation of Shor's quantum factoring algorithm using qubit recycling
- Experimental demonstration of Shor's algorithm with quantum entanglement
- Computing prime factors with a Josephson phase qubit quantum processor
- Demonstration of Shor's quantum factoring algorithm using photonic qubits
- Pretending to factor large numbers on a quantum computer