32

In his book "The Fabric of Reality", Penguin Books 1998, p. 218, David Deutsch says that the first quantum computer (built 1989 in the office of Charles Bennet, IBM Reasearch) "became the first machine ever to perform non-trivial computations that no Turing machine could perform".

My question: Do we really know that quantum computing is powerful enough to solve problems that not even Turing machines can solve? (Or is this just a personal belief of David Deutsch?)

Vor
  • 12,513
  • 1
  • 30
  • 60
  • 12
    As stated, this is wrong, or at least very imprecise: a classical Turing machine (TM) can compute everything that a quantum Turing machine (QTM) can. However, there is evidence to suggest that a QTM may solve certain problems exponentially faster than a TM, and that's probably what Deutsch is referring to. This remains a conjecture, because we lack the tools to prove strong complexity bounds against Turing machines. – Sasho Nikolov Jun 02 '16 at 14:14
  • 6
    David Deutsch's book is fascinating but contains some errors. For instance, he says that intuitionistic mathematics denies the existence of infinitely many natural numbers, and he confuses Hilbert's problems (gets the numbers wrong), so don't use it as a reference. – Andrej Bauer Jun 02 '16 at 14:38
  • Be careful what exactly is meant by "quantum computing" where your read it. There are different models, not only the quantum TM. Depending on the model, the power might be beyond that of TMs or not. There are models in quantum computation and also in other frameworks that compute functions that are uncomputable for TMs, e.g. decide problems that are undecidable but enumerable. – Peter Leupold Jun 02 '16 at 15:45
  • 2
    @PeterLeupold, can you give a reference for the claim that there is a reasonable quantum computation model which can compute a function over natural numbers which is not computable by a Turing machine? – Kaveh Jun 02 '16 at 18:02
  • 1
    @Kaveh Maybe Peter means non-uniform models which can compute any function. – Sasho Nikolov Jun 02 '16 at 19:16
  • 2
    @Sasho, I am sure that is what Peter mean, although they can computable functions which are not computable by classical Turing machines, that is because of their nonuniformity, not quantumness; nonuniform classical models do that as well. – Kaveh Jun 03 '16 at 00:30
  • suggest more discussion in [chat] of this leading edge/ (open) question with active research (may cook up answer). meantime here is a latest press release on subject: Quantum contest / DoE report on DWave computer benchmarking via supercomputer simulations. meantime note this question is nearly same as Why and how is a quantum computer faster than a regular computer? and References on comparison between quantum computers and Turing machines – vzn Jun 03 '16 at 15:02

5 Answers5

40

While it is true that the computation of a quantum Turing machine is vastly different from that of a classical one, nevertheless quantum Turing machines can be simulated on a classical Turing machine, albeit with exponential slowdown. In particular, everything that can be computed on a quantum Turing machine can also be computed on a classical Turing machine.

The main advantage of quantum Turing machines is that they appear to solve some problems much faster than classical Turing machines. As Sasho comments, at the moment we can't quite prove this, yet this advantage is believed to hold by most researchers.

For more, check out this talk by Ashley Montanaro.

Yuval Filmus
  • 276,994
  • 27
  • 311
  • 503
19

There's no difference in terms of computability. Classical computers can simulate quantum computers. A Turing machine can compute anything that a quantum computer can compute.

This isn't some hypothetical point, we simulate quantum computations all the time. You can do it with pen and paper! It's a lot more convenient using one of the many software simulators that already exist, though. There's even toy ones that run in your browser.

To me, your David Deutsch quote is referring to the style of computation that was used, as opposed to some inaccessible aspect of the problem. He managed to phrase it terribly.


All that being said, be aware that there is a difference in efficiency. Although a Turing machine can simulate applying Shor's algorithm to a thousand digit number, doing so would take too long to be practical. The universe would die out before you finished.

(There are also other practical uses for quantum computers, like improving the resolution of sensors, but I think mostly people are interested because of the existence of a few key takes-too-long-to-simulate problems and algorithms.)

Craig Gidney
  • 5,842
  • 22
  • 47
  • 1
    There is believed to be a difference in efficiency. It's true that Shor's algorithm is impractical to run on a classical computer, but there may be another factoring algorithm that can be executed efficiently on a classical computer (although it's unlikely). No one has proven that BPP != BQP. – tparker Jun 04 '16 at 01:53
5

In terms of computability, quantum computers provide no advantage -- anything which can be computed by a quantum computer may be computed by a classical computer, because as Yuval pointed out, classical computers can simulate quantum computers.

In terms of complexity, there are advantages for some problems. For example, the Deutsch-Josza algorithm is (provably) exponentially faster than any classical algorithm. Grover's algorithm provides a quadratic speedup compared to any classical computer, again this has been proved. However, the precise complexity relationship between classical and quantum computing is not known.

  • Grover's algorithm is a square root speedup. 1) Your link to the Deutsch-Josza algorithm paper is paywalled.
  • – Nayuki Jun 03 '16 at 01:57
  • 2
    @Nayuki 0) If you're going to accept "X is exponentially faster than Y" to mean that the running time of X is the logarithm of the running time of Y, then you should accept "X provides a quadratic speedup compared to Y" to mean that the running time of X is the square root of the running time of Y. 1) You can read it for free at Jstor (reguires registration and you can only read three different papers there every two weeks). – David Richerby Jun 03 '16 at 09:05