Zero-error probabilistic polynomial-time
The class of decision problems decided by a probabilistic polynomial-time algorithm that never outputs a wrong answer and outputs ”?” with probability at most 1/2 on every input; equivalently, by a zero-error algorithm with expected polynomial running time — Gil77. Equivalently,
For , take an RP machine for and an RP machine for its complement (each accepts every instance in its language with probability at least 1/2 and accepts no instance outside it), and run both on input : output “yes” if accepts, “no” if accepts, and ”?” otherwise. Every non-”?” answer is correct and ”?” occurs with probability at most 1/2, so this is a Las Vegas algorithm for — Gil77.
See the complexity zoo entry here.
Known relationships
- .
- If (the derandomization hypothesis), then .
- ZPP is closed under complement: .
Participates in
Builds on Zero-error probabilistic polynomial-time
Produces Zero-error probabilistic polynomial-time