# Odd orders in Shor’s factoring algorithm

Odd orders in Shor’s factoring algorithm Shor’s factoring algorithm (SFA) finds the prime factors of a number, $$N=p_1 p_2$$ N = p 1 p 2 , exponentially faster than the best known classical algorithm. Responsible for the speedup is a subroutine called the quantum order finding algorithm (QOFA) which calculates the order—the smallest integer, $$r$$ r , satisfying $$a^r \mod N =1$$ a r mod N = 1 , where $$a$$ a is a randomly chosen integer coprime to $$N$$ N (meaning their greatest common divisor is one, $$\gcd (a, N) =1$$ gcd ( a , N ) = 1 ). Given $$r$$ r , and with probability not $$<$$ < 1/2, the factors are given by $$p_1 = \gcd (a^{\frac{r}{2}} - 1, N)$$ p 1 = gcd ( a r 2 - 1 , N ) and $$p_2 = \gcd (a^{\frac{r}{2}} + 1, N)$$ p 2 = gcd ( a r 2 + 1 , N ) . For odd $$r$$ r , it is assumed that the factors cannot be found (since $$a^{\frac{r}{2}}$$ a r 2 is not generally integer) and the QOFA is relaunched with a different value of $$a$$ a . But a recent paper (Martin-Lopez et al. Nat. Photonics 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. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png Quantum Information Processing Springer Journals

# Odd orders in Shor’s factoring algorithm

, Volume 14 (3) – Jan 10, 2015
8 pages

Loading next page...

/lp/springer_journal/odd-orders-in-shor-s-factoring-algorithm-MyQocgGuDX
Publisher
Springer US
Copyright
Copyright © 2015 by Springer Science+Business Media New York
Subject
Physics; Quantum Information Technology, Spintronics; Quantum Computing; Data Structures, Cryptology and Information Theory; Quantum Physics; Mathematical Physics
ISSN
1570-0755
eISSN
1573-1332
D.O.I.
10.1007/s11128-014-0910-z
Publisher site
See Article on Publisher Site

## You’re reading a free preview. Subscribe to read the entire article.

### DeepDyve is your personal research library

It’s your single place to instantly
discover and read the research
that matters to you.

Enjoy affordable access to
over 12 million articles from more than
10,000 peer-reviewed journals.

All for just $49/month ### Explore the DeepDyve Library ### Unlimited reading Read as many articles as you need. Full articles with original layout, charts and figures. Read online, from anywhere. ### Stay up to date Keep up with your field with Personalized Recommendations and Follow Journals to get automatic updates. ### Organize your research It’s easy to organize your research with our built-in tools. ### Your journals are on DeepDyve Read from thousands of the leading scholarly journals from SpringerNature, Elsevier, Wiley-Blackwell, Oxford University Press and more. All the latest content is available, no embargo periods. ### Monthly Plan • Read unlimited articles • Personalized recommendations • No expiration • Print 20 pages per month • 20% off on PDF purchases • Organize your research • Get updates on your journals and topic searches$49/month

14-day Free Trial

Best Deal — 39% off

### Annual Plan

• All the features of the Professional Plan, but for 39% off!
• Billed annually
• No expiration
• For the normal price of 10 articles elsewhere, you get one full year of unlimited access to articles.

$588$360/year

billed annually

14-day Free Trial