ZPP
Definition
A language is in ZPP if there are a polynomial and a probabilistic Turing machine such that, for every input :
- halts with probability , and when it halts it outputs if and if ;
- the expected number of steps of on , over its coin flips, is at most .
Remarks
Equivalently, , with RP the class of one-sided error. Suppose has an RP machine and its complement has an RP machine . Run both in rounds until one of them accepts. An accepting run of proves , and an accepting run of proves . Each round succeeds with probability at least , so the expected number of rounds is at most . Conversely, by Markov's inequality a ZPP machine stopped after steps has halted with probability at least , which gives RP machines for and its complement.
Example: every language in P is in ZPP, using a machine that ignores its coins.
Non-example: a machine that runs in polynomial time but answers wrongly with probability on some input fails clause 1.
Another equivalent form: there is a polynomial-time machine with outputs , and "?" that never gives a wrong or and outputs "?" with probability at most .
Reading path
To understand this page from the ground up, read these 4 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Complexity class concept
- Probabilistic Turing machine concept
- RP concept
- ZPP definition
Further reading
About this page
| Tag | XQQVHNQ3FW |
|---|---|
| URI | m2://XQQVHNQ3FW |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68Q15, 68Q10, 68W20 |
| Defines | ZPP |
| Uses | Probabilistic Turing machine, Complexity class, RP |
| Changed | 3 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.