Settings

Theme

Calling your computer a Turing Machine is controversial

leroy.works

3 points by leroy-is-here 2 years ago · 7 comments

Reader

schoen 2 years ago

The other controversy that you'll see in a computer science context is that the Turing Machine specified by Turing has an infinite tape (or at least an unbounded tape; there are no conditions under which it can produce an out-of-memory error).

That means that there is no largest number (or other mathematical object) that it can represent, which is different from a physically-realized general-purpose programmable computer. On a physically-realized computer, once you fix some representation for numbers, there will always be a largest one that the computer can actually represent in its memory.

People have even maintained that, from the pure theory of computation point of view, the desktop computer (without threads and interrupts) is most like a finite-state machine rather than a Turing machine. It's just that each different possible memory (plus CPU register) state is a "state", so a computer with 8 GB of RAM will have something above 2^68719476736 states.

However, it can easily simulate a Turing machine given the assumption that the tape doesn't run out for a particular computation, including for computations that in human terms are very large and complex ones. :-)

Edit: One could also include the computer's hard drive as addressable memory, in which case it has even more states when viewed as a finite state machine.

A basic problem from an automata theory point of view is that eventually there are some inputs which need to fit entirely in memory in order to be processed correctly, and yet simply can't fit in memory. At that point, the computer will necessarily have to stop being as powerful as the idealized Turing machine in terms of distinguishing those inputs!

  • leroy-is-hereOP 2 years ago

    To your point, Turing's paper 'On Computable Numbers' doesn't even mention the length of the tape. He doesn't specify that it must be infinite at all.

    • eesmith 2 years ago

      While the paper does not explicitly state it, he shows that π and e are computable. Those cannot be expressed on a fixed-length tape.

      There is also a demonstration why an infinite number of symbols does not give more computability over a finite number of symbols. I believe this only makes sense if the tape length is infinite.

      • leroy-is-hereOP 2 years ago

        Yeah, the model only makes sense with an infinite length tape. I only mention it because many commenters get stuck on the word 'infinite' without realizing how inconsequential it is.

    • schoen 2 years ago

      I'm surprised to see that, but all subsequent authors have required it to be infinite (as a condition to distinguish it from other models of computation), and Turing himself later referred to it as infinite:

      https://en.wikipedia.org/wiki/Turing_machine#Physical_descri...

  • skolskoly 2 years ago

    >One could also include the computer's hard drive as addressable memory, in which case it has even more states when viewed as a finite state machine.

    If you are creative enough, you can consider the entire physical universe to be memory of your state machine. Just add some sensors. Then it doesn't really seem so controversial to call it unbounded anymore right? Perspective, perspective.

westurner 2 years ago

Turing was familiar with the Jacquard loom for weaving patterns on punch cards and Babbage's, and was then tasked with brute-forcing a classical cipher.

Quantum wave theory existed but wasn't considered necessary for classical brute-forcing. For example, Shor's algorithm for integer factorization was published in 1994.

Turing's paper does not specify concurrency, local or distributed. (Though is non-distributed multi-core local concurrency just also a Turing Machine?)

Is anything sufficient?

From "Church–Turing–Deutsch principle" https://en.m.wikipedia.org/wiki/Church%E2%80%93Turing%E2%80%... :

> The principle was stated by Deutsch in 1985 with respect to finitary machines and processes. He observed that classical physics, which makes use of the concept of real numbers, cannot be simulated by a Turing machine, which can only represent computable reals. Deutsch proposed that quantum computers may actually obey the CTD principle, assuming that the laws of quantum physics can completely describe every physical process.

Do modern QC allow a continuum of computable reals either? Not really yet, no; not with qubits, qudits or qutrits is there a complete real (0,1) interval. There are mean Expectation Values even on actual QC instead of quantum circuit simulators where it's either 0 or 1 for that run of the sim.

TASK: Represent e.g. π+1e-10 on a classical and then a modern quantum computer.

How many quantizations of theta π can there be?

And then with Bloch sphere rotations we have every possible unitary quantum operator?

And still there can be side channels in formally-verified classical and classical+quantum computers.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection