Definition. Bounded-error Probabilistic Polynomial Time [BPP]

L∈BPPL \in \text{BPP} (Bounded-error Probabilistic Polytime) if there is a probabilistic Turing machine that, on input xx, runs in time poly(|x|)\text{poly}\left( |x| \right) and has behavior:

  • x∈Lx \in L if the probability of accepting is greater than 23\frac{2}{3}
  • x∈Lx \in L if the probability of rejecting is greater than 23\frac{2}{3}
  • (23\frac{2}{3} is arbitrary: we just need pq>12\frac{p}{q} > \frac{1}{2})
Correct Output / Algorithm’s Output Accept Reject
Accept ≥23\geq \frac{2}{3} / true positive ≤13\leq \frac{1}{3} / false negative
Reject ≤13\leq \frac{1}{3} / false positive ≥23\geq \frac{2}{3} / true negative

…helpful diagram…