Proving an inequality for order finding

  • Context: Graduate 
  • Thread starter Thread starter jamesa917
  • Start date Start date
  • Tags Tags
    Inequality
Click For Summary
SUMMARY

The discussion focuses on proving that the order of an integer x modulo N, denoted as r, satisfies the inequality r ≤ N. This is essential for understanding Shor's algorithm in quantum computing. The proof involves demonstrating that r divides Euler's totient function φ(N) and that φ(N) is less than or equal to N. The proof utilizes concepts from group theory, specifically Lagrange's Theorem, and highlights the relationship between the powers of x and the modular arithmetic properties of N.

PREREQUISITES
  • Understanding of modular arithmetic and congruences
  • Familiarity with Euler's totient function φ(N)
  • Knowledge of group theory, particularly Lagrange's Theorem
  • Basic principles of quantum computing and Shor's algorithm
NEXT STEPS
  • Study Euler's Theorem and its applications in number theory
  • Learn about Lagrange's Theorem in group theory
  • Explore the implications of Fermat's Little Theorem in modular arithmetic
  • Investigate the role of order finding in quantum algorithms, specifically Shor's algorithm
USEFUL FOR

Quantum computing enthusiasts, mathematicians, and computer scientists interested in number theory and algorithm optimization, particularly those studying Shor's algorithm.

jamesa917
Messages
1
Reaction score
0
I'm trying to understand a process called order finding as I need to know it for Shor's algorithm in quantum computing.

The process is like this:

For two positive integers x and N, with no common factors and x < N, the order of x modulo N is defined to be the least positive integer, r, such that x^r = 1(mod~N).

I'm fine with this, but my problem comes in the following, which is left as an exercise in the book I'm using (Nielsen & Chuang):

Show that the order of x satisfies r \le N.

Does anyone have any suggestions for this? It's a bit similar to Fermat's Little Theorem but not quite the same. I'm assuming it's a fairly brief proof (as in several lines rather than several pages) based on the difficulty of other questions in the book on that topic.

Thanks in advance for any help.
 
Physics news on Phys.org
Hi, jamesa917,
I suppose one quick route is to prove that (a) r divides phi(N), where phi(N) is Euler's totient function, and (b) phi(N) <= N, since phi(N) counts the number of positive integers less than or equal to N and coprime to N.

The (a) part may involve Euler's Theorem (A generalization of Fermat's Little Theorem) and some knowledge of group theory, in particular Lagrange Theorem (see f.i. the wikipedia page, under "Using the theorem"). Alternatively, you can google for a simpler proof (I found this post).
 
jamesa917 said:
I'm trying to understand a process called order finding as I need to know it for Shor's algorithm in quantum computing.

The process is like this:

For two positive integers x and N, with no common factors and x < N, the order of x modulo N is defined to be the least positive integer, r, such that x^r = 1(mod~N).

I'm fine with this, but my problem comes in the following, which is left as an exercise in the book I'm using (Nielsen & Chuang):

Show that the order of x satisfies r \le N.

Does anyone have any suggestions for this? It's a bit similar to Fermat's Little Theorem but not quite the same. I'm assuming it's a fairly brief proof (as in several lines rather than several pages) based on the difficulty of other questions in the book on that topic.

Thanks in advance for any help.
First of all, to every ##n\ge 0##, there exists a ##p##: ##0\le p\le N-1##, such that ##n=p## (mod ##N##).

Therefore, at least two of the ##N+1## numbers ##x^0,\,x^1,\,x^2\,,\dots\,,x^N## are equal (mod ##N##) to the same number ##p##: ##0\le p\le N-1##.

This means that there are ##\,r,s##: ##0\le r < s\le N-1##, and ##k\ge 0## such that ##\,kN=x^s-x^r=x^r(x^{s-r}-1)##.

The prime factors of ##N## are then distributed between ##x^r## and ##x^{s-r}-1##. But ##N## and ##x## have no common factors. Thus, all the prime factors of ##N##, with

appropriate powers, divide ##x^{s-r}-1##, which therefore is divisible ny ##N##. In other words, ##x^{s-r}=1## (mod ##N##), and ##\,0<s-r\le N##. Q.E.D.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 10 ·
Replies
10
Views
9K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K