![]() |
![]() |
#12 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·73·17 Posts |
![]() Quote:
You are quite correct in your observation. No algorithm is known to solve that problem in polynomial time on a classical computer. However, such an algorithm is known for a quantum computer --- it is Schor's algorithm. The article to which you refer specifically states that the order-finding subroutine is to be run on a quantum computer. In this situation the entire algorithm runs in polynomial time. Looks like you thought that the entire algorithm had to be run on a classical machine. Paul |
|
![]() |
![]() |
![]() |
#13 |
Jun 2003
3×5×107 Posts |
![]()
What does this mean
"A reduction of the factoring problem to the problem of order-finding, which can be done on a classical computer. " -- How do you do this? Citrix |
![]() |
![]() |
![]() |
#14 | |
"Nancy"
Aug 2002
Alexandria
46438 Posts |
![]() Quote:
1. Choose some a 2. Compute a^n (mod N) for 1<=n<=k*N, with k large enough. This sequence is o-periodic, o=ord_N(a) 3. Do a Fourier transform on the sequence. Since it is o-periodic, the Fourier coefficients for the frequency o/(k*N) will dominate 4. Randomly choose a coefficient with probability according to its amplitude On a conventional computer, steps 2 and 3 take \Omega(N) steps. On a quantum computer, you can put the all the exponent qubits into a (1 1) (1 -1) / sqrt(2) state, i.e. a 0 and 1 bit with 50% probability each, and exponentiate by that exponent. The result of this exponentiation is a superposition of all a^n. This superposition can be transformed with a Quantum Fourier Transform (QFT), giving you a state where the o/(k*N) frequency and its multiples dominate in amplitude. Measuring the state gives you one of these values. You can then recover o by a continued fraction expansion. The nice thing is that the exponentiation and the QFT can be done in time O(log(N)^2), iirc. There are some catches that make the algorithm extremely tricky to actually implement, but the idea itself is sound. I gave a presentation on this algorithm at the uni once. Quantum comuting is by far the weirdest I've seen yet. Mind-boggling does not begin to describe it. If you're interested in this, get Nielsen and Chuang: Quantum Computation and Quantum Information. Note: the above is from memory, there probably are errors. I think I got the overall idea right, though. Alex Last fiddled with by akruppa on 2005-10-26 at 22:37 Reason: corrected Hadamard matrix, complexity |
|
![]() |
![]() |
![]() |
#15 |
Jun 2003
3·5·107 Posts |
![]()
Thankyou very much. This stuff is really interesting. It was my fault. I was too quick to judge the method. I just read the classical part and thought that, it had to be done before the quantum part.
|
![]() |
![]() |
![]() |
#16 | |
Jul 2004
Potsdam, Germany
3×277 Posts |
![]() Quote:
The article stated 7-qubits. Which one is correct? |
|
![]() |
![]() |
![]() |
#17 |
"Nancy"
Aug 2002
Alexandria
9A316 Posts |
![]()
7 qubit is correct. The composite number 15 has 4 bits, and you need extra bits for the exponent, etc.
Alex |
![]() |
![]() |
![]() |
#18 |
∂2ω=0
Sep 2002
Repรบblica de California
5×2,351 Posts |
![]()
I'm renaming this thread "Shor's Factoring Algorithm = Crap?" (I believe that captures the tone of the initial posting, but is more descriptive) and moving it to the regular Math section.
Note that there is no 'c' in the spelling of Peter Shor's last name. Last fiddled with by ewmayer on 2005-10-25 at 21:58 |
![]() |
![]() |
![]() |
#19 |
Jun 2003
31058 Posts |
![]()
Please remove the word crap from the title. It was a misunderstanding on my part.
(Rename it quantum computing perhaps) Thankyou, Citrix Last fiddled with by Citrix on 2005-10-26 at 03:43 |
![]() |
![]() |
![]() |
#20 |
"Nancy"
Aug 2002
Alexandria
46438 Posts |
![]()
Done.
Alex |
![]() |
![]() |
![]() |
#21 |
Oct 2004
232 Posts |
![]()
Quantum computing and the Shor algorithm in particular is mentioned in "Crandall and Pomerance: Prime Numbers: A computational approach" in second edition its 8.5.2 "The Shor quantum algorithm for factoring" on p422.
For second edition it may be slightly in need of revision (ie the IBM machine factoring 15 was in 2001) whereas they say "We stress that an appropriate machine has not been built". Perhaps someone could suggest to C&P that they could mention the IBM experiment. However they do say "but if it were the following algorithm IS EXPECTED TO WORK". In their presentation they do not give all the details of the algorithm. In their words "we have been intentionally brief in the final steps of the algorithm". They do point out that it could be done on conventional computers but in much longer time which would become unworkable, and it is quantum computers that offer opportunity to use it. I personally found the answers.com/wikipaedia treatment more complete and a little more readable. |
![]() |
![]() |
![]() |
#22 | ||
∂2ω=0
Sep 2002
Repรบblica de California
101101111010112 Posts |
![]() Quote:
![]() I quote: Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alternatively-gifted factoring algorithm | Prime95 | Miscellaneous Math | 72 | 2015-10-26 00:14 |
Shor's Algorithm | flouran | Math | 3 | 2009-10-27 09:31 |
Prime Factoring Algorithm | Visu | Math | 66 | 2008-05-12 13:55 |
Faster Factoring Algorithm? | Citrix | Factoring | 6 | 2007-12-23 11:36 |
A new prime factoring algorithm? | Visu | Factoring | 22 | 2006-11-09 10:43 |