Content deleted Content added
→Complexity classes: expanded and typo fix |
m Cleaned up using AutoEd |
||
(19 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Short description|Mathematical model of computation}}
{{Use dmy dates|date=May 2020}}
{{turing}}
In [[theoretical computer science]], a '''probabilistic Turing machine''' is a [[non-deterministic Turing machine]] that chooses between the available [[State-transition table|transitions]] at each point according to some [[probability distribution]]. As a consequence, a probabilistic Turing machine
In the case of equal probabilities for the transitions, probabilistic Turing machines can be defined as deterministic [[Turing machine]]s having an additional "write" instruction where the value of the write is [[uniform distribution (discrete)|uniformly distributed]] in the Turing
A [[quantum computer]] (or [[quantum Turing machine]]) is another [[model of computation]] that is inherently [[probabilistic]].
==Description==
A probabilistic Turing machine is a type of [[nondeterministic Turing machine]] in which each nondeterministic step is a
==Formal definition==
A probabilistic Turing machine can be formally defined as the 7-tuple <math>M=(Q, \Sigma, \Gamma,
* <math>Q</math> is a finite set of states
* <math>\Sigma</math> is the input alphabet
* <math>\Gamma</math> is a tape alphabet, which includes the blank symbol
* <math>
* <math>A \subseteq Q</math> is the set of accepting (final) states
* <math>\delta_1: Q \times \Gamma \to Q \times \Gamma \times \{L,R\} </math> is the first probabilistic transition function. <math>L</math> is
* <math>\delta_2: Q \times \Gamma \to Q \times \Gamma \times \{L,R\} </math> is the second probabilistic transition function.
At each step, the Turing machine probabilistically applies either the transition function <math>\delta_1</math> or the transition function <math>\delta_2</math>.<ref>{{cite book |last1=Arora |first1=Sanjeev|author1-link=Sanjeev Arora |last2=Barak |first2=Boaz|author2-link=Boaz Barak |title=Computational Complexity: A Modern Approach |date=2016 |publisher=Cambridge University Press |isbn=978-0-521-42426-4 |page=125}}</ref> This choice is made independently of all prior choices. In this way, the
The probabilistic selection of the transition function at each step introduces error into the Turing machine; that is, strings which the Turing machine is meant to accept may on some occasions be rejected and strings which the Turing machine is meant to reject may on some occasions be accepted.
# a string <math>w</math> in <math>L</math> implies that <math>\text{Pr}[M \text{ accepts } w] \geq 1 - \epsilon</math>
# a string <math>w</math> not in <math>L</math> implies that <math>\text{Pr}[M \text{ rejects } w] \geq 1 - \epsilon</math>
==Complexity classes==
{{unsolved|computer science|Is {{noitalic|'''P''' {{=}} '''BPP'''}} ?}}
As a result of the error introduced by utilizing probabilistic coin tosses, the notion of acceptance of a string by a probabilistic Turing machine can be defined in different ways. One such notion that includes several important complexity classes is allowing for an error probability of 1/3. For instance, the complexity class '''[[Bounded-error probabilistic polynomial|BPP]]''' is defined as the class of languages recognized by a probabilistic Turing machine in [[polynomial time]] with an error probability of 1/3. Another class defined using this notion of acceptance is '''[[BPL (complexity)|BPL]]''', which is the same as '''BPP''' but places the additional restriction that languages must be solvable in [[Logarithmic growth|logarithmic]] [[space complexity|space]].
[[Complexity class]]es arising from other definitions of acceptance include '''[[RP (complexity)|RP]]''',
Probabilistic computation is also critical for the definition of most classes of [[interactive proof system]]s, in which the verifier machine depends on randomness to avoid being predicted and tricked by the all-powerful prover machine. For example, the class '''[[IP (complexity)|IP]]''' equals '''[[PSPACE]]''', but if randomness is removed from the verifier, we are left with only '''[[NP (complexity)|NP]]''', which is not known but widely believed to be a considerably smaller class.
One of the central questions of complexity theory is whether randomness adds power; that is, is there a problem that can be solved in polynomial time by a probabilistic Turing machine but not a deterministic Turing machine? Or can deterministic Turing machines efficiently simulate all probabilistic Turing machines with at most a polynomial slowdown? It is known that '''P'''
==See also==
* [[Randomized algorithm]]
==Notes==
Line 42 ⟶ 44:
==References==
* {{cite book |last1=Arora |first1=Sanjeev|author1-link=Sanjeev Arora |last2=Barak |first2=Boaz|author2-link=Boaz Barak |title=Computational Complexity: A Modern Approach |date=2016 |publisher=Cambridge University Press |isbn=978-0-521-42426-4 |pages=
* {{cite book|last=Sipser|first=Michael|authorlink=Michael Sipser|title=Introduction to the Theory of Computation|edition=2nd|year=2006|publisher=Thomson Course Technology|___location=USA|isbn=978-0-534-95097-2|title-link=Introduction to the Theory of Computation|pages=
==External links==
* [https://xlinux.nist.gov/dads/HTML/probablturng.html NIST website on probabilistic Turing machines]
{{DEFAULTSORT:Probabilistic Turing Machine}}
|