Content deleted Content added
Adumbrativus (talk | contribs) m Take prime symbol out of superscript |
Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 15:
== Overview of complexity classes ==
Some important complexity classes are P, BPP, BQP, PP, and P-Space. To define these we first define a promise problem. A promise problem is a decision problem which has an input assumed to be selected from the set of all possible input strings. A promise problem is a pair <math>A=(A_\text{yes},A_\text{no})</math>. <math>A_\text{yes}</math> is the set of yes instances, <math>A_\text{no}</math> is the set of no instances, and the intersection of these sets is such that <math>A_\text{yes} \cap A_\text{no} = \
{| class="wikitable"
|+
Line 22:
|-
|P
|Promise problems for which a polynomial time deterministic Turing machine accepts all strings in <math>A_\text{yes}</math> and rejects all strings in <math>A_\text{no}</math><ref name=":27"/>
|-
|BPP
|Promise problems for which a polynomial time Probabilistic Turing machine accepts every string in <math>A_\text{yes}</math> with a probability of at least <math>\frac{2}{3}</math>, and accepts every string in <math>A_\text{no}</math> with a probability of at most <math>\frac{1}{3}</math><ref name=":27"/>
|-
|BQP
|Promise problems such that for functions <math>a,b:\
|-
|PP
|Promise problems for which a polynomial time Probabilistic Turing machine accepts every string in <math>A_\text{yes}</math> with a probability greater than <math>\frac{1}{2}</math>, and accepts every string in <math>A_\text{no}</math> with a probability of at most <math>\frac{1}{2}</math><ref name=":27"/>
|-
|P-SPACE
|Promise problems for which a deterministic Turing machine, that runs in polynomial space, accepts every string in <math>A_\text{yes}</math> and rejects all strings in <math>A_\text{no}</math><ref name=":27"/>
|}
|