News for hackers. Stuff that matters.
Re:Quantum computing device hints at powerful future by kondro on Tuesday March 22, 2011 @05:24AM (#2353640)
Yay, probabilistic computing.

You have a 99.5% chance that your PayPal transaction has succeeded. A bit like using a NoSQL database.

Re:Quantum computing device hints at powerful future by wladimir on Tuesday March 22, 2011 @07:10AM (#2353819)
A bit like any hardware/software combo. Nothing in life is 100% reliable. If you make the probability of failure small enough, and are able to detect and fix errors (very important), it will be good enough.
Re:Quantum computing device hints at powerful future by sukuriant on Tuesday March 22, 2011 @06:19AM (#2353732)
It's more useful for problems in the NP-Complete set, where you can write an algorithm that should take a very long time to perform, but takes very little time to check.

Take the 3-sat problem, for example. It takes a very long time for conventional algorithms to produce a correct answer; but, given a potential solution, it takes very little time to check for correctness. It's this area that quantum computers could shine in. Get a potential answer from the machine and check its accuracy very quickly. If wrong, try again.

[edit: if I misunderstand quantum computers, forgive me. This is just what I thought their allure was]

Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @06:24AM (#2353747)
Quantum computers are not known to be able to solve NP-complete problems in polynomial time. (Assuming for the sake of argument that we can actually build them.)

There are problems -- factorization, as others have already said, is the commonest example -- that (1) are not known to be solvable classically in a reasonable amount of time and (2) are known to be solvable by a quantum computer in a reasonable amount of time. But they aren't NP-complete problems.

Re:Quantum computing device hints at powerful future by vmind on Tuesday March 22, 2011 @07:01AM (#2353809)
Quantum Computers are able to solve problems of complexity BQP in polynomial time. BQP is suspected to cover all problems in P, some in NP (but not NP-complete), and some outside of NP but in PSPACE. (http://en.wikipedia.org/wiki/BQP)
Re:Quantum computing device hints at powerful future by sukuriant on Tuesday March 22, 2011 @12:39PM (#2355139)
Ah! That clears things up quite a bit. I'm surprised they're not able to work at the NP-C set. Is it because the probability of a right answer is so small?
Re:Quantum computing device hints at powerful future by paulnelligan on Tuesday March 22, 2011 @05:06AM (#2353621)
Does anyone have any info as to how the art of programming might change with quantum technology ?
Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @06:29AM (#2353757)
Here's one concrete proposal: http://arxiv.org/PS_cache/cs/pdf/0103/0103009v3.pdf

I strongly suspect, though, that the answer is: The quantum magic will be packaged up into small black boxes that perform a modest range of tasks faster than they could be done classically, and programming will continue to consist mostly of writing classical code; it's just that there will be superfast implementations of a few useful things.

That might change if the number of qubits we can put into a quantum computer ever gets comparable to the number of ordinary bits we can put into a classical computer. That'll take a while.

(My suspicions and guesses are merely suspicions and guesses. I am not a quantum computing expert.)

Re:Quantum computing device hints at powerful future by rayboyd on Tuesday March 22, 2011 @06:27AM (#2353750)
Re:Quantum computing device hints at powerful future by sunkencity on Tuesday March 22, 2011 @05:55AM (#2353691)
One of the major changes is that you cannot inspect the process of computation until it's done, because looking at the cubits collapses them into bits..

So no debuggers/stepping I assume :)

Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @06:26AM (#2353749)
That's getting a bit ahead of where they're at. To the best of my knowledge, the fundamental assumption behind the QC paradigm, the Copenhagen Interpretation, has never really been tested.[1] It is possible that a device like this will constitute the definitive test. The question will be whether such a system can actually perform a calculation across a superposition of states. In the systems I am aware of where such a calculation has been claimed, what actually happened was that a large number of atoms were manipulated simultaneously, and the "superposition" was potentially across the specific states in those individual atoms.

My own opinion is that the QC scenario is a reductio ad absurdum for the Copenhagen Interpretation, and that when a true QC calculation is set up, it will fail. This is actually an optimistic view, because the Copenhagen Interpretation is a fundamentally pessimistic assumption: that because we don't know what's behind a certain observed random distribution, we can't. See the following link for more details. (But IAMAP, and I'm not really keeping up with this area.)

[1] For more on how the Copenhagen Interpretation evolved, and just how little empirical basis there is for it, see http://books.google.com/books?id=tTN4HuUNXjgC&lpg=PP1...

Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @06:30AM (#2353758)
Quantum computation does not in any way depend on the Copenhagen interpretation.
Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @10:45AM (#2354581)
The QC scenario relies on the superposition of states which collapse probabilistically when the system is observed. It is precisely this superposition which enables the massive parallelism the QC scenario promises. This superposition and probabilistic collapse is a central component of the Copenhagen Interpretation, as I understand it.
Re:Quantum computing device hints at powerful future by Jach on Tuesday March 22, 2011 @11:06AM (#2354695)
Superposition isn't part of the Copenhagen interpretation, nor is decoherence. Copenhagen is the addition to standard QM (which QC is based on) and states that the other possibilities we don't observe, also stop existing, making there only be "one true world". But it's not predicted by standard QM which predicts MWI: http://arxiv.org/pdf/0905.1283v1

http://www.hpl.hp.com/breweb/quiprocone/Protected/Lecture_2....

Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @11:33AM (#2354828)
This might be a matter of semantics. When I say "superposition," I mean the view that all we could possibly know about a system is represented in its wave function. This implies an ontological superposition of states until the wave function is collapsed, as is famously embodied in Schroedinger's cat. It is this ontological superposition of states which the QC scenario depends on for massive parallelism: If Schroedinger's cat was the input to your QC function, you would get to run the function with an alive-cat and a dead-cat input at the same time. Of course, you only get to see the output for the state the cat's in when the wave function is collapsed, and a key aspect of search algorithms like Shor's QC factorization scheme is to make sure that all the other states cancel out. (Shor's algorithm basically tries all possible divisors of the target number at the same time, through a superposition scheme.)

But if the probabilistic component of the QM wave function instead merely represents our degree of ignorance about the entire system, rather than some such magical superposition, then the QC system is actually only in one of the many states on which the computation is supposed to be run simultaneously, and the promised massive parallelism is just a fantasy.

(Yes, I think a hidden-variables explanation is more likely than the Copenhagen interpretation. Yes, I know about the EPR experiment.)

Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @11:58AM (#2354950)
It sounds to me as if what you don't believe in is not the Copenhagen interpretation but quantum mechanics. The things on which quantum computation depends, and that you are being skeptical about, are common to all interpretations of QM. (Which is just as well, because all interpretations make the same predictions about our observations -- aside perhaps from some funny "anthropic" things -- and whether quantum computation works or not is, at least once the necessary engineering has been done, eminently observable.)
Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @12:09PM (#2355000)

  > The things on which quantum computation depends, and
  > that you are being skeptical about, are common to all 
  > interpretations of QM.
I disagree: http://en.wikipedia.org/wiki/Hidden_variable_theory (The "Motivation" section is particularly relevant to this discussion.)

This is not the standard QM, but to the best of my knowledge it is consistent with the results of all the standard QM experiments.

Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @12:16PM (#2355024)
Quantum computation works just fine in Bohmian QM. (The pilot wave contains all the same structure you get in a conventional wavefunction, including the "parallel worlds".)
Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @12:20PM (#2355043)
That's exactly my point. Not only does QC work "just fine" in Bohmian QM, it critically depends on the Bohmian interpretation of the wave function probabilities to achieve the massive parallelism it promises. To the best of my knowledge, there is no empirical basis to that interpretation, and there are effective QM models which don't need it.
Re:Quantum computing device hints at powerful future by gjm11 on Tuesday March 22, 2011 @01:37PM (#2355401)
Are you perhaps confusing Born with Bohm? There is no possible sense in which QC critically depends on anything to do with Bohm.

Neither does it depend on very much about exactly what those Born probabilities mean. All that matters is that, e.g., when one of them is very close to 1 and the others very close to 0, you will almost always find yourself observing an outcome corresponding to the nearly-1 probability. Again: if you disbelieve that -- which is what you'd need to disbelieve to have a problem with QC here -- then what you are rejecting is not any particular interpretation, but quantum mechanics itself as a description of what the universe does.

Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @02:12PM (#2355592)

  > Are you perhaps confusing Born with Bohm?
Sorry for my misunderstanding. I thought you were using "Bohmian" to refer to the standard interpretation. (I'd forgotten about that reference in the "Motivation" section of the wikipedia article.) I wasn't referring to the Bohmian interpretation two comments back, I was referring more to the kind of hidden variable Einstein had in mind. (I realize it would have to be non-local.)

  > All that matters is that, e.g., when one of them is 
  > very close to 1 and the others very close to 0
That's just begging the question. The "nearly-1 probability" comes from the assumption that the initial state in the algorithm is a superposition over a large number of classical states.

  > what you are rejecting is not any particular
  > interpretation, but quantum mechanics itself as a 
  > description of what the universe does.
No, I accept that the probabilities which come out of the QM formalism accurately describe the frequencies observed in QM systems in the aggregate over many observations. I don't accept that those probabilities tell the whole story in one particular instance.
Re:Quantum computing device hints at powerful future by Estragon on Tuesday March 22, 2011 @11:50AM (#2354915)

  > But IAMAP,
Gah, that should be IANAP. (Too late to edit it.)
Re:Quantum computing device hints at powerful future by Panoramix on Tuesday March 22, 2011 @05:28PM (#2356596)
Very valid question, just keep in mind that quantum computers are not meant to and will not likely replace CMOS. Quantum computers will probably suck at the tasks where your laptop excels and vice versa.
Re:Quantum computing device hints at powerful future by Devilboy on Tuesday March 22, 2011 @05:41AM (#2353672)
I'm no expert on the topic but I guess the real nuts and bolts will be abstracted away from the developers. One example is a new LIKE implementation in your SQL database that uses a quantum algorithm for approximate search hits (from a DWave paper iirc)
Re:Quantum computing device hints at powerful future by exit on Tuesday March 22, 2011 @06:13AM (#2353718)
this article doesn't get into what kind of future quantum computing will enable.

can anyone describe a program which cannot be written (efficiently) today, which might run on quantum computers eventually?

Re:Quantum computing device hints at powerful future by wlievens on Tuesday March 22, 2011 @06:18AM (#2353729)
Shor's algorithm is the classic (pun intended) example: http://en.wikipedia.org/wiki/Shors_algorithm
Re:Quantum computing device hints at powerful future by Jach on Tuesday March 22, 2011 @10:54AM (#2354627)
I think this is a better writeup: http://www.scottaaronson.com/blog/?p=208
Re:Quantum computing device hints at powerful future by retube on Tuesday March 22, 2011 @06:21AM (#2353740)
Factorisation is the common example. You'll be able to factor gigantic numbers like an RSA public key pretty much instantaneously, as thanks to a qubit's super-position of states you can operate on all possible states at once. But in general it's all about parallelisation - being able to perform an operation on all states (ie numbers) at once. Due to the probabilistic/uncertain nature of measurements of a quantum system though I believe operations have to be performed a number of times in order to build statistics around the "right" answer.
Re:Quantum computing device hints at powerful future by trotsky on Tuesday March 22, 2011 @08:55AM (#2354084)
While the other answer about factorization hit the nail on the head, let me say it again in more direct terms. There is a strong belief among those who pay serious attention to encryption (NSA, etc.) that quantum computing would/will render all traditional encryption (minus things like one time pads) obsolete. An actor with a sufficiently advanced quantum computer would be able to break everyone else's comms.
Re:Quantum computing device hints at powerful future by maggit on Tuesday March 22, 2011 @09:40AM (#2354266)
I understand how quantum computers can break RSA; by factoring numbers quickly. That's exploiting a known "weakness" in RSA.

I'm curious as to how quantum computers would break other encryption algorithms like AES or ElGamal. Do you have any details?

Re:Quantum computing device hints at powerful future by NickM on Tuesday March 22, 2011 @10:04AM (#2354361)
There's much more concern with asymmetric algorithms like RSA or elliptic curve crypto. I don't know the details on symmetric ciphers like AES, but nobody really seems to be worried about them.

However, it's also not necessarily true that all asymmetric cryptosystems would be broken by quantum computing. For example, the McEliece cryptosystem is gaining attention lately because it's not known to be vulnerable to any quantum attacks. If you're interested in finding out more, google for post-quantum cryptography; there's lots of interesting info out there.

Re:Quantum computing device hints at powerful future by trotsky on Tuesday March 22, 2011 @03:18PM (#2355961)
I was repeating it as explained to me by someone whose opinion I trust, however it seems likely now that I misunderstood or perhaps it was being simplified for me. I should know better than to comment on issues like that that I don't fully understand. Thanks for correcting me.
Re:Quantum computing device hints at powerful future by maggit on Tuesday March 22, 2011 @06:43PM (#2356882)
Hehe, well, don't think of it as "correcting". I didn't (and still don't) understand it fully myself, so you should thank me for clearing things up or something instead :)
Re:Quantum computing device hints at powerful future by mchouza on Tuesday March 22, 2011 @12:01PM (#2354963)
Quantum algorithms halve the "strength in bits" of symmetric encryption algorithms by using the Grover's search algorithm (AFAIK):

http://en.wikipedia.org/wiki/Quantum_computer#Potential

Re:Quantum computing device hints at powerful future by danparsonson on Tuesday March 22, 2011 @09:44AM (#2354287)