<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>阅微堂 &#187; 通讯复杂性</title>
	<atom:link href="http://zhiqiang.org/blog/tag/%e9%80%9a%e8%ae%af%e5%a4%8d%e6%9d%82%e6%80%a7/feed" rel="self" type="application/rss+xml" />
	<link>http://zhiqiang.org/blog</link>
	<description>数学、金融、计算机</description>
	<lastBuildDate>Wed, 23 May 2012 08:37:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>通讯复杂性简单介绍</title>
		<link>http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html</link>
		<comments>http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html#comments</comments>
		<pubDate>Wed, 17 Sep 2008 11:18:40 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[计算机科学]]></category>
		<category><![CDATA[理论计算机]]></category>
		<category><![CDATA[通讯复杂性]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/posts/introduction-communication-complexity.html</guid>
		<description><![CDATA[博客 » 计算机科学 » 理论计算机，通讯复杂性 » 英文是communication complexity，不知道该翻译成通信复杂性，还是通讯复杂性呢。这里先用通讯复杂性吧。这是一个理论计算机的子领域，在过去30年衍生了很多东西。它是我的研究的主要内容，这里简略介绍一下。 Communication Protocol 通讯协议 我们说一个通讯问题，是有两台机器Alice和Bob，它们需要计算某个函数 。但是Alice只知道...]]></description>
			<content:encoded><![CDATA[<p id="breadcrumb" class="breadcrumb"><a href="http://zhiqiang.org/blog/">博客</a> » <a href="http://zhiqiang.org/blog/category/science/computer-science">计算机科学</a> » <a href="http://zhiqiang.org/blog/tag/%e7%90%86%e8%ae%ba%e8%ae%a1%e7%ae%97%e6%9c%ba" rel="tag">理论计算机</a>，<a href="http://zhiqiang.org/blog/tag/%e9%80%9a%e8%ae%af%e5%a4%8d%e6%9d%82%e6%80%a7" rel="tag">通讯复杂性</a> » </p><p>英文是communication complexity，不知道该翻译成通信复杂性，还是通讯复杂性呢。这里先用通讯复杂性吧。这是一个理论计算机的子领域，在过去30年衍生了很多东西。它是我的研究的主要内容，这里简略介绍一下。</p>
<h3>Communication Protocol 通讯协议</h3>
<p>我们说一个通讯问题，是有两台机器Alice和Bob，它们需要计算某个函数 <span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_3baf1600ae50930a155f58ae172b51bd.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f(x,y)" /></span><script type='math/tex'>f(x,y)</script>。但是Alice只知道输入<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="x" /></span><script type='math/tex'>x</script>，Bob只知道<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_415290769594460e2e485922904f345d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="y" /></span><script type='math/tex'>y</script>。它们之间离得很远，需要通过光缆互相传递信息，把<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_3baf1600ae50930a155f58ae172b51bd.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f(x,y)" /></span><script type='math/tex'>f(x,y)</script>计算出来。它们之间传递信息的过程称为通讯，一个有效的通讯过程称为一个协议。</p>
<p>举一个例子，比如两个数据中心，它们想知道它们的数据是否已经同步(指数据完全一样)，如果不一样的话就需要重新同步。它们之间该怎么通讯来确定这一点呢？这个问题就是通讯问题 EQ。在这个问题里，Alice和Bob分别拥有一个字符串<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="x" /></span><script type='math/tex'>x</script>和<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_415290769594460e2e485922904f345d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="y" /></span><script type='math/tex'>y</script>，它们想计算<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_b654f9a25fd36bfda248a7f764011935.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="x==y" /></span><script type='math/tex'>x==y</script>。</p>
<p>对于所有通讯问题，Alice可以通过发送它的所有输入<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="x" /></span><script type='math/tex'>x</script>到Bob，然后Bob拥有全部输入，从而计算<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_3baf1600ae50930a155f58ae172b51bd.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f(x,y)" /></span><script type='math/tex'>f(x,y)</script>。注意在通讯问题里面，我们只考虑通讯消耗，而不考虑本地的计算时间和空间消耗。我们能设计更好的通讯协议吗？</p>
<p>对于一个通讯问题，如果要求对于任何输入，输出结果完全精确，这种符合条件的协议称为确定型通讯协议。但在实际应用中，我们可以容忍一个足够小的出错概率。在某些时候这是有很大好处的。比如上面那个EQ通讯问题，在要求结果完全精确的情况下，Alice发送自己的<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="x" /></span><script type='math/tex'>x</script>已经是一个最优方案了。但在实际应用中，我们有一个更简单的方法，那就是发送<a href="http://zhiqiang.org/blog/science/computer-science/preliminary-computer-theory-xiao-yun-wang-from-the-hash-function-to-crack-md5.html">hash函数</a>（比如MD5码），然后双方检验MD5码即可。<font color="#c0c0c0">当然某种意义上这个协议不够严格，更严格的应该是Alice随机选择一个合适长度的质数<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_83878c91171338902e0fe0fb97a8c47a.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="p" /></span><script type='math/tex'>p</script>，然后发送<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_35d25b001f16c9f853d2fa6fc8bf3808.gif' style='vertical-align: middle; border: none; ' class='tex' alt="(p, x\mod p)" /></span><script type='math/tex'>(p, x\mod p)</script>。</font></p>
<h3>Communication Complexity 通讯复杂性</h3>
<p><a href="http://zhiqiang.org/blog/tag/复杂性理论">复杂性</a>的意思就是说一个问题不能以多快的速度解决。比如EQ的任何确定型通讯协议无法比发送所有输入做得更好，这说明EQ的复杂度为<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_7ba55e7c64a9405a0b39a1107e90ca94.gif' style='vertical-align: middle; border: none; ' class='tex' alt="O(n)" /></span><script type='math/tex'>O(n)</script>。类似于计算理论，人们发现证明一个复杂性比设计一个算法和协议更困难。</p>
<h3>量子通讯复杂性</h3>
<p>量子通讯和上面的经典通讯基本上是一样的，除了Alice和Bob是两台量子计算机，可以操纵量子比特，以及它们之间共享量子通道可以发送量子比特。我们希望能够尽可能少的发送量子比特就能解决问题。</p>
<p>就像在计算理论里，人们非常关系量子系统的引入能否大幅度提高计算的速度，人们也关心量子系统对于通讯的帮助。目前，人们发现对于partial函数(对于某些输入对<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_90cbc22edf225adf8a68974f51227f05.gif' style='vertical-align: middle; border: none; ' class='tex' alt="(x,y)" /></span><script type='math/tex'>(x,y)</script>，<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_3baf1600ae50930a155f58ae172b51bd.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f(x,y)" /></span><script type='math/tex'>f(x,y)</script>可以没有定义的<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_8fa14cdd754f91cc6554c9e71929cce7.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f" /></span><script type='math/tex'>f</script>称为partial函数)，量子系统可以指数级的缩减发送的比特数，但对于完全函数(对<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_913b0de2574fcf8ce0c5a025ec4c033b.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\forall (x,y)" /></span><script type='math/tex'>\forall (x,y)</script>，<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_3baf1600ae50930a155f58ae172b51bd.gif' style='vertical-align: middle; border: none; ' class='tex' alt="f(x,y)" /></span><script type='math/tex'>f(x,y)</script>都有定义)，人们猜测量子系统是没有帮助的。</p>
<h3>通讯复杂性理论和信息论</h3>
<p>通讯复杂性理论和信息论是两个不同的领域。通讯复杂性通常研究如何发送尽可能少的比特得到计算结果，而信息论是研究通讯的过程(?)，比如如何纠错，如何利用量子纠缠等。现在的量子信息论发展非常火热，但和量子通讯复杂性是两个完全不同的概念。</p>
<h3>GT 一个更复杂的例子</h3>
<p>现在Alice和Bob分别拥有两个字符串<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_9dd4e461268c8034f5c8564e155c67a6.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="x" /></span><script type='math/tex'>x</script>和<span class='MathJax_Preview'><img src='http://zhiqiang.org/blog/wp-content/plugins/latex/cache/tex_415290769594460e2e485922904f345d.gif' style='vertical-align: middle; border: none; padding-bottom:1px;' class='tex' alt="y" /></span><script type='math/tex'>y</script>，它们该如何确定谁的字符串更大(按字典序)呢？同样这里很低的错误概率是可以忍受的。</p>
<blockquote><p>思路：每次Alice和Bob先检查前一半输入是否相等（调用EQ的通讯协议），如果是，抛弃之；否则后一半可以抛弃；重复这个步骤即可。</p>
</blockquote>
<div><h4>相关文章</h4><ul><li class='currentpost'><a href="http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html">通讯复杂性简单介绍</a></li><li ><a href="http://zhiqiang.org/blog/science/computer-science/preliminary-computer-theory-algorithms-and-calculation-model.html">理论计算机初步：算法和计算模型</a></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2008. | <a href="http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html#comments">8 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/science/computer-science/introduction-communication-complexity.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

