Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ZPP (complexity)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Concept in computer science}} {{no footnotes|date=January 2013}} [[File:Randomised Complexity Classes 2.svg|alt=Diagram of randomised complexity classes|thumb|upright=1.25|ZPP in relation to other probabilistic complexity classes ([[RP (complexity)|RP]], co-RP, [[BPP (complexity)|BPP]], [[BQP]], [[PP (complexity)|PP]]), which generalise [[P (complexity)|P]] within [[PSPACE]]. It is unknown if any of these containments are strict.]] In [[computational complexity theory|complexity theory]], '''ZPP''' (zero-error probabilistic [[polynomial time]]) is the [[complexity class]] of problems for which a [[probabilistic Turing machine]] exists with these properties: * It always returns the correct YES or NO answer. * The running time is polynomial in expectation for every input. In other words, if the algorithm is allowed to flip a truly-random coin while it is running, it will always return the correct answer and, for a problem of size ''n'', there is some polynomial ''p''(''n'') such that the average running time will be less than ''p''(''n''), even though it might occasionally be much longer. Such an algorithm is called a [[Las Vegas algorithm]]. Alternatively, '''ZPP''' can be defined as the class of problems for which a [[probabilistic Turing machine]] exists with these properties: * It always runs in polynomial time. * It returns an answer YES, NO or DO NOT KNOW. * The answer is always either DO NOT KNOW or the correct answer. * It returns DO NOT KNOW with probability at most 1/2 for every input (and the correct answer otherwise). The two definitions are equivalent. The definition of '''ZPP''' is based on probabilistic Turing machines, but, for clarity, note that other complexity classes based on them include '''[[Bounded-error probabilistic polynomial|BPP]]''' and '''[[RP (complexity)|RP]]'''. The class '''[[BQP]]''' is based on another machine with randomness: the [[quantum computer]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)