News for hackers. Stuff that matters.
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)