Aquantum Turing machine (QTM) oruniversal quantum computer is anabstract machine used tomodel the effects of aquantum computer. It provides a simple model that captures all of the power of quantum computation—that is, anyquantum algorithm can be expressed formally as a particular quantum Turing machine. However, the computationally equivalentquantum circuit is a more common model.[1][2]: 2
Quantum Turing machines can be related to classical andprobabilistic Turing machines in a framework based ontransition matrices. That is, a matrix can be specified whose product with the matrix representing a classical or probabilistic machine provides the quantumprobability matrix representing the quantum machine. This was shown byLance Fortnow.[3]
A way of understanding the quantum Turing machine (QTM) is that it generalizes the classicalTuring machine (TM) in the same way that thequantum finite automaton (QFA) generalizes thedeterministic finite automaton (DFA). In essence, the internal states of a classical TM are replaced bypure ormixed states in aHilbert space; the transition function is replaced by a collection ofunitary matrices that map the Hilbert space to itself.[4]
That is, a classical Turing machine is described by a 7-tuple. Seethe formal definition of a Turing Machine for a more in-depth understanding of each of the elements in this 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 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 ameasurement 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.
In 1980 and 1982, physicistPaul Benioff published articles[5][6] that first described a quantum mechanical model ofTuring machines. A 1985 article written by Oxford University physicistDavid Deutsch further developed the idea of quantum computers by suggesting thatquantum gates could function in a similar fashion to traditional digital computingbinarylogic gates.[4]
Iriyama,Ohya, and Volovich have developed a model of alinear 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]
Aquantum Turing machine withpostselection was defined byScott Aaronson, who showed that the class of polynomial time on such a machine (PostBQP) is equal to the classical complexity classPP.[8]