# Quantum Turing machine

A **quantum Turing machine** (**QTM**), also a **universal quantum computer**, is an abstract machine used to model the effect of a quantum computer. It provides a very simple model which captures all of the power of quantum computation. Any quantum algorithm can be expressed formally as a particular quantum Turing machine.

In 1980 and 1982, physicist Paul Benioff published papers[1][2] that first described a quantum mechanical model of Turing machines. A 1985 article written by Oxford University physicist David Deutsch further developed the idea of quantum computers by suggesting quantum gates could function in a similar fashion to traditional digital computing binary logic gates.[3]

Quantum Turing machines are not always used for analyzing quantum computation; the quantum circuit is a more common model.[4]^{:2} These models are computationally equivalent.[5]

Quantum Turing machines can be related to classical and probabilistic Turing machines in a framework based on transition matrices. That is, a matrix can be specified whose product with the matrix representing a classical or probabilistic machine provides the quantum probability matrix representing the quantum machine. This was shown by Lance Fortnow.[6]

Iriyama, Ohya, and Volovich have developed a model of a *linear quantum Turing machine* (LQTM). This is a generalization of a classical QTM that has mixed states and that allows irreversible transition functions. These allow the representation of quantum measurements without classical outcomes.[7]

A *quantum Turing machine with postselection* was defined by Scott Aaronson, who showed that the class of polynomial time on such a machine (PostBQP) is equal to the classical complexity class PP.[8]

## Informal sketch

Unsolved problem in physics:(more unsolved problems in physics) |

A way of understanding the quantum Turing machine (QTM) is that it generalizes the classical Turing machine (TM) in the same way that the quantum finite automaton (QFA) generalizes the deterministic finite automaton (DFA). In essence, the internal states of a classical TM are replaced by pure or mixed states in a Hilbert space; the transition function is replaced by a collection of unitary matrices that map the Hilbert space to itself.[3]

That is, a classical Turing machine is described by a 7-tuple .

For a three-tape quantum Turing machine (one tape holding the input, a second tape holding intermediate calculation results, and a third tape holding output):

- The set of states is replaced by a Hilbert space.
- The tape alphabet symbols are likewise replaced by a Hilbert space (usually a different Hilbert space than the set of states).
- The blank symbol corresponds to the zero-vector.
- The input and output symbols are usually taken as a discrete set, as in the classical system; thus, neither the input nor output to a quantum machine need be a quantum system itself.
- The transition function is a generalization of a transition monoid, and is understood to be a collection of unitary matrices that are automorphisms of the Hilbert space .
- The initial state may be either a mixed state or a pure state.
- The set of
*final*or*accepting states*is a subspace of the Hilbert space .

The above is merely a sketch of a quantum Turing machine, rather than its formal definition, as it leaves vague several important details: for example, how often a measurement is performed; see for example, the difference between a measure-once and a measure-many QFA. This question of measurement affects the way in which writes to the output tape are defined.

## References

- Benioff, Paul (1980). "The computer as a physical system: A microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines".
*Journal of Statistical Physics*.**22**(5): 563–591. Bibcode:1980JSP....22..563B. doi:10.1007/bf01011339. - Benioff, P. (1982). "Quantum mechanical hamiltonian models of turing machines".
*Journal of Statistical Physics*.**29**(3): 515–546. Bibcode:1982JSP....29..515B. doi:10.1007/BF01342185. - Deutsch, David (July 1985). "Quantum theory, the Church-Turing principle and the universal quantum computer" (PDF).
*Proceedings of the Royal Society A*.**400**(1818): 97–117. Bibcode:1985RSPSA.400...97D. CiteSeerX 10.1.1.41.2382. doi:10.1098/rspa.1985.0070. Archived from the original (PDF) on 2008-11-23. - Abel Molina; John Watrous (2018). "Revisiting the simulation of quantum Turing machines by quantum circuits". arXiv:1808.01701 [cs.CC].
- Andrew Yao (1993).
*Quantum circuit complexity*. 34th Annual Symposium on Foundations of Computer Science. pp. 352–361. - Fortnow, Lance (2003). "One Complexity Theorist's View of Quantum Computing".
*Theoretical Computer Science*.**292**(3): 597–610. arXiv:quant-ph/0003035. doi:10.1016/S0304-3975(01)00377-2. - Simon Perdrix; Philippe Jorrand (2007-04-04). "Classically-Controlled Quantum Computation".
*Math. Struct. In Comp. Science*.**16**(4): 601–620. arXiv:quant-ph/0407008. doi:10.1017/S096012950600538X. also Simon Perdrix and Philippe Jorrand (2006). "Classically-Controlled Quantum Computation" (PDF).*Math. Struct. In Comp. Science*.**16**(4): 601–620. CiteSeerX 10.1.1.252.1823. doi:10.1017/S096012950600538X. - Aaronson, Scott (2005). "Quantum computing, postselection, and probabilistic polynomial-time".
*Proceedings of the Royal Society A*.**461**(2063): 3473–3482. arXiv:quant-ph/0412187. Bibcode:2005RSPSA.461.3473A. doi:10.1098/rspa.2005.1546. Preprint available at

## Further reading

- Molina, Abel; Watrous, John (2018). "Revisiting the simulation of quantum Turing machines by quantum circuits". arXiv:1808.01701 [cs.CC].
- Iriyama, Satoshi; Ohya, Masanori; Volovich, Igor (2004). "Generalized Quantum Turing Machine and its Application to the SAT Chaos Algorithm". arXiv:quant-ph/0405191.
- Deutsch, D. (1985). "Quantum Theory, the Church-Turing Principle and the Universal Quantum Computer".
*Proceedings of the Royal Society of London. Series A, Mathematical and Physical Sciences*.**400**(1818): 97–117. Bibcode:1985RSPSA.400...97D. CiteSeerX 10.1.1.41.2382. doi:10.1098/rspa.1985.0070. JSTOR 2397601. - The quantum computer – history