Web Quantum Computer Simulator 238
Heraklit writes "As reported on Heise News, the Frauenhofer Institute of Computer Architecture and Software Technology has made available the first online quantum computer simulator - it will be simulating up to 31 quantum bits, for testing new advanced quantum algorithms. Behind the scenes, it is a 32 node Athlon 3200 Myrinet Linux Cluster with 56GByte RAM! Now imagine the computing power of a few hundred qubits, if ever constructed..."
Those crazy Perl users have beaten them to it! (Score:4, Informative)
Errors (Score:1, Informative)
1) This is C code, not pseudocode.
1) There are 31 qbits, not 32.
3) Why the right shift by 30 bits on the rand()? You're AND-ing this with 0x01 anyway, so the final outcome will either be 0 or 1. Quite perplexing.
Re:For the quantumly challenged amoung us (Score:2, Informative)
Re:Errors (Score:2, Informative)
Re:wow!!! (Score:5, Informative)
What I can explain without too much trouble is that the cluster is merely emulating the abilities of a quantum computer. A quantum computer, conversely, would be incapable of matching the performance of, say, seti@home on all of those machines. Emulation is taxing on any system - just ask the people who are using PearPC on their brand spankin' new computers only to get sub-G3 performance out of OS X.
Re:For the quantumly challenged amoung us (Score:2, Informative)
One of the fundamental principles of quantum mechanics is Heisenburg's Uncertainty Priciple. It states that you cannot know both the location and the velocity (remember that in physics velocity is both speed and direction).
Explanation (basic terms):
The smaller something is the more powerful the light you need to see it. This appeals to common sense. When you are looking at things VERY small (like quanta) the 'light' you use to look at it is powerful enough to move it. So you can know where is WAS but not where it IS. Or, you can know where it WAS going but not where it IS going. This pertains to ALL the properties of quanta.
Long story short, maybe the tree makes a sound when it falls , and maybe it doesn't. But once you check, you change the results. See the Wikipedia entry on Schrödinger's cat [wikipedia.org] for more info.
Re:For the quantumly challenged amoung us (Score:5, Informative)
Quantum computing has other complexities. Every function must output as many qubits as it has for input. It's also impossible to make a copy of a qubit without altering the original qubit. This means that in any quantum programming langauge, all funciton parameters must be passed by reference. All functions must be invertible. This can be generally accomplished by leaving the inputs unaltered and writing the output to some scratch qubits which are set to 0 beforehand.
If you want to learn more about quantum algorithms, I suggest you read up on Grover's search algorithm. It's much simpler than many quantum algorithms and it's also proven very adaptible to other situations.
Re:For the quantumly challenged amoung us (Score:2, Informative)
The above is a little bit simplified. The probability isn't stored directly. Rather, a complex number is stored and the probability is the square of the complex number.
So if you want to simulate this for a 32-qubit number, you need to store in your classical computer 2^32 complex numbers. Each operation you carry out on your 32-qubit number must be done 2^32 times on a classical computer.
Re:A question... (Score:2, Informative)
- C
Re:Simulation vs. Real Quantum Computer (Score:1, Informative)
Riiiiiiiiiight! What's a qubit? (Score:2, Informative)
The Wikipedia articles linked to below will certainly get you started, but they will make your head hurt.
To ease the pain in your head I recommend Nick Herbert's Quantum Reality, a popular title, but clear, concise and accurate.
There are a lot of popular works on Quantum Mechanics, but they all play the "pick any two" game with clarity, concision and accuracy. Herbert's is the only one I've found that nails all three.
One of the things that I particularly like about Herbert's book is the way he makes it explicitly clear that various models built upon interpretations of QM are a)interpretations, not QM itself and b)exclusionary.
QM presents certain logical ambiguities and paradoxes when we try to interpret it into the common world of understanding. Various models have been made to to try to deal those issues. Popular "philosophers" like to mix and match these interpretational models, believing they're a)all really the same interpretation and b)Quantum physics.
"So there I was, cruising along faster than light, backwards in time through the multiverse. . . "
But you can't do that, take one from column A and two from column B. Each interpretation is a logical structure unto itself and if you accept the multiverse interpretation adding elements from some other interpretations actually breaks the model's relation to QM.
The above 'quote' is like saying:
"So, I calculated my trajectory by Newton's Laws, but banged into a crystal sphere of Mars because I neglected one of the epicycles and didn't correct for General Relativistic forces. There's a chance I misread the initial conditions data from the chicken entrails as well."
Anyway, just read the book. It'll make you a better person, or at least a person with a more accurate view of QM than nonphysicits who haven't. Just 250 pages, so it's not even some huge tome that takes a multimonth commitment. Like I said, it's concise. Like a good O'Reilly book.
KFG
Re:For the quantumly challenged amoung us (Score:3, Informative)
http://alumni.imsa.edu/~matth/quant/473/473proj
Quantum Fantasy (Score:3, Informative)
1) Right now most of these quantum 'circuits' are implemented on NMR machines. They can realize a handfull of qubits. Not very cost effective. Unless you want your computer to double as an MRI machine (hey, you could rent it out every night!) it's not going to cost effective any time soon.
2) Quantum Cellular Automata (QCA) - not strictly quantum computing, but a very interesting and potentially realizable (as in they might actually be able to fabricate these in the next 10 years or so) computing paradigm. The big advantages over current logic families (like CMOS): there is no current flow hence the power dissipation could be miniscule. They switch at Terahertz rates. QCA circuits are very small ( a majority gate in less space than a current CMOS transistor).
3) Put the word 'Quantum' in front of something and it suddenly has a certain cachet.
For the time being, most of this stuff is fantasy. At most we can build actual quantum circuits (not simulated) which have maybe 10 gates or so which isn't too useful and the implementation technology is extremely expensive (not to mention large and power hungry). QCAs may actually lead to something real - but they're not really quantum gates.
Re:For the quantumly challenged amoung us (Score:4, Informative)
The superior power of quantum computers is due to their ability to simultaneously exist in several different, wavelike states, called superpositions. Conventional bits of data only exist in one of two states, a 1 or 0. A qubit can exist in a superpostion that is simultaneously both 1 and 0. To handle quantum data, a computer's switches must be able to interact with one another while maintaining these superpositions, so that the qubits don't fall back into 1's or 0's. Until now, researchers have tried to hold qubits in entangled states, meaning the state of any one qubit depends on the state of all others. Using this method, the collapse of one qubit back into a 1 or 0 would result in lost data.
Re:...simulated? (Score:3, Informative)
I like to think of quantum computers as doing sorting rather than calculation. This is because you can give it the output to a classically irreversible and it will "sort" or "resolve" for the correct input from all of it's various multiverse incarnation.
Re:On the Horizon (Score:4, Informative)
I read your "reference [ibm.com]" (or at least the Google cache of it), and it doesn't even contain the word "computer", so I fail to see how you've supported the claim that QC can help with teleportation. See, your (attempted) sarcastic point was actually literally true; I do know that stuff. Evidentally better than you do, since I can describe why we aren't teleporting stuff around right now. Can you? After all, we teleported a photon years ago; why haven't we done anything significantly larger? (Maybe because it's impossible? Give the idea a fair shot.)
Anyone want to take a crack at providing a reference that actually, well, refers to WarriorPoet42's claim?
Re:Those crazy Perl users have beaten them to it! (Score:2, Informative)
I don't know about QCF, but Quantum::Entanglement and libquantum take a different approach. The perl module gives a rather abstract layer without simulating the physics of a quantum computer at all. libquantum has been designed as a gate-level simulator which allows the analysis and optimization of complex quantum circuits.
Here, the simulation goes all the way down to the quantum-mechanical description of a quantum computer. This is a computationally a harder task which explains the heavy hardware. This is nothing new and has been done before (e.g. here [arxiv.org]).
Re:Commercial Backing? (Score:3, Informative)
Quantum computing will never be useful in graphics... because each qubit only ever results in a single bit of information. Even with an unthinkably powerful 1000 qubit computer, one computation is going to result in at most 1000 bits of image.
Quantum computing is useful when you have problems which are very hard even for short answers... like the travelling salesperson problem.
Google Translation of Heise article (Score:2, Informative)
Fraunhofer Institut for computer architecture and software technology ( ROOFRIDGE ) placed a quantum computer simulator on-line accessible by Webbrowser . The simulated machine can with up to 31 Qubits so mentioned work and is help to develop new algorithms and circuits for quantum computers.
Technical details of the hard and software describe the scientists in a detailed essay on the Website. Behind the simulation by Myrinet a coupled Linux cluster with altogether 56 GByte puts main memories.
Quantum computers are able to solve computing problems very fast at those conventional computers the teeth break off themselves -- for example the factorizing of very large numbers. They can do that, because they work with Qubits so mentioned instead of with bits. A Qubit takes both binary conditions at the same time; an arithmetic operation at a register from Qubits affects therefore all values at the same time. Each selection of the result destroys however the simultaneousness (or superposition) and reduces it to only one value.
Therefore hardware is, which can manipulate the sensitive Qubits, it however on the other hand as well as possible before the destructive external world influences protects for material quantum computers necessarily on the one hand. On the other hand completely new algorithms are necessary, with which the final result contains to a certain extent all solutions. One of it is the factorizing algorithm of Shor .