心衰的症状是什么| 做核磁共振挂什么科| 空调管滴水是什么原因| 喝普洱茶有什么好处| 梦到屎是什么意思| 白脸代表什么| 北极熊为什么不怕冷| 男生为什么喜欢女生叫爸爸| 血糖高能吃什么菜| 包皮挂什么科| 八月八日是什么星座| 什么动物倒着走| 胃炎伴糜烂吃什么药效果好| 58岁属什么| 耳鸣去医院挂什么科| 65年属什么| 牙疼吃什么水果好| 落地生根是什么生肖| 大姑姐最怕弟媳什么| 7月24日是什么日子| 楚国什么时候灭亡的| 什么东西不能带上飞机| 为什么正骨后几天越来越疼| 尾盘放量拉升意味着什么| 罗衣是什么意思| 专场是什么意思| 睾酮素低了有什么症状| 半路杀出个程咬金是什么意思| 谩骂是什么意思| 复方乙酰水杨酸片是什么药| 地接是什么意思| 脖子短是什么原因| 为什么说啄木鸟是树的医生| 王允和貂蝉什么关系| 白斑是什么原因引起的| 什么一刻值千金花有清香月有阴| 梦见着火是什么意思| 什么是蝴蝶宝宝| 吃什么可以增大阴茎| 八月有什么节日| 处暑是什么节气| 人造海蜇丝是什么做的| 蛋蛋疼是什么原因| 西米露是什么材料做的| 做梦梦见兔子是什么意思| 三点水翟读什么| 干贝是什么东西做的| 身份证末尾x代表什么| cep是什么意思| 河北有什么山| 杏仁吃了有什么好处| 小腿麻木是什么原因引起的| 外阴皮肤痒是什么原因| ogtt是什么意思| 吃什么治疗阳痿| 青榄配什么煲汤止咳做法| 水果之王是什么| 羽毛球拍什么牌子好| 淋巴结增大是什么原因严重吗| 望穿秋水的意思是什么| 吃什么补免疫力最快| 高血压吃什么助勃药好| 老死不相往来什么意思| 樱花的花语是什么| 什么叫985| 鞘是什么意思| 反射是什么意思| 拔牙有什么危害| 3月23是什么星座| 女性生活疼痛什么原因| 水母吃什么| 什么屎不臭答案| 县检察长是什么级别| 夜尿频多是什么原因| 青海湖里面有什么鱼| 肩周炎看什么科| 四季如春是什么生肖| 喝酒不能吃什么东西| 水为什么是绿色的| 六月初九是什么日子| 有编制是什么意思| 脑炎的后遗症是什么| 感冒吃什么饭菜比较好| 菲薄是什么意思| ige是什么| 妍字属于五行属什么| 忆字五行属什么| 左肺结节是什么意思| 喝什么茶降血压最好最快| 眼睛红血丝用什么眼药水| 宋美龄为什么没有孩子| 母的第三笔是什么| 上海市委书记什么级别| 墨鱼和鱿鱼有什么区别| 孔雀鱼吃什么食物| 铁扇公主是什么生肖| 子宫小有什么影响| 枕大神经痛吃什么药| 老年人吃什么| 211985是什么意思| 膀胱ca是什么意思| 白带是绿色的是什么原因| 什么的杯子| 过江龙是什么意思| 孔子孟子什么关系| 男人为什么喜欢吃奶| 喝什么解渴| 夏天吃西瓜有什么好处| 是什么符号| 补办医保卡需要什么资料| 万箭穿心是什么意思| 加盟什么店最赚钱投资小| cd4是什么意思| 杏和什么不能一起吃| 什么是感统失调| 马首是瞻是什么生肖| 小径是什么意思| 子宫肌瘤术后吃什么好| 血小板计数偏高是什么意思| 喉炎是什么原因引起的| bk病毒是什么| 嗓子有痰是什么原因引起的| 艾叶泡水喝有什么功效| 吾子是什么意思| 红萝卜什么时候种| 白带有血丝是什么原因| 正痛片别名叫什么| 鹿查什么部首| 黄酒是什么| 富强粉是什么面粉| 素股是什么意思| 朱的部首是什么| 输卵管不通有什么症状| 蛇什么时候出来活动| 什么是心衰病| 元气什么意思| 水肿是什么症状| 胃溃疡适合吃什么食物| ieg是什么意思| 膳食纤维是什么| 参加白事回来注意什么| 胎盘位于后壁是什么意思| 到底为什么| 甲状腺是什么病严重吗| 婶婶是什么意思| 八月初六是什么星座| 精液是什么味道| 什么化妆品好用哪个牌子的| 阿尔茨海默病吃什么药| 锦纶是什么面料优缺点| 痱子长什么样子图片| 减肥饿了可以吃什么| 人中发红是什么原因| 棉涤是什么面料| 什么食物含叶酸多| 身主天机是什么意思| 小孩咳嗽喝什么药| 左腰疼是什么原因| 跳蚤为什么只咬一个人| 什么是七七事变| 内能与什么有关| 生理期量少是什么原因| 增加免疫力吃什么好| 长高吃什么| 嗣子是什么意思| 梦见给死人烧纸钱是什么意思| 反话是什么意思| 海纳百川是什么意思| 舌头疼痛吃什么药| 状元郎是什么生肖| 什么的小朋友填词语| 怀男孩和女孩有什么区别| 办理健康证需要带什么| lisa英文名什么意思| 什么动物吃猫| 什么叫低级别上皮内瘤变| 关节痛去医院挂什么科| 既济是什么意思| 为老不尊是什么意思| 直接胆红素高是什么病| 艾滋病什么时候能查出来| 女右上眼皮跳是什么预兆| 47年属什么生肖| 白发多的原因是什么| 宋朝之前是什么朝代| 鹅是什么动物| 沙特是什么教派| 8月8日什么星座| 该是什么意思| 鼻子出血是什么原因引起的| 什么叫格局| 单核细胞高是什么意思| 4月23日什么星座| 蒲公英什么时候采最好| 50年是什么婚| 为什么明星整牙那么快| 用盐洗头发有什么好处| 十字架代表什么意思| 恶心呕吐吃什么药| 顺丰为什么这么快| 全友床垫属于什么档次| 疱疹用什么药可以根治| 为什么牙龈老是出血| 桑葚和枸杞泡水喝有什么好处| 立加羽念什么| 动脉钙化是什么意思| 甘草不能和什么一起吃| 包饺子用什么面粉| 印第安人是什么人种| 银耳不能和什么一起吃| 油碟是什么| 吃杏子有什么好处| 奇葩是什么意思| 为什么胸部会胀痛| 胃热吃什么中成药| 风致是什么意思| 什么是灰指甲| 冷酷是什么意思| 人为什么会哭| fev1是什么意思| 天时地利人和什么意思| 涌泉穴在什么位置| 唐氏综合征是什么| fci是什么意思| 为老不尊是什么意思| 何首乌泡酒有什么作用| 11月7日什么星座| 麸炒是什么意思| 甘油三酯高吃什么药能降下来| 男生第一次什么感觉| 火头鱼是什么鱼| 达芬奇发明了什么| 什么是朋友| 1956属什么生肖| 月经后一周又出血是什么原因| 法大大是什么| 穿刺是什么| 西红柿拌白糖又叫什么| puella是什么牌子衣服| 嫂嫂是什么意思| 飞机打多了会有什么严重的后果吗| bls是什么意思| 腋下出汗有异味是什么原因| 茶叶五行属什么| 二次元是什么| 夜半是什么时辰| 罗马布是什么面料| 乔迁送什么花| 经常流鼻血是什么原因| 红豆生南国什么意思| 脚肿什么原因引起的| 2.4号是什么星座| 前列腺用什么药| 胃胀气是什么原因| 破处是什么意思| 多汗症是什么原因| hpvhr阳性什么意思| 身体上有小红点是什么病| 淋巴细胞百分比低是什么意思| 榴莲皮可以做什么| 为什么一照相脸就歪了| 怀孕梦到蛇预示着什么| 臣服什么意思| 赵雅芝是什么脸型| 百度

格桑卓玛:发挥智库作用助力西藏高质量发展

百度 数据中心未来将开展“售假黑名单”大数据的采集与应用,为中国商品防伪、打假及商品消费、流通数据链等方面提供强有力的大数据服务支持。

In 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.
Diagram of randomised complexity classes
ZPP in relation to other probabilistic complexity classes (RP, co-RP, BPP, BQP, PP), which generalise P within PSPACE. It is unknown if any of these containments are strict.

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 BPP and RP. The class BQP is based on another machine with randomness: the quantum computer.

Intersection definition

edit

The class ZPP is exactly equal to the intersection of the classes RP and co-RP. This is often taken to be the definition of ZPP. To show this, first note that every problem which is in both RP and co-RP has a Las Vegas algorithm as follows:

  • Suppose we have a language L recognized by both the RP algorithm A and the (possibly completely different) co-RP algorithm B.
  • Given an input, run A on the input for one step. If it returns YES, the answer must be YES. Otherwise, run B on the input for one step. If it returns NO, the answer must be NO. If neither occurs, repeat this step.

Note that only one machine can ever give a wrong answer, and the chance of that machine giving the wrong answer during each repetition is at most 50%. This means that the chance of reaching the kth round shrinks exponentially in k, showing that the expected running time is polynomial. This shows that RP intersect co-RP is contained in ZPP.

To show that ZPP is contained in RP intersect co-RP, suppose we have a Las Vegas algorithm C to solve a problem. We can then construct the following RP algorithm:

  • Run C for at least double its expected running time. If it gives an answer, give that answer. If it doesn't give any answer before we stop it, give NO.

By Markov's Inequality, the chance that it will yield an answer before we stop it is at least 1/2. This means the chance we'll give the wrong answer on a YES instance, by stopping and yielding NO, is at most 1/2, fitting the definition of an RP algorithm. The co-RP algorithm is identical, except that it gives YES if C "times out".

Witness and proof

edit

The classes NP, RP and ZPP can be thought of in terms of proof of membership in a set.

Definition: A verifier V for a set X is a Turing machine such that:

  • if x is in X then there exists a string w such that V(x,w) accepts;
  • if x is not in X, then for all strings w, V(x,w) rejects.

The string w can be thought of as the proof of membership. In the case of short proofs (of length bounded by a polynomial in the size of the input) which can be efficiently verified (V is a polynomial-time deterministic Turing machine), the string w is called a witness.

Notes:

  • The definition is very asymmetric. The proof of x being in X is a single string. The proof of x not being in X is the collection of all strings, none of which is a proof of membership.
  • For all x in X there must be a witness to its membership in X.
  • The witness need not be a traditionally construed proof. If V is a probabilistic Turing machine which could possibly accept x if x is in X, then the proof is the string of coin flips which leads the machine to accept x (provided all members in X have some witness and the machine never accepts a non-member).
  • The co-concept is a proof of non-membership, or membership in the complement set.

The classes NP, RP and ZPP are sets which have witnesses for membership. The class NP requires only that witnesses exist. They may be very rare. Of the 2f(|x|) possible strings, with f a polynomial, only one need cause the verifier to accept (if x is in X. If x is not in X, no string will cause the verifier to accept).

For the classes RP and ZPP any string chosen at random will likely be a witness.

The corresponding co-classes have witness for non-membership. In particular, co-RP is the class of sets for which, if x is not in X, any randomly chosen string is likely to be a witness for non-membership. ZPP is the class of sets for which any random string is likely to be a witness of x in X, or x not in X, which ever the case may be.

Connecting this definition with other definitions of RP, co-RP and ZPP is easy. The probabilistic polynomial-time Turing Machine V*w(x) corresponds to the deterministic polynomial-time Turing Machine V(x, w) by replacing the random tape of V* with a second input tape for V on which is written the sequence of coin flips. By selecting the witness as a random string, the verifier is a probabilistic polynomial-time Turing Machine whose probability of accepting x when x is in X is large (greater than 1/2, say), but zero if x ? X (for RP); of rejecting x when x is not in X is large but zero if xX (for co-RP); and of correctly accepting or rejecting x as a member of X is large, but zero of incorrectly accepting or rejecting x (for ZPP).

By repeated random selection of a possible witness, the large probability that a random string is a witness gives an expected polynomial time algorithm for accepting or rejecting an input. Conversely, if the Turing Machine is expected polynomial-time (for any given x), then a considerable fraction of the runs must be polynomial-time bounded, and the coin sequence used in such a run will be a witness.

ZPP should be contrasted with BPP. The class BPP does not require witnesses, although witnesses are sufficient (hence BPP contains RP, co-RP and ZPP). A BPP language has V(x,w) accept on a (clear) majority of strings w if x is in X, and conversely reject on a (clear) majority of strings w if x is not in X. No single string w need be definitive, and therefore they cannot in general be considered proofs or witnesses.

Complexity-theoretic properties

edit

ZPP is closed under complement, i.e., ZPP = co-ZPP (this follows from ZPP = RP ∩ co-RP).

ZPP is low for itself, meaning that a ZPP machine with the power to solve ZPP problems instantly (a ZPP oracle machine) is not any more powerful than the machine without this extra power. In symbols, ZPPZPP = ZPP.

ZPPNPBPP = ZPPNP.

NPBPP is contained in ZPPNP.

Connection to other classes

edit

Since ZPP = RPcoRP, ZPP is obviously contained in both RP and coRP.

The class P is contained in ZPP, and some computer scientists have conjectured that P = ZPP, i.e., every Las Vegas algorithm has a deterministic polynomial-time equivalent.

There exists an oracle relative to which ZPP = EXPTIME. A proof for ZPP = EXPTIME would imply that PZPP, as PEXPTIME (see time hierarchy theorem).

See also

edit
edit
屁臭是什么原因造成的 百岁山和景田什么关系 什么时候开始降温 失眠多梦是什么原因 北字五行属什么
什么叫高脂血症 晚上睡觉睡不着是什么原因 土豆不能和什么食物一起吃 肺结节吃什么药好 男人精子少是什么原因
经常放屁是什么原因 miu是什么意思 过江龙是什么意思 什么是平行世界 皮质醇是什么意思
服中药期间忌吃什么 抗hp治疗是什么意思 tct检查什么项目 高笋和茭白有什么区别 左胸口疼是什么原因
发烧喝什么汤hcv8jop6ns3r.cn 积家手表什么档次hcv9jop2ns0r.cn 释放是什么意思hcv9jop2ns6r.cn 应无所住什么意思hcv8jop0ns5r.cn 狗狗喝什么水hcv9jop1ns8r.cn
金钱草什么样hcv8jop1ns3r.cn 做宫颈筛查能查出什么hcv8jop1ns9r.cn 铊是什么东西zhongyiyatai.com 肝脏挂什么科hcv9jop4ns2r.cn 为什么妇科病要肛门塞药hcv8jop1ns4r.cn
吃完饭恶心想吐是什么原因hcv9jop1ns8r.cn 生肖猴和什么生肖相冲hcv8jop6ns1r.cn 聊天什么程度算暧昧hcv8jop3ns6r.cn 眼睛屈光不正什么意思hcv8jop4ns4r.cn 什么样属于轻度地包天hcv8jop7ns0r.cn
犹太人有什么特征hcv9jop1ns5r.cn 息肉是什么病hcv7jop9ns6r.cn 双子男喜欢什么样的女生hcv8jop3ns6r.cn 中午吃什么饭家常菜hcv7jop6ns6r.cn hpv病毒通过什么途径传播hcv9jop6ns3r.cn
百度