Math 2.0

Computer science Definition

Probabilistic Turing machine

Builds on Turing machineFormal languageProbability measure

Definition

A probabilistic Turing machine is a tuple M=(Q,Γ,⊔,Σ,δ0,δ1,q0,qacc,qrej)M = (Q, \Gamma, \sqcup, \Sigma, \delta_0, \delta_1, q_0, q_{\mathrm{acc}}, q_{\mathrm{rej}}) with the following parts.

  1. QQ, Γ\Gamma, ⊔\sqcup, Σ\Sigma, q0q_0, qaccq_{\mathrm{acc}} and qrejq_{\mathrm{rej}} are as for a Turing machine with accepting state qaccq_{\mathrm{acc}} and rejecting state qrejq_{\mathrm{rej}}.
  2. δ0\delta_0 and δ1\delta_1 are two transition functions from (Q∖{qacc,qrej})×Γ(Q \setminus \set{q_{\mathrm{acc}}, q_{\mathrm{rej}}}) \times \Gamma to Q×Γ×{L,R}Q \times \Gamma \times \set{L, R}.

At each step the machine chooses δ0\delta_0 or δ1\delta_1 with probability 1/21/2 each, independently of all earlier choices, and moves by the chosen function. For an input ww, the acceptance probability Pr⁡[M accepts w]\Pr[M \text{ accepts } w] is the probability that the run on ww reaches qaccq_{\mathrm{acc}}. For a language L⊆Σ∗L \subseteq \Sigma^*, the machine decides LL with bounded error if, for every w∈Σ∗w \in \Sigma^*, the run halts with probability 11 and Pr⁡[M accepts w]≥2/3 if w∈L,Pr⁡[M accepts w]≤1/3 if w∉L.\Pr[M \text{ accepts } w] \ge 2/3 \text{ if } w \in L, \qquad \Pr[M \text{ accepts } w] \le 1/3 \text{ if } w \notin L.

Remarks

Equivalently, the machine reads its random choices from an extra tape filled with independent fair random bits. Example: if δ0=δ1\delta_0 = \delta_1, the machine is deterministic. If in addition it halts on every input, it decides its language with bounded error, with acceptance probabilities 00 and 11. Non-example: a machine that flips one coin and accepts on heads accepts every input with probability 1/21/2. It does not decide any language with bounded error, since 1/21/2 is neither at least 2/32/3 nor at most 1/31/3. The constants 2/32/3 and 1/31/3 can be replaced by 1−2−k1 - 2^{-k} and 2−k2^{-k} by running the machine O(k)O(k) times and taking the majority answer. BPP is the class of languages decided with bounded error by a probabilistic machine whose runs all take polynomial time.

Reading path

To understand this page from the ground up, read these 6 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Formal language concept
  2. Function concept
  3. Probability measure concept
  4. Set concept
  5. Turing machine definition
  6. Probabilistic Turing machine definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Probabilistic_Turing_machine
About this page
TagBVH9S98095
URIm2://BVH9S98095
Kinddefinition
WritingW0 stub
MSC68Q10, 68Q87, 68Q04
DefinesProbabilistic Turing machine
UsesTuring machine, Formal language, Probability measure
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.