ZPP: Difference between revisions
(Created page with "{{complexity class}} ==Definition== The '''zero-error probabilistic polynomial time''' complexity class, abbreviated '''ZPP''', is defined as follows. A language <math>L</math>...") |
No edit summary |
||
Line 6: | Line 6: | ||
This complexity class can also be defined as the intersection of the [[RP]] and [[co-RP]] complexity classes. | This complexity class can also be defined as the intersection of the [[RP]] and [[co-RP]] complexity classes. | ||
==Relation with other complexity classes== | |||
===Larger complexity classes=== | |||
{| class="sortable" border="1" | |||
! Complexity class !! Meaning !! Proof of containment !! Reverse containment -- separation result or open problem !! Intermediate complexity classes | |||
|- | |||
| [[contained in::RP]] (randomized polynomial time) || Unlike ZPP, there is no definitive ''No'' answer type here but only a ''Yes'' and a ''Maybe'' || || || {{intermediate complexity classes|ZPP|RP}} | |||
|- | |||
| [[contained in::co-RP]] || Unlike ZPP, there is no definitive ''Yes'' answer type here but only a ''No'' and a ''Maybe'' || || || {{intermediate complexity classes|ZPP|co-RP}} | |||
|- | |||
| [[contained in::BPP]] (bounded-error probabilistic polynomial time) || There are only ''maybe yes'' and ''maybe no'' answers, no definitive answers, but bounds on error rates || || || {{intermediate complexity classes|ZPP|BPP}} | |||
|- | |||
| [[contained in::PP]] (probabilistic polynomial time) || Like BPP, weaker bounds on error rates || || || {{intermediate complexity classes|ZPP|PP}} | |||
|- | |||
| [[contained in::NP intersect co-NP]] || || || || {{intermediate complexity classes|ZPP|NP intersect co-NP}} | |||
|- | |||
| [[contained in::NP]] || || || || | |||
|- | |||
| [[contained in::co-NP]] || || || || | |||
|} | |||
===Smaller complexity classes=== | |||
{| class="sortable" border="1" | |||
! Complexity class !! Meaning !! Proof of containment !! Reverse containment -- separation result or open problem !! Intermediate complexity classes | |||
|- | |||
| [[contains::P]] || || || || | |||
|} |
Latest revision as of 21:02, 27 December 2011
This article defines a decision complexity class, i.e., a complexity class for decision problems. This means that given any language, the language is either a member of the decision complexity class or it is not a member of the decision complexity class.| View a list of complexity classes
Definition
The zero-error probabilistic polynomial time complexity class, abbreviated ZPP, is defined as follows. A language is in ZPP if there exists a Turing machine that has access to a random oracle and runs in polynomial time and has one of three outputs: Yes, No, and Undecided. If the output is Yes, the string is in . If the output is No, the string is not in . if the output is Undecided, then the string may or may not be in . Further, for any fixed choice of input string, the probability of returning Maybe is bounded from above by a number strictly less than 1.
This complexity class can also be defined as the intersection of the RP and co-RP complexity classes.
Relation with other complexity classes
Larger complexity classes
Complexity class | Meaning | Proof of containment | Reverse containment -- separation result or open problem | Intermediate complexity classes |
---|---|---|---|---|
RP (randomized polynomial time) | Unlike ZPP, there is no definitive No answer type here but only a Yes and a Maybe | click here | ||
co-RP | Unlike ZPP, there is no definitive Yes answer type here but only a No and a Maybe | click here | ||
BPP (bounded-error probabilistic polynomial time) | There are only maybe yes and maybe no answers, no definitive answers, but bounds on error rates | click here | ||
PP (probabilistic polynomial time) | Like BPP, weaker bounds on error rates | click here | ||
NP intersect co-NP | click here | |||
NP | ||||
co-NP |
Smaller complexity classes
Complexity class | Meaning | Proof of containment | Reverse containment -- separation result or open problem | Intermediate complexity classes |
---|---|---|---|---|
P |