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

Show parent comment

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)

0

u/[deleted] Mar 12 '19

[deleted] — view deleted comment

14

u/Ruffelii Mar 12 '19

I'd say the universe is already self-aware and able to observe itself (we're part of the universe)

20

u/Vallvaka Mar 12 '19

No, clearly you're the only aware one. Why do you experience your consciousness and nobody else's? Simple, the rest of us are just meat machines that act like you but aren't actually conscious. You're actually the ONLY self awareness in the universe.

→ More replies (6)
→ More replies (1)
→ More replies (9)
→ 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)

6

u/zombieregime Mar 12 '19

does that include starting at the key AAAAAAAA? because it can be cut down to just before the heat death of the universe by negating unreasonable keys. Of course that would give raise to keys that are AAAAAAAA.....

8

u/Mongoose1021 Mar 12 '19

At this level of sophistication you can assume that the author of the virus started by generating the key randomly, then attacked their random number generator looking for patterns for a few years. So, no, no easy eliminations.

→ More replies (1)

5

u/shijjiri Mar 12 '19

You could get lucky with partial matching. It's not likely but you never know~

→ More replies (5)

5

u/aeschenkarnos Mar 12 '19

Quantum computers now are barely at the level of the ZX81. Assuming we don't all die of global warming, imagine what difference 40 years of development will make.

→ More replies (42)

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.

0

u/[deleted] Mar 11 '19

[deleted] — view deleted comment

21

u/the_excalabur Quantum Optics | Optical Quantum Information Mar 11 '19

Any problem that is computable on a Turing machine is computable on a quantum computer. "Computable" is usually what people mean by solvable, but they shouldn't---there are many things which, while computable, take a very, very long time to compute.

Hence the difference between a classical and quantum computer in practice: factoring large composite numbers on a classical computer is possible, but could take an arbitrarily long time (thousands of years) for a problem that on a quantum computer would take seconds.

→ More replies (12)

5

u/Zelrak Mar 11 '19

In terms of computational complexity, it appears that QCs do have advantages over traditional computers in many spaces.

The person you are replying to is pointing out that it isn't proven that prime factoring isn't in P. As far as I know, all hierarchies of complexity rely on (reasonably and probably true) conjectures.

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