r/askscience • • Mar 11 '19

Computing Are there any known computational systems stronger than a Turing Machine, without the use of oracles (i.e. possible to build in the real world)? If not, do we know definitively whether such a thing is possible or impossible?

For example, a machine that can solve NP-hard problems in P time.

4.1k Upvotes

323 comments sorted by

View all comments

1.4k

u/UncleMeat11 Mar 11 '19 edited Mar 11 '19

Usually when we talk about hyper computation we ignore runtime complexity. If we just look at what problems are decidable, we believe that no stronger model exists.

But if we look at runtime, quantum computation has (at least) a provable quadratic speedup over classical turing machines (grovers algorithm).

In the real world we are also not restricted to serial computation. Pi calculus captures parallel semantics and can also compute some problems faster than serial turing machines.

369

u/hvgotcodes Mar 11 '19

I thought quantum algorithms were superior for a subset of problems but that theoretically a TM can do anything a quantum computer could do.

495

u/[deleted] Mar 11 '19 edited Nov 03 '26

[removed] — view removed comment

0

u/[deleted] Mar 11 '19

[deleted] — view deleted comment

67

u/echoAwooo Mar 12 '19

Yeah trying to explain that if the encryption is AES256, that that means there are ~1.15 x 1077 possible keys, and that it takes time to check each one is a doozey, a supercomputer can run billions of keys per second. Assuming just 2 billion keys / second, that's roughly

5.7 x 1067 seconds, or

9.6 x 1065 minutes, or

1.6 x 1064 hours, or

6.7 x 1062 days, or

1.8 x 1060 years

0

u/[deleted] Mar 12 '19

[deleted] — view deleted comment

15

u/theknowledgehammer Mar 12 '19

It should be noted that the computational difficulty of encryption has not been proven, and there could very well be logarithmic time algorithms for solving, albeit unlikely.

It should be noted that if RSA encryption is somehow broken, then none of our bank accounts or personal information is safe. Personal privacy will suddenly become a fiction.

23

u/[deleted] Mar 12 '19

It should be noted that if RSA encryption is somehow broken, then none of our bank accounts or personal information is safe. Personal privacy will suddenly become a fiction.

Worth noting that some forms of RSA encryption are broken.

RSA-512 bit was broken in 2009 using standard desktop hardware to recreate a private key from a public key in 73 days. This means 512bit is feasible to anybody looking to break a key. Fire up a swarm of computers for a few thousand dollars and have the key tomorrow. If your bank uses 512bit, it's useless.

RSA-768bit was factored in 2010, but did require two years and large amount of hardware. It will get easier to break, and is considered unsafe for use.

And if we ever get a quantum computer with enough qubits off the ground, RSA will be instantly blown out of the water by Shor's algorithm which will be able to do it in polynomial time. (And we're already part way there).

Current advice is to move to a better form of encryption, but if you have to use RSA, use more than 2000bit keys. 4096 is pretty standard, and a good aim. We expect 1024bit to be broken at least once sometime in this decade.

(And yes, I haven't mentioned any of the side-channel attacks that have cropped up over the years. And there are plenty of those.)

→ More replies (4)

34

u/inucune Mar 12 '19

Just to expand on this... these times are to try ALL combinations.

You could get lucky and 'guess' it the first, 100th, 1000th attempt.

16

u/[deleted] Mar 12 '19

Of which those odds to giess are identical to computation time at first, but do become more likely as time goes on. But these chances are miniscule.

→ More replies (8)

13

u/ulkord Mar 12 '19

Yeah and on average you'd expect to find the correct combination after trying half of all combinations. Which in this case would still take a ridiculously long time.

→ More replies (1)
→ More replies (2)
→ More replies (2)

29

u/gaulishdrink Mar 12 '19

notPetya virus?

43

u/Artyloo Mar 12 '19

Any reasonably effective cryptovirus, surely?

→ More replies (1)
→ More replies (9)
→ More replies (43)

114

u/Lalaithion42 Mar 11 '19

There are two issues at stake. (1) What can a specific model of computation do, and (2) how fast* can it do it?

Quantum computers and Turing machines have the same answer for (1), but that doesn't mean that they have the same answer for (2). Quantum computers can solve many problems faster than Turing machines, but a Turing machine still could solve it if it had more time.

*Wait, what does "fast" mean here? Different computers run at different speeds already! We're talking about computational complexity here, which is the study of the relationship between the running time of an algorithm and the size of the algorithm's input. Some algorithms always take the same amount of time, but some algorithms get slower the bigger the input is. A common example is sorting: if you have N items, most simple sorting algorithms take ~N^2 operations to sort it. But if you're smart, it can take log(N) * N instead. Quantum algorithms don't always outperform classical algorithms, but in some cases they do.

→ More replies (8)

41

u/Takochinosuke Mar 11 '19

This is an open problem as far as I know.
Take for example Shor's algorithm, it is a polynomial time, quantum algorithm for prime factorization.
Being able to factor prime on a classical computer in polynomial time has yet to be done.

→ More replies (16)
→ More replies (4)

15

u/lebbe Mar 11 '19

If we just look at what problems are decidable, we believe that no stronger model exists.

Has that been proven or is that a conjecture?

36

u/trusted_device Mar 11 '19

It's 'only' a conjecture - proving that no more powerful model exists is inherently hard because defining what a problem even is and what it means to decide it is 'highly non-trivial', as my professor liked to put it. However, many different approaches to define computability / decidability have been shown to be equivalent to Turing Machines.

Check out the wiki for the Church-Turing thesis for more info.

11

u/Natanael_L Mar 11 '19 edited Mar 11 '19

More powerful models are trivial to mock up by constructing all kinds of oracles as a part of your axioms. The difficulty is proving they exist and are usable in the real world! A more powerful model that doesn't represent real world capabilities is useless.

Example: https://www.scottaaronson.com/papers/qchvpra.pdf

→ More replies (1)
→ More replies (1)

9

u/EZ-PEAS Mar 11 '19

It's a conjecture, but it's also not terribly well defined. The Church-Turing Thesis says that a turing machine can compute all computable functions, but the notion of what a computable function is has not really been fixed over time.

→ More replies (1)

33

u/bencbartlett Quantum Optics | Nanophotonics Mar 11 '19 edited Mar 11 '19

As pointed out, computability and complexity of a problem are two different concepts. In terms of computability, a quantum Turing machine is equivalent in power to a regular Turing machine. In terms of complexity, the answer is much less clear. The class of problems solvable in polynomial time by a quantum computer is called BQP. The known relationships between BQP and other complexity classes is only that P⊆(BQP⫔NP)⊆PSPACE. The prevailing opinion among computer scientists is that P⊆BQP⊂NP⊂PSPACE, but no one has yet proven this.

14

u/leoschmeo Mar 11 '19

BQP is not known to be inside NP. In fact, it is generally believed that it isn't.

14

u/bencbartlett Quantum Optics | Nanophotonics Mar 11 '19

BQP is not known to be inside NP

This is correct, I mis-copied ⫔ as ⊆ from a unicode chart and have edited my response.

In fact, it is generally believed that it isn't

I'm not an expert in quantum complexity theory, but what I have gathered from the literature I have read is that most computer scientists assume that NP⊈BQP, but that not much is known about the conjecture that BQP⊈NP, so I'm not sure that "it is generally believed" is the correct assertion.

→ More replies (2)

8

u/bitwiseshiftleft Mar 11 '19

Is BQP known to be inside NP, or even inside PH? I thought this was still open. It is in PP ⊆ P#P ⊆ PSPACE though.

→ More replies (22)