<?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>Nathaniel Johnston &#187; Math</title>
	<atom:link href="http://www.nathanieljohnston.com/index.php/tag/math/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nathanieljohnston.com</link>
	<description>A blog of recreational math and coding</description>
	<lastBuildDate>Tue, 18 May 2010 12:49:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nerd Culture Calculus Worksheets</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/12/nerd-culture-calculus-worksheets/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/12/nerd-culture-calculus-worksheets/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 05:00:52 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Teaching]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=951</guid>
		<description><![CDATA[I presented the labs for the first-year calculus course at my school this past semester, and as a bit of an experiment I decided to try giving the students some less &#8220;ordinary&#8221; problems to work on at the end of the labs (partly inspired by this problem). I only ended up doing it for the first four [...]]]></description>
			<content:encoded><![CDATA[<p>I presented the labs for the first-year calculus course at my school this past semester, and as a bit of an experiment I decided to try giving the students some less &#8220;ordinary&#8221; problems to work on at the end of the labs (partly inspired by <a href="http://i.imgur.com/JK0o7.jpg">this problem</a>). I only ended up doing it for the first four weeks of the semester due to a combination of it taking much too long to create them and a general lack of interest by most of the students, but they were fun to make anyway so I might as well share them in case anyone else would like to present these or similar problems in their own labs or course. PDF as well as TeX files are provided, so you can edit out my name and all that jazz.</p>
<h3>Lab #1: Intervals with Braid</h3>
<p>The first week&#8217;s problem was based off the video game <a href="http://en.wikipedia.org/wiki/Braid_(video_game)">Braid</a>. This problem ended up not working too well due to about 10 people in the class of ~600 having played of the game, and the rest being very confused by the idea of the cloud platform moving along with the main character (it makes sense if you&#8217;ve played the game, honest!).</p>
<p><strong>Download:</strong> <a href="http://www.nathanieljohnston.com/math1200/lab1.pdf">Question sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/math1200/lab1_solution.pdf">Solution sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/Lab-1.zip">TeX files</a> [zip]</p>
<p style="text-align: center;"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/braid.png"><img class="aligncenter size-full wp-image-952" title="Intervals with Braid" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/braid.png" alt="Intervals with Braid" width="560" height="480" /></a></p>
<h3>Lab #2: The Bat Man</h3>
<p style="text-align: left;">The next week I decided to go a bit more mainstream and have the problem based on Batman chasing the Joker. The question doesn&#8217;t make a lick of sense if you think about it physically (the cars have negative acceleration for one thing), but this being a math class I decided not to care. I feel like this was the most successful of the weekly problems because the Batman/Joker stuff was completely incidental and the question was still easy enough for the students to understand and tackle.</p>
<p style="text-align: left;"><strong>Download:</strong> <a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/lab1.pdf"></a><a href="http://www.nathanieljohnston.com/math1200/lab2.pdf">Question sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/math1200/lab2_solution.pdf">Solution sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/Lab-2.zip">TeX files</a> [zip]</p>
<p style="text-align: center;"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/batman.png"><img class="aligncenter size-full wp-image-958" title="The Bat Man" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/batman.png" alt="The Bat Man" width="560" height="420" /></a></p>
<h3>Lab #3: Calvin Reaches his Limit</h3>
<p style="text-align: left; ">By this point I had learned that even if I am going to sugar-coat the question under a picture of <a href="http://en.wikipedia.org/wiki/Calvin_and_Hobbes">Calvin and Hobbes</a>, it&#8217;s a good idea to include a sentence at the end summarizing what the heck it is I&#8217;m asking them to compute or prove. I think this is a fun question no matter how advanced of a mathematician you are, and it was probably a bit mean of me to present it to first-year students.</p>
<p><strong>Download:</strong> <a href="http://www.nathanieljohnston.com/math1200/lab3.pdf">Question sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/math1200/lab3_solution.pdf">Solution sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/Lab-3.zip">TeX files</a> [zip]</p>
<h3><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/calvin.png"><img class="aligncenter size-full wp-image-963" title="Calvin Reaches his Limit" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/calvin.png" alt="Calvin Reaches his Limit" width="560" height="272" /></a>Lab #4: Continuity with Mario</h3>
<p style="text-align: left;">The last of these problems that I presented was a (very) simple continuity question based on <a href="http://en.wikipedia.org/wiki/Super_Mario_World">Super Mario World</a>. I originally wanted to use <a href="http://en.wikipedia.org/wiki/Super_metroid">Super Metroid</a> for this question since it would allow for more varied movements from the hero, but I decided that (as I learned in Lab #1) it would be best to stick with a more recognizable game. It was a pain to come up with a semi-nice-looking branch function that resembled Mario&#8217;s movement in a believable way and led to simple (i.e., non-fractional) limits at the points of interest.</p>
<p><strong>Download:</strong> <a href="http://www.nathanieljohnston.com/math1200/lab4.pdf">Question sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/math1200/lab4_solution.pdf">Solution sheet</a> [pdf], <a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/Lab-4.zip">TeX files</a> [zip]</p>
<p style="text-align: center;"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/mario.png"><img class="aligncenter size-full wp-image-964" title="Continuity with Mario" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/12/mario.png" alt="Continuity with Mario" width="560" height="520" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/12/nerd-culture-calculus-worksheets/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Other Superoperator Isomorphism</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/11/the-other-linear-map-isomorphism/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/11/the-other-linear-map-isomorphism/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:00:21 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Matrix Analysis]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=907</guid>
		<description><![CDATA[A few months ago, I spent two posts describing the Choi-Jamiolkowski isomorphism between linear operators from Mn to Mm (often referred to as &#8220;superoperators&#8220;) and linear operators living in the space Mn ⊗ Mm. However, there is another isomorphism between superoperators and regular operators &#8212; one that I&#8217;m not sure of any name for but [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I spent <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/">two</a> <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-ii/">posts</a> describing the Choi-Jamiolkowski isomorphism between linear operators from M<sub>n</sub> to M<sub>m</sub> (often referred to as &#8220;<a href="http://en.wikipedia.org/wiki/Superoperator">superoperators</a>&#8220;) and linear operators living in the space M<sub>n</sub> ⊗ M<sub>m</sub>. However, there is another isomorphism between superoperators and regular operators &#8212; one that I&#8217;m not sure of any name for but which has just as many interesting properties.</p>
<p>Recall from Section 1 of <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/">this post</a> that any superoperator Φ can be written as</p>
<p><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/1.gif"><img class="aligncenter size-full wp-image-791" title="\Phi(X)=\sum_iA_iXB_i." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/1.gif" alt="\Phi(X)=\sum_iA_iXB_i." width="156" height="41" /></a>for some operators {A<sub>i</sub>} and {B<sub>i</sub>}. The isomorphism that I am going to focus on in this post is the one given by associating Φ with the operator</p>
<p><img class="aligncenter size-full wp-image-910" title="M_\Phi:=\sum_iA_i\otimes B_i^{T}." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/11.gif" alt="M_\Phi:=\sum_iA_i\otimes B_i^{T}." width="158" height="41" /></p>
<p>The main reason that M<sub>Φ</sub> can be so useful is that it retains the operator structure of Φ. In particular, if you define vec(X) to be the <a href="http://en.wikipedia.org/wiki/Vectorization_(mathematics)">vectorization</a> of the operator X, then</p>
<p><img class="aligncenter size-full wp-image-911" title="{\rm vec}(\Phi(X))=M_\Phi{\rm vec}(X)." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/12.gif" alt="{\rm vec}(\Phi(X))=M_\Phi{\rm vec}(X)." width="195" height="20" /></p>
<p>In other words, if you treat X as a vector, then M<sub>Φ</sub> is the operator describing the action of Φ on X. From this it becomes simple to compute some basic quantities describing Φ. For example, the induced <a href="http://en.wikipedia.org/wiki/Frobenius_norm#Frobenius_norm">Frobenius norm</a>,</p>
<p><img class="aligncenter size-full wp-image-913" title="\big\|\Phi\big\|_F:=\sup_{\|X\|_F=1}\Big\{\big\|\Phi(X)\big\|_F\Big\}," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/13.gif" alt="\big\|\Phi\big\|_F:=\sup_{\|X\|_F=1}\Big\{\big\|\Phi(X)\big\|_F\Big\}," width="229" height="42" /></p>
<p>is equal to the standard <a href="http://en.wikipedia.org/wiki/Operator_norm">operator norm</a> of M<sub>Φ</sub>. If n = m then we can define the eigenvalues {λ} and the eigenmatrices {V} of Φ in the obvious way via</p>
<p><img class="aligncenter size-full wp-image-914" title="\Phi(V)=\lambda V." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/14.gif" alt="\Phi(V)=\lambda V." width="93" height="20" /></p>
<p>Then the eigenvalues of Φ are exactly the eigenvalues of M<sub>Φ</sub>, and the corresponding eigenvectors of M<sub>Φ</sub> are the vectorizations of the eigenmatrices of Φ. It is similarly easy to check whether Φ is invertible (by checking whether or not det(M<sub>Φ</sub>) = 0), find the inverse if it exists, or find the nullspace (and a pseudoinverse) if it doesn&#8217;t.</p>
<p>Finally, here&#8217;s a question for the interested reader to think about: why is the transpose required on the B<sub>i</sub> operators for this isomorphism to make sense? That is, why can we not define an isomorphism between Φ and the operator</p>
<p><img class="aligncenter size-full wp-image-917" title="\sum_iA_i\otimes B_i?" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/15.gif" alt="\sum_iA_i\otimes B_i?" width="98" height="41" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/11/the-other-linear-map-isomorphism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Approximating the Distribution of Schmidt Vector Norms</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/11/approximating-the-distribution-of-schmidt-vector-norms/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/11/approximating-the-distribution-of-schmidt-vector-norms/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 12:00:44 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=851</guid>
		<description><![CDATA[Recently, a family of vector norms [1,2] have been introduced in quantum information theory that are useful for helping classify entanglement of quantum states. In particular, the Schmidt vector k-norm of a vector v ∈ Cn ⊗ Cn, for an integer 1 ≤ k ≤ n, is defined by

In the above definition, SR(w) refers to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, a family of vector norms [1,2] have been introduced in quantum information theory that are useful for helping classify entanglement of quantum states. In particular, the <em>Schmidt vector k-norm</em> of a vector v ∈ <strong>C</strong><sup>n</sup> ⊗ <strong>C</strong><sup>n</sup>, for an integer 1 ≤ k ≤ n, is defined by</p>
<p><img class="aligncenter size-full wp-image-852" title="\|v\|_{s(k)}:=\sup_w\Big\{\big|\langle v,w\rangle\big|:\|w\|=1,SR(w)\leq k\Big\}." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/1.gif" alt="\|v\|_{s(k)}:=\sup_w\Big\{\big|\langle v,w\rangle\big|:\|w\|=1,SR(w)\leq k\Big\}." width="371" height="38" /></p>
<p>In the above definition, SR(w) refers to the <a href="http://en.wikipedia.org/wiki/Schmidt_decomposition">Schmidt rank</a> of the vector w and so these norms are in some ways like a measure of entanglement for pure state vectors. One of the results of [2] shows how to compute these norms efficiently, so with that in mind we can perform all sorts of fun numerical analysis on them. Analytic results are provided in the paper, so I&#8217;ll provide more hand-wavey stuff and pictures here. In particular, let&#8217;s look at what the distributions of the Schmidt vector norms look like.</p>
<div id="attachment_857" class="wp-caption aligncenter" style="width: 597px"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/3norm.png"><img class="size-full wp-image-857    " title="Figure 1: The distribution of the Schmidt 1 and 2 vector norms in (3 ⊗ 3)-dimensional space" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/3norm.png" alt="Figure 1: The Schmidt 1 and 2 vector norms in 3 ⊗ 3 dimensional space" width="587" height="322" /></a><p class="wp-caption-text">Figure 1: The distribution of the Schmidt 1 and 2 vector norms in (3 ⊗ 3)-dimensional space</p></div>
<p>Figure 1 shows the distributions of the Schmidt 1 and 2 norms of unit vectors distributed according to the <a href="http://en.wikipedia.org/wiki/Haar_measure">Haar measure</a> in <strong>C</strong><sup>3</sup> ⊗ <strong>C</strong><sup>3</sup>, based on 5×10<sup>5</sup> vectors generated randomly via MATLAB. Note that the Schmidt 3-norm just equals the standard Euclidean norm so it always equals 1 and is thus not shown. Figures 2 and 3 show similar distributions in <strong>C</strong><sup>4</sup> ⊗ <strong>C</strong><sup>4</sup> and <strong>C</strong><sup>5</sup> ⊗ <strong>C</strong><sup>5</sup>.</p>
<div id="attachment_858" class="wp-caption aligncenter" style="width: 548px"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/4norm.png"><img class="size-full wp-image-858     " title="Figure 2: The distribution of the Schmidt 1, 2, and 3 vector norms in (4 ⊗ 4)-dimensional space" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/4norm.png" alt="Figure 2: The distribution of the Schmidt 1, 2, and 3 vector norms in (4 ⊗ 4)-dimensional space" width="538" height="313" /></a><p class="wp-caption-text">Figure 2: The distribution of the Schmidt 1, 2, and 3 vector norms in (4 ⊗ 4)-dimensional space</p></div>
<div id="attachment_854" class="wp-caption aligncenter" style="width: 552px"><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/5norm.png"><img class="size-full wp-image-854   " title="Figure 3: The distribution of the Schmidt 1, 2, 3, and 4 vector norms in (5 ⊗ 5)-dimensional space" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/11/5norm.png" alt="Schmidt vector 1, 2, 3, and 4 norms for n = 5" width="542" height="309" /></a><p class="wp-caption-text">Figure 3: The distribution of the Schmidt 1, 2, 3, and 4 vector norms in (5 ⊗ 5)-dimensional space</p></div>
<p>The following table shows various basic statistics about the above distributions. I suppose the natural next step is to ask whether or not we can analytically determine the distribution of the Schmidt vector norms. Since these norms are essentially just the singular values of an operator that is associated with the vector, it seems like this might even already be a (partially) solved problem, since many results are known about the distribution of the singular values of random matrices. The difficulty comes in trying to interpret the Haar measure (or any other natural measure on pure states, such as the Hilbert-Schmidt measure) on the associated operators.</p>
<table border="1" cellspacing="0" cellpadding="6" style="margin-left:auto;margin-right:auto">
<tbody>
<tr style="text-align: center;">
<th>Space</th>
<th>k</th>
<th>Mean</th>
<th>Median</th>
<th>Std. Dev.</th>
</tr>
<tr style="text-align: center;">
<th rowspan="2"><strong>C</strong><sup>3</sup> ⊗ <strong>C</strong><sup>3</sup></th>
<th>1</th>
<td>0.8494</td>
<td>0.8516</td>
<td>0.0554</td>
</tr>
<tr style="text-align: center;">
<th>2</th>
<td>0.9811</td>
<td>0.9860</td>
<td>0.0171</td>
</tr>
<tr style="text-align: center;">
<th rowspan="3"><strong>C</strong><sup>4</sup> ⊗ <strong>C</strong><sup>4</sup></th>
<th>1</th>
<td>0.7799</td>
<td>0.7792</td>
<td>0.0501</td>
</tr>
<tr style="text-align: center;">
<th>2</th>
<td>0.9411</td>
<td>0.9435</td>
<td>0.0247</td>
</tr>
<tr style="text-align: center;">
<th>3</th>
<td>0.9921</td>
<td>0.9943</td>
<td>0.0074</td>
</tr>
<tr style="text-align: center;">
<th rowspan="4"><strong>C</strong><sup>5</sup> ⊗ <strong>C</strong><sup>5</sup></th>
<th>1</th>
<td>0.7240</td>
<td>0.7225</td>
<td>0.0444</td>
</tr>
<tr style="text-align: center;">
<th>2</th>
<td>0.8976</td>
<td>0.8987</td>
<td>0.0268</td>
</tr>
<tr style="text-align: center;">
<th>3</th>
<td>0.9707</td>
<td>0.9722</td>
<td>0.0129</td>
</tr>
<tr style="text-align: center;">
<th>4</th>
<td>0.9960</td>
<td>0.9971</td>
<td>0.0039</td>
</tr>
</tbody>
</table>
<p><strong>References:</strong></p>
<ol>
<li>D. Chruscinski, A. Kossakowski, G. Sarbicki, <em>Spectral conditions for entanglement witnesses vs. bound entanglement</em>, Phys. Rev A <strong>80</strong>, 042314 (2009). <a href="http://arxiv.org/abs/0908.1846">arXiv:0908.1846v2</a> [quant-ph]</li>
<li>N. Johnston and D.W. Kribs, <em><a href="http://www.nathanieljohnston.com/index.php/publications/schmidt-norms-for-quantum-states/">Schmidt norms for quantum states</a></em>. Preprint (2009). <a href="http://arxiv.org/abs/0909.3907">arXiv:0909.3907</a> [quant-ph]</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/11/approximating-the-distribution-of-schmidt-vector-norms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spaceship Speed Limits in &#8220;B3&#8243; Life-Like Cellular Automata</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/10/spaceship-speed-limits-in-life-like-cellular-automata/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/10/spaceship-speed-limits-in-life-like-cellular-automata/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 12:00:07 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cellular automata]]></category>
		<category><![CDATA[Conway's Game of Life]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=830</guid>
		<description><![CDATA[Those of you familiar with Conway&#8217;s Game of Life probably know of its two most basic spaceships: the glider and the lightweight spaceship (shown below). The glider travels diagonally by one cell every four generations (and thus its speed is said to be &#8220;c/4&#8243;) and the lightweight spaceship travels orthogonally by two cells every four [...]]]></description>
			<content:encoded><![CDATA[<p>Those of you familiar with <a href="http://www.conwaylife.com/wiki/index.php?title=Conway's_Game_of_Life">Conway&#8217;s Game of Life</a> probably know of its two most basic spaceships: the <a href="http://www.conwaylife.com/wiki/index.php?title=Glider">glider</a> and the <a href="http://www.conwaylife.com/wiki/index.php?title=Lightweight_spaceship">lightweight spaceship</a> (shown below). The glider travels diagonally by one cell every four generations (and thus its speed is said to be &#8220;c/4&#8243;) and the lightweight spaceship travels orthogonally by two cells every four generations (and so its speed is denoted by &#8220;2c/4&#8243; or &#8220;c/2&#8243;).</p>
<table style="margin-left:auto;margin-right:auto;border:0px" border="0" cellspacing="0" cellpadding="6">
<tbody style="border:0px">
<tr>
<td style="border:0px">
<div id="attachment_831" class="wp-caption aligncenter" style="width: 124px"><a href="http://www.conwaylife.com/wiki/index.php?title=Glider"><img class="size-full wp-image-831" title="The glider" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/16.gif" alt="The glider" width="114" height="114" /></a><p class="wp-caption-text">The glider</p></div></td>
<td style="border:0px">
<p><div id="attachment_832" class="wp-caption aligncenter" style="width: 140px"><a href="http://www.conwaylife.com/wiki/index.php?title=Lightweight_spaceship"><img class="size-full wp-image-832" title="Lightweight spaceship" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/17.gif" alt="Lightweight spaceship" width="130" height="114" /></a><p class="wp-caption-text">Lightweight spaceship</p></div></td>
</tr>
</tbody>
</table>
<p>A natural question to ask is whether or not there are any spaceships that travel faster than c/4 diagonally or c/2 orthogonally. John Conway proved in 1970 (very shortly after inventing the Game of Life) that the answer is no. I present this proof here, since it&#8217;s a bit difficult to find online (though Dave Greene was kind enough to post <a href="http://www.conwaylife.com/forums/viewtopic.php?f=7&amp;t=79&amp;p=248">a copy of it</a> on the ConwayLife.com forums).</p>
<p style="padding-left: 30px;"><strong>Theorem 1.</strong> The maximum speed that a spaceship can travel in Conway&#8217;s Game of Life is c/4 diagonally and c/2 orthogonally.</p>
<p style="padding-left: 30px;"><em>Proof.</em> We begin by proving the c/4 speed limit for diagonal spaceships. Consider the grid given in Figure 1 (below). If the spaceship is on and to the left of the diagonal line of cells defined by A, B, C, D, and E in generation 0, then suppose that cell X can be alive in generation 2.</p>
<p style="padding-left: 30px;">
<p><div id="attachment_837" class="wp-caption aligncenter" style="width: 172px"><img class="size-full wp-image-837" title="Figure 1: The spaceship is to the left of A,B,C,D, and E" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/Image2.png" alt="Figure 1: The spaceship is to the left of A,B,C,D, and E" width="162" height="162" /><p class="wp-caption-text">Figure 1: The spaceship is to the left of A, B, C, D, and E</p></div>
<p style="padding-left: 30px;">Well, if cell X is alive in generation 2, then cells C, U, and V must be alive in generation 1. This means that U and V must have had 3 alive neighbours in generation 0, so each of B, C, D, J, and K must be alive in generation 0. This means that C must have at least four live neighbours in generation 0 though, so there is no way for it to survive to generation 1, which gives a contradiction.</p>
<p style="padding-left: 30px;">It follows that X can not be alive in generation 2. In other words, if the spaceship is behind the diagonal line A, B, C, D, E in generation 0, then it must be behind the diagonal line defined by U and V in generation 2. It follows that can not travel faster than c/4 diagonally.</p>
<p style="padding-left: 30px;">To see the corresponding result for orthogonal spaceships, just use two diagonal lines as in Figure 2. If a spaceship is on and below the diagonal lines defined by the solid black cells in generation 0, then we already saw that it must be on and below the diagonal lines defined by the striped cells in generation 2. It follows that it can not travel faster than c/2 orthogonally.</p>
<p style="padding-left: 30px;">
<div id="attachment_839" class="wp-caption aligncenter" style="width: 236px"><img class="size-full wp-image-839 " title="Figure 2: The spaceship is on and below the solid black cells in generation 0" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/Image21.png" alt="Figure 2" width="226" height="162" /><p class="wp-caption-text">Figure 2: The spaceship is on and below the solid black cells in generation 0</p></div>
<p>Notice that this result doesn&#8217;t only apply to spaceships, but also to other configurations that are (initially) finite and travel across the grid, such as <a href="http://www.conwaylife.com/wiki/index.php?title=Puffer">puffers</a> and <a href="http://www.conwaylife.com/wiki/index.php?title=Wickstretcher">wickstretchers</a>. Also, this result applies to many Life-like cellular automata &#8212; not just Conway&#8217;s Game of Life.</p>
<p>In particular, these speed limits apply to any of the 2<sup>12</sup> = 4096 Life-like cellular automata in the range B3/S &#8211; B345678/S0123678. That is, these speed limits apply to any rule on the 2D square lattice such that birth occurs for 3 neighbours but not 0, 1, or 2 neighbours, and survival does not occur for 4 or 5 neighbours. But are the spaceship speed limits <em>attained</em> in each of these rules? The regular c/4 <a href="http://fano.ics.uci.edu/ca/rules/b3s23/g2.html">glider</a> only works in the 2<sup>8</sup> = 256 rules from B3/S23 &#8211; B3678/S0235678. In the remaining rules, not much is known; some of them have c/3 orthogonal spaceships, some have c/5 orthogonal spaceships, and some have no spaceships at all (such as any of the rules containing S0123, which can not contain spaceships because the trailing edge of the spaceship could never die). Of particular interest are the <a href="http://fano.ics.uci.edu/ca/rules/b3s13/g2.html">sidewinder</a> and <a href="http://fano.ics.uci.edu/ca/rules/b3s13/g4.html">this spaceship</a>, which play the c/4 diagonal and c/2 orthogonal roles of the glider and lightweight spaceship, respectively, in B3/S13 (as well as several other rules).</p>
<p>So what about the other B3 (but not B0, B1, or B2) rules? If cells survive when they have 4 or 5 cells, then it&#8217;s conceivable that spaceships might be able to travel faster than c/4 diagonally or c/2 orthogonally because Theorem 1 does not apply to them. It turns out that they indeed can travel faster diagonally, but somewhat surprisingly they <em>can not</em> travel faster orthogonally.</p>
<p style="padding-left: 30px;"><strong>Theorem 2.</strong> In any Life-like cellular automaton in which birth occurs when a cell has 3 live neighbours but not 0, 1, or 2 live neighbours, the maximum speed that a spaceship can travel is c/3 diagonally and c/2 orthogonally.</p>
<p style="padding-left: 30px;"><em>Proof.</em> The trick here is to consider lines of slope -1/2 as in Figure 3 below. It is possible (though a bit more complicated) to prove the c/3 diagonal speed limit using a diagonal line as in Figure 1 for Theorem 1, but the orthogonal speed limit that results is 2c/3. What is presented here is the only method I know of proving both the diagonal speed limit of c/3 <em>and</em> the orthogonal speed limit of c/2.</p>
<p style="padding-left: 30px;">
<div id="attachment_842" class="wp-caption aligncenter" style="width: 204px"><img class="size-full wp-image-842" title="Figure 3: The spaceship is below A,B,C,D,E, and F" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/1.png" alt="Figure 3: The spaceship is below A,B,C,D,E, and F" width="194" height="162" /><p class="wp-caption-text">Figure 3: The spaceship is below A, B, C, D, E, and F in generation 0</p></div>
<p style="padding-left: 30px;">Suppose that a spaceship is on and below the line defined by the cells A, B, C, D, E, and F in Figure 3 in generation 0. It is clear that Y can not be alive in generation 2, since its only neighbour that could possibly be alive in generation 1 is K. Similarly, X can not be alive in generation 2 because its only neighbours that can be alive in generation 1 are B and K. It follows that in generation 2, the spaceship can not be more than 1 cell above the line A, B, C, D, E, F.</p>
<p style="padding-left: 30px;">More mathematically, this tells us that the maximum speed of a spaceship that travels x cells horizontally for every y cells vertically can not travel faster than max{x,y}c/(x+2y). Taking x = y = 1 (diagonal spaceships) gives a speed limit of c/3. Taking x = 0, y = 1 (orthogonal spaceships) gives a speed limit of c/2.</p>
<p>Finally, it should be noted that even though these spaceship speed upper bounds apply to a wide variety of different rules, many rules don&#8217;t even <em>have</em> spaceships (even relatively simple rules containing B3 in their rulestring). For example, no spaceships are currently known in the rule &#8220;<a href="http://www.conwaylife.com/wiki/index.php?title=Maze">maze</a>&#8221; (B3/S12345), and it seems quite believable that there are no spaceships to be found in that rule. I would love to see a proof that maze contains no spaceships, but it seems that there are too many cases to check by hand. I may end up trying a computer proof sometime in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/10/spaceship-speed-limits-in-life-like-cellular-automata/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Equivalences of the Choi-Jamiolkowski Isomorphism (Part II)</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-ii/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-ii/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:00:10 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Matrix Analysis]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=799</guid>
		<description><![CDATA[This is a continuation of this post.
Please read that post to learn what the Choi-Jamiolkowski isomorphism is.
In part 1, we learned about hermicity-preserving linear maps, positive maps, k-positive maps, and completely positive maps. Now let&#8217;s see what other types of linear maps have interesting equivalences through the Choi-Jamiolkowski isomorphism. Recall that the notation CΦ is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><span style="color: #800000;">This is a continuation of </span></strong><strong><a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/">this post</a><span style="color: #800000;">.</span></strong><br />
<span style="color: #800000;">Please read that post to learn what the Choi-Jamiolkowski isomorphism is.</span></p>
<p>In <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/">part 1</a>, we learned about hermicity-preserving linear maps, positive maps, k-positive maps, and completely positive maps. Now let&#8217;s see what other types of linear maps have interesting equivalences through the Choi-Jamiolkowski isomorphism. Recall that the notation C<sub>Φ</sub> is used to represent the Choi matrix of the linear map Φ.</p>
<h3>6. Entanglement Breaking Maps / Separable Quantum States</h3>
<p>An <em>entanglement breaking map</em> is defined as a completely positive map Φ with the property that (id<sub>n</sub> ⊗ Φ)(ρ) is a separable quantum state whenever ρ is a quantum state (i.e., a density operator). A separable quantum state σ is one that can be written in the form</p>
<p><img class="aligncenter size-full wp-image-813" title="\sigma=\sum_ip_i\sigma_i\otimes\tau_i," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/separable.gif" alt="\sigma=\sum_ip_i\sigma_i\otimes\tau_i," width="135" height="41" /></p>
<p>where {p<sub>i</sub>} forms a probability distribution (i.e., p<sub>i</sub> ≥ 0 for all i and the p<sub>i</sub>&#8217;s sum to 1) and each σ<sub>i</sub> and τ<sub>i</sub> is a density operator. It turns out that the Choi-Jamiolkowski equivalence for entanglement-breaking maps is very natural &#8212; Φ is entanglement breaking if and only if C<sub>Φ</sub> is separable. Because it is known that determining whether or not a given state is separable is NP-HARD [1], it follows that determining whether or not a given linear map is entanglement breaking is also NP-HARD. Nonetheless, there are several nice characterizations of entanglement breaking maps. For example, Φ is entanglement breaking if and only if it can be written in the form</p>
<p><img class="aligncenter size-full wp-image-814" title="\Phi(X)=\sum_iA_iXA_i^*," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/12.gif" alt="\Phi(X)=\sum_iA_iXA_i^*," width="158" height="41" /></p>
<p>where each operator A<sub>i</sub> has rank 1 (recall from Section 4 of the <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/">previous post</a> that every completely positive map can be written in this form for <em>some</em> operators A<sub>i</sub> &#8212; the rank 1 condition is what makes the map entanglement breaking). For more properties of entanglement breaking maps, the interested reader is encouraged to read [2].</p>
<h3><strong>7. k-Partially Entanglement Breaking Maps / Quantum States with Schmidt Number at Most k</strong></h3>
<p>The natural generalization of entanglement breaking maps are <em>k-partially entanglement breaking maps</em>, which are completely positive maps Φ with the property that (id<sub>n</sub> ⊗ Φ)(ρ) always has <a href="http://en.wikipedia.org/wiki/Schmidt_decomposition">Schmidt number</a> [3] at most k for any density operator ρ. Recall that an operator has Schmidt number 1 if and only if it is separable, so the k = 1 case recovers exactly the entanglement breaking maps of Section 6. The set of operators associated with the k-partially entanglement breaking maps via the Choi-Jamiolkowski isomorphism are exactly what we would expect: the operators with Schmidt number no larger than k. In fact, pretty much all of the properties of entanglement breaking maps generalize in a completely natural way to this situation. For example, a map is k-partially entanglement breaking if and only if it can be written in the form</p>
<p><img class="aligncenter size-full wp-image-814" title="\Phi(X)=\sum_iA_iXA_i^*," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/12.gif" alt="\Phi(X)=\sum_iA_iXA_i^*," width="158" height="41" /></p>
<p>where each operator A<sub>i</sub> has rank no greater than k. For more information about k-partially entanglement breaking maps, the interested reader is pointed to [4]. Additionally, there is an interesting geometric relationship between k-positive maps (see Section 5 of the previous post) and k-partially entanglement breaking maps that is explored in <a href="http://www.nathanieljohnston.com/index.php/publications/partially-entanglement-breaking-maps-and-right-cp-invariant-cones/">this note</a> and in [5].</p>
<h3>8. Unital Maps / Operators with Left Partial Trace Equal to Identity</h3>
<p>A linear map Φ is said to be <em>unital</em> if it sends the identity operator to the identity operator &#8212; that is, if Φ(I<sub>n</sub>) = I<sub>m</sub>. It is a simple exercise in linear algebra to show that Φ is unital if and only if</p>
<p><img class="aligncenter size-full wp-image-820" title="{\rm Tr}_1(C_\Phi)=I_m," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/13.gif" alt="{\rm Tr}_1(C_\Phi)=I_m," width="113" height="20" /></p>
<p>where Tr<sub>1</sub> denotes the <a href="http://en.wikipedia.org/wiki/Partial_trace">partial trace</a> over the first subsystem. In fact, it is not difficult to show that Tr<sub>1</sub>(C<sub>Φ</sub>) always equals exactly Φ(I<sub>n</sub>).</p>
<h3>9. Trace-Preserving Maps / Operators with Right Partial Trace Equal to Identity</h3>
<p>In quantum information theory, maps that are <em>trace-preserving</em> (i.e., maps Φ such that Tr(Φ(X)) = Tr(X) for every operator X ∈ M<sub>n</sub>) are of particular interest because quantum channels are modeled by completely positive trace-preserving maps (see Section 4 of the previous post to learn about completely positive maps). Well, some simple linear algebra shows that the map Φ is trace-preserving if and only if</p>
<p><img class="aligncenter size-full wp-image-821" title="{\rm Tr}_2(C_\Phi)=I_n," src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/14.gif" alt="{\rm Tr}_2(C_\Phi)=I_n," width="109" height="20" /></p>
<p>where Tr<sub>2</sub> denotes the partial trace over the second subsystem. The reason for the close relationship between this property and the property of Section 8 is that unital maps and trace-preserving maps are dual to each other in the Hilbert-Schmidt inner product.</p>
<h3>10. Completely Co-Positive Maps / Positive Partial Transpose Operators</h3>
<p>A map Φ such that T○Φ is completely positive, where T represents the <a href="http://en.wikipedia.org/wiki/Transpose">transpose map</a>, is called a <em>completely co-positive</em> map. Thanks to Section 4 of the previous post, we know that Φ is completely co-positive if and only if the Choi matrix of T○Φ is positive semi-definite. Another way of saying this is that</p>
<p><img class="aligncenter size-full wp-image-823" title="(id_n\otimes T)(C_\Phi)\geq 0." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/15.gif" alt="(id_n\otimes T)(C_\Phi)\geq 0." width="149" height="20" /></p>
<p>This condition says that the operator C<sub>Φ</sub> has positive partial transpose (or PPT), a property that is of great interest in quantum information theory because of its connection with the problem of determining whether or not a given quantum state is separable. In particular, any quantum state that is separable must have positive partial transpose (a condition that has become known as the <a href="http://en.wikipedia.org/wiki/Peres-Horodecki_criterion">Peres-Horodecki criterion</a>). If n = 2 and m ≤ 3, then the converse is also true: any PPT state is necessarily separable [6]. It follows via our equivalences of Sections 4 and 6 that any entanglement breaking map is necessarily completely co-positive. Conversely, if n = 2 and m ≤ 3 then any map that is both completely positive and completely co-positive must be entanglement breaking.</p>
<h3>11. Entanglement Binding Maps / Bound Entangled States</h3>
<p>A <a href="http://www.quantiki.org/wiki/index.php/Bound_entangled_states">bound entangled state</a> is a state that is entangled (i.e., not separable) yet can not be transformed via local operations and classical communication to a pure maximally entangled state. In other words, they are entangled but have zero distillable entanglement. Currently, the only states that are known to be bound entangled are states with positive partial transpose &#8212; it is an open question whether or not other such states exist.</p>
<p>An entanglement binding map [7] is a completely positive map Φ such that (id<sub>n</sub> ⊗ Φ)(ρ) is bound entangled for any quantum state ρ. It turns out that a map is entanglement binding if and only if its Choi matrix C<sub>Φ</sub> is bound entangled. Thus, via the result of Section 10 we see that a map is entanglement binding if it is both completely positive and completely co-positive. It is currently unknown if there exist other entanglement binding maps.</p>
<p><strong>References:</strong></p>
<ol>
<li>L. Gurvits, <em>Classical deterministic complexity of Edmonds&#8217; Problem and quantum entanglement</em>, Proceedings of the thirty-fifth annual ACM symposium on Theory of computing, 10-19 (2003). <a href="http://arxiv.org/abs/quant-ph/0303055">arXiv:quant-ph/0303055v1</a></li>
<li>M. Horodecki, P. W. Shor, M. B. Ruskai, <em>General Entanglement Breaking Channels</em>, Rev. Math. Phys <strong>15</strong>, 629&#8211;641 (2003). <a href="http://arxiv.org/abs/quant-ph/0302031">arXiv:quant-ph/0302031v2</a></li>
<li>B. Terhal, P. Horodecki, <em>A Schmidt number for density matrices</em>, Phys. Rev. A Rapid Communications Vol. <strong>61</strong>, 040301 (2000). <a href="http://arxiv.org/abs/quant-ph/9911117v4">arXiv:quant-ph/9911117v4</a></li>
<li>D. Chruscinski, A. Kossakowski, <em>On partially entanglement breaking channels</em>, Open Sys. Information Dyn. <strong>13</strong>, 17&#8211;26 (2006). <a href="http://arxiv.org/abs/quant-ph/0511244">arXiv:quant-ph/0511244v1</a></li>
<li>L. Skowronek, E. Stormer, K. Zyczkowski, <em>Cones of positive maps and their duality relations</em>, J. Math. Phys. <strong>50</strong>, 062106 (2009). <a href="http://arxiv.org/abs/0902.4877">arXiv:0902.4877v1</a> [quant-ph]</li>
<li>M. Horodecki, P. Horodecki, R. Horodecki, <em>Separability of Mixed States: Necessary and Sufficient Conditions</em>, Physics Letters A <strong>223</strong>, 1&#8211;8 (1996). <a href="http://arxiv.org/abs/quant-ph/9605038">arXiv:quant-ph/9605038v2</a></li>
<li>P. Horodecki, M. Horodecki, R. Horodecki, <em>Binding entanglement channels</em>, J.Mod.Opt. <strong>47</strong>, 347&#8211;354 (2000). <a href="http://arxiv.org/abs/quant-ph/9904092">arXiv:quant-ph/9904092v1</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Equivalences of the Choi-Jamiolkowski Isomorphism (Part I)</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 14:00:14 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Matrix Analysis]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=786</guid>
		<description><![CDATA[The Choi-Jamiolkowski isomorphism is an isomorphism between linear maps from Mn to Mm and operators living in the tensor product space Mn ⊗ Mm. Given any linear map Φ : Mn → Mm, we can define the Choi matrix of Φ to be

It turns out that this association between Φ and CΦ defines an isomorphism, [...]]]></description>
			<content:encoded><![CDATA[<p>The Choi-Jamiolkowski isomorphism is an isomorphism between linear maps from M<sub>n</sub> to M<sub>m</sub> and operators living in the tensor product space M<sub>n</sub> ⊗ M<sub>m</sub>. Given any linear map Φ : M<sub>n</sub> → M<sub>m</sub>, we can define the Choi matrix of Φ to be</p>
<p><img class="aligncenter size-full wp-image-787" title="C_\Phi:=\sum_{i,j=1}^n|e_i\rangle\langle e_j|\otimes\Phi(|e_i\rangle\langle e_j|),\text{ where }\big\{|e_i\rangle\big\}\text{ is an orthonormal basis of $\mathbb{C}^n$}." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/choi.gif" alt="C_\Phi:=\sum_{i,j=1}^n|e_i\rangle\langle e_j|\otimes\Phi(|e_i\rangle\langle e_j|),\text{ where }\big\{|e_i\rangle\big\}\text{ is an orthonormal basis of $\mathbb{C}^n$}." width="588" height="53" /></p>
<p>It turns out that this association between Φ and C<sub>Φ</sub> defines an isomorphism, which has become known as the Choi-Jamiolkowski isomorphism. Because much is already known about linear operators, the Choi-Jamiolkowski isomorphism provides a simple way of studying linear maps on operators &#8212; just study the associated linear operators instead. Thus, since there does not seem to be a list compiled anywhere of all of the known associations through this isomorphism, I figure I might as well start one here. I&#8217;m planning on this being a two-parter post because there&#8217;s a lot to be said.</p>
<h3>1. All Linear Maps / All Operators</h3>
<p>By the very fact that we&#8217;re talking about an isomorphism, it follows that the set of all linear maps from M<sub>n</sub> to M<sub>m</sub> corresponds to the set of all linear operators in M<sub>n</sub> ⊗ M<sub>m</sub>. One can then use the <a href="http://en.wikipedia.org/wiki/Singular_value_decomposition">singular value decomposition</a> on the Choi matrix of the linear map Φ to see that we can find sets of operators {A<sub>i</sub>} and {B<sub>i</sub>} such that</p>
<p><img class="aligncenter size-full wp-image-791" title="\Phi(X)=\sum_iA_iXB_i." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/1.gif" alt="\Phi(X)=\sum_iA_iXB_i." width="156" height="41" /></p>
<p>To construct the operators A<sub>i</sub> and B<sub>i</sub>, simply reshape the left singular vectors and right singular vectors of the Choi matrix and multiply the A<sub>i</sub> operators by the corresponding singular values. An alternative (and much more mathematically-heavy) method of proving this representation of Φ is to use the Generalized Stinespring Dilation Theorem [1, Theorem 8.4].</p>
<h3>2. Hermicity-Preserving Maps / Hermitian Operators</h3>
<p>The set of Hermicity-Preserving linear maps (that is, maps Φ such that Φ(X) is Hermitian whenever X is Hermitian) corresponds to the set of Hermitian operators. By using the <a href="http://en.wikipedia.org/wiki/Spectral_theorem">spectral decomposition theorem</a> on C<sub>Φ</sub> and recalling that Hermitian operators have real eigenvalues, it follows that there are real constants {λ<sub>i</sub>} such that</p>
<p><img class="aligncenter size-full wp-image-792" title="\Phi(X)=\sum_i\lambda_iA_iXA_i^*." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/2.gif" alt="\Phi(X)=\sum_i\lambda_iA_iXA_i^*." width="174" height="41" />Again, the trick is to construct each A<sub>i</sub> so that the <a href="http://en.wikipedia.org/wiki/Vectorization_(mathematics)">vectorization</a> of A<sub>i</sub> is the i<sup>th</sup> eigenvector of C<sub>Φ</sub> and λ<sub>i</sub> is the corresponding eigenvalue. Because every Hermitian operator can be written as the difference of two positive semidefinite operators, it is a simple corollary that every Hermicity-Preserving Map can be written as the difference of two completely positive linear maps &#8212; this will become more clear after Section 4. It is also clear that we can absorb the magnitude of the constant λ<sub>i</sub> into the operator A<sub>i</sub>, so we can write any Hermicity-preserving linear map in the form above, where each λ<sub>i</sub> = ±1.</p>
<h3>3. Positive Maps / Block Positive Operators</h3>
<p>A linear map Φ is said to be positive if Φ(X) is positive semidefinite whenever X is positive semidefinite. A useful characterization of these maps is still out of reach and is currently a very active area of research in quantum information science and operator theory. The associated operators C<sub>Φ</sub> are those that satisfy</p>
<p><img class="aligncenter size-full wp-image-793" title="(\langle a|\otimes\langle b|)C_\Phi(|a\rangle\otimes|b\rangle)\geq 0\quad\forall\,|a\rangle,|b\rangle." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/3.gif" alt="(\langle a|\otimes\langle b|)C_\Phi(|a\rangle\otimes|b\rangle)\geq 0\quad\forall\,|a\rangle,|b\rangle." width="297" height="21" /></p>
<p>In terms of quantum information, these operators are positive on separable states. In the world of operator theory, these operators are usually referred to as <em>block positive</em> operators. As of yet we do not have a deterministic method of testing whether or not an operator is block positive (and thus we do not have a deterministic way of testing whether or not a linear map is positive).</p>
<h3>4. Completely Positive Maps / Positive Semidefinite Operators</h3>
<p>The most famous class of linear maps in quantum information science, completely positive maps are maps Φ such that (id<sub>k</sub> ⊗ Φ) is a positive map for any natural number k. That is, even if there is an ancillary system of arbitrary dimension, the map still preserves positivity. These maps were characterized in terms of their Choi matrix in the early &#8217;70s [2], and it turns out that Φ is completely positive if and only if C<sub>Φ</sub> is positive semidefinite. It follows from the spectral decomposition theorem (much like in Section 2) that Φ can be written as</p>
<p><img class="aligncenter size-full wp-image-795" title="\Phi(X)=\sum_iA_iXA_i^*." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/11.gif" alt="\Phi(X)=\sum_iA_iXA_i^*." width="158" height="41" /></p>
<p>Again, the A<sub>i</sub> operators (which are known as <em>Kraus operators</em>) are obtained by reshaping the eigenvectors of C<sub>Φ</sub>. It also follows (and was proved by Choi) that Φ is completely positive if and only if (id<sub>n</sub> ⊗ Φ) is positive. Also note that, as there exists an <em>orthonormal</em> basis of eigenvectors of C<sub>Φ</sub>, the A<sub>i</sub> operators can be constructed so that Tr(A<sub>i</sub><sup>*</sup>A<sub>j</sub>) = δ<sub>ij</sub>, the <a href="http://en.wikipedia.org/wiki/Kronecker_delta">Kronecker delta</a>. An alternative method of deriving the representation of Φ(X) is to use the <a href="http://en.wikipedia.org/wiki/Stinespring_factorization_theorem">Stinespring Dilation Theorem</a> [1, Theorem 4.1] of operator theory.</p>
<h3>5. k-Positive Maps / k-Block Positive Operators</h3>
<p>Interpolating between the situations of Section 3 and Section 4 are k-positive maps. A map is said to be k-positive if (id<sub>k</sub> ⊗ Φ) is a positive map. Thus, complete positivity of a map Φ is equivalent to Φ being k-positive for all natural numbers k, which is equivalent to Φ being n-positive. Positivity of Φ is the same as 1-positivity of Φ. Since we don&#8217;t even have effective methods for determining positivity of linear maps, it makes sense that we don&#8217;t have effective methods for determining k-positivity of linear maps, so they are still a fairly active area of research. It is known that Φ is k-positive if and only if</p>
<p><img class="aligncenter size-full wp-image-796" title="\langle x|C_\Phi|x\rangle\geq 0\quad\forall\,|x\rangle\text{ with }SR(|x\rangle)\leq k." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/21.gif" alt="\langle x|C_\Phi|x\rangle\geq 0\quad\forall\,|x\rangle\text{ with }SR(|x\rangle)\leq k." width="302" height="21" /></p>
<p>Operators of this type are referred to as <em>k-block positive operators</em>, and SR(x) denotes the <a href="http://en.wikipedia.org/wiki/Schmidt_decomposition">Schmidt rank</a> of the vector x. Because a vector has Schmidt rank 1 if and only if it is separable, it follows that this condition reduces to the condition that we saw in Section 3 for positive maps in the k = 1 case. Similarly, since all vectors have Schmidt rank less than or equal to n, it follows that Φ is n-positive if and only if C<sub>Φ</sub> is positive semidefinite, which we saw in Section 4.</p>
<p><strong><span style="color: #800000;">Update [October 23, 2009]:</span></strong> <a href="http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-ii/">Part II</a> of this post is now online.</p>
<p><strong>References:</strong></p>
<ol>
<li>V. I. Paulsen, <a href="http://www.amazon.com/gp/product/0521816696?ie=UTF8&amp;tag=nathanieljohnston-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0521816696"><em>Completely Bounded Maps and Operator Algebras</em></a>, Cambridge Studies in Advanced Mathematics <strong>78</strong>, Cambridge University Press, Cambridge, 2003.</li>
<li>M.-D. Choi, <em>Completely Positive Linear Maps on Complex Matrices</em>, Lin. Alg. Appl, 285-290 (1975).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/10/the-equivalences-of-the-choi-jamiolkowski-isomorphism-part-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An Introduction to Schmidt Norms</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/10/an-introduction-to-schmidt-norms/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/10/an-introduction-to-schmidt-norms/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:00:58 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Papers]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=736</guid>
		<description><![CDATA[In [1], a family of matrix norms (called Schmidt norms) are studied and some of their uses in quantum information theory are explored. The interested reader is of course welcome to read the results presented in that paper, but for the more casual reader I present here one very crucial preliminary, the Schmidt decomposition theorem, [...]]]></description>
			<content:encoded><![CDATA[<p>In [1], a family of matrix norms (called <em>Schmidt norms</em>) are studied and some of their uses in quantum information theory are explored. The interested reader is of course welcome to read the results presented in that paper, but for the more casual reader I present here one very crucial preliminary, the Schmidt decomposition theorem, and a proof that the Schmidt norms actually are (as their name suggests) norms.</p>
<h3>Schmidt Decomposition Theorem</h3>
<p>The <a href="http://en.wikipedia.org/wiki/Schmidt_decomposition">Schmidt decomposition theorem</a> says that any complex vector <strong>v</strong> ∈ <strong>C</strong><sup>n</sup> ⊗ <strong>C</strong><sup>n</sup> can be written as</p>
<p><img class="aligncenter size-full wp-image-737" title="{\bf v}=\sum_{j=1}^k\alpha_j{\bf e_j}\otimes{\bf f_j}" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/sch.gif" alt="{\bf v}=\sum_{j=1}^k\alpha_j{\bf e_j}\otimes{\bf f_j}" width="130" height="54" /></p>
<p>where k ≤ n, {α<sub>j</sub>} ⊆ <strong>R</strong> is a family of non-negative real scalars, and {<strong>e</strong><sub>j</sub>}, {<strong>f</strong><sub>j</sub>} ⊆ <strong>C</strong><sup>n</sup> are two orthonormal sets of vectors. I won&#8217;t prove the theorem here &#8212; a proof can be found on its Wikipedia page (it&#8217;s basically the <a href="http://en.wikipedia.org/wiki/Singular_value_decomposition">singular value decomposition</a> in disguise). For our purposes the most important thing to realize is that, for some vectors <strong>v</strong>, we can write <strong>v</strong> in its Schmidt decomposition with k &lt; n. The least k such that <strong>v</strong> can be written in the form above is called the <em>Schmidt rank</em> of <strong>v</strong>, and we denote it by SR(<strong>v</strong>). Every vector <strong>v</strong> has SR(<strong>v</strong>) ≤ n.</p>
<h3>Schmidt Matrix Norms</h3>
<p>The Schmidt k-norm of a matrix X ∈ M<sub>n</sub> is defined to be</p>
<p><img class="aligncenter size-full wp-image-767" title="\big\|X\big\|_{S(k)}:=\sup_{{\bf v},{\bf w}}\big\{|{\bf w}^*X{\bf v}| : \|{\bf v}\|,\|{\bf w}\|\leq 1,SR({\bf v}),SR({\bf w})\leq k\big\}" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/sch.gif" alt="\big\|X\big\|_{S(k)}:=\sup_{{\bf v},{\bf w}}\big\{|{\bf w}^*X{\bf v}| : \|{\bf v}\|,\|{\bf w}\|\leq 1,SR({\bf v}),SR({\bf w})\leq k\big\}" width="477" height="35" /></p>
<p>That might look like a horribly complex definition upon first glance, but it&#8217;s not so hard to get your head around when you realize that the Schmidt k-norm for k = n is simply the standard <a href="http://en.wikipedia.org/wiki/Operator_norm">operator norm</a> of X. It is clear then that the Schmidt k-norm for k &lt; n must be a smaller quantity. Indeed, from a quantum information perspective, the norm measures how much the operator represented by X can stretch pure states that &#8220;aren&#8217;t very entangled.&#8221; The interested reader can learn about the various properties and applications of these norms in [1] &#8212; what I present here is simply a proof that the Schmidt k-norm is indeed a norm (since this is not explicitly done in the paper).</p>
<p><strong>Proof that the Schmidt k-norm is a norm.</strong> It is clear from the definition that the absolute value of a constant pulls out of the Schmidt norms and that the Schmidt norms satisfy the triangle inequality. The only challenging property of the norm to verify is that the Schmidt norm of X being zero implies X = 0.</p>
<p>To prove this, assume that we are in the k = 1 case (if we can show that this property holds for k = 1, it immediately follows that the same property must hold for k &gt; 1). Then recall that we can write X as the sum of elementary tensors, so we can write</p>
<p><img class="aligncenter size-full wp-image-768" title="X=\sum_jA_j\otimes B_j,\ \ {\bf v}={\bf v_1}\otimes{\bf v_2},\text{ and } \ {\bf w}={\bf w_1}\otimes{\bf w_2}." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/sch1.gif" alt="X=\sum_jA_j\otimes B_j,\ \ {\bf v}={\bf v_1}\otimes{\bf v_2},\text{ and } \ {\bf w}={\bf w_1}\otimes{\bf w_2}." width="417" height="43" />Furthermore, we may write X in this way using matrices B<sub>j</sub> that are linearly independent (see, for example, Proposition 24 of [2], or simply note that you could choose them to be a family of matrix units). Thus, if the Schmidt 1-norm of X equals zero, then it follows that for any <strong>v</strong><sub><strong>1</strong></sub>, <strong>v</strong><sub><strong>2</strong></sub>, <strong>w</strong><sub><strong>1</strong></sub>, and <strong>w</strong><sub><strong>2</strong></sub>:</p>
<p><img class="aligncenter size-full wp-image-769" title="{\bf w_2}^*\Big(\sum_jc_jB_j\Big){\bf v_2}=0 \ \text{ where }c_j={\bf w_1}^*A_j{\bf v_1} \ \ \forall \, j." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/sch2.gif" alt="{\bf w_2}^*\Big(\sum_jc_jB_j\Big){\bf v_2}=0 \ \text{ where }c_j={\bf w_1}^*A_j{\bf v_1} \ \ \forall \, j." width="382" height="46" /></p>
<p>Since this holds for any <strong>v</strong><sub><strong>2</strong></sub> and <strong>w</strong><sub><strong>2</strong></sub>, it follows that</p>
<p><img class="aligncenter size-full wp-image-770" title="\sum_jc_jB_j=0." src="http://www.nathanieljohnston.com/wp-content/uploads/2009/10/sch3.gif" alt="\sum_jc_jB_j=0." width="102" height="43" /></p>
<p>Because we chose the B<sub>j</sub> matrices to be linearly independent, it follows that c<sub>j</sub> = 0 for all j. By referring back to the definition of c<sub>j</sub>, we see that this then implies A<sub>j</sub> = 0 for all j, so X = 0 as desired. QED.</p>
<p><strong>References:</strong></p>
<ol>
<li>N. Johnston and D.W. Kribs, <em><a href="http://www.nathanieljohnston.com/index.php/publications/schmidt-norms-for-quantum-states/">Schmidt norms for quantum states</a></em>. Preprint (2009). <a href="http://arxiv.org/abs/0909.3907">arXiv:0909.3907</a> [quant-ph]</li>
<li>Johnston, N., Kribs, D. W., and Paulsen, V., <em><a href="http://www.nathanieljohnston.com/index.php/publications/computing-stabilized-norms-for-quantum-operations-via-the-theory-of-completely-bounded-maps/">Computing stabilized norms for quantum operations</a></em>. Quantum Information &amp; Computation <strong>9</strong> 1 &amp; 2, 16-35 (2009). <a href="http://arxiv.org/abs/0711.3636">arXiv:0711.3636v1</a> [quant-ph]</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/10/an-introduction-to-schmidt-norms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quantum Semidefinite Programs</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/09/quantum-semidefinite-programs/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/09/quantum-semidefinite-programs/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 12:00:28 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Quantum]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=707</guid>
		<description><![CDATA[In quantum information theory, semidefinite programs are often useful, as one is often interested in the behaviour of linear maps over convex sets. For example, they have very recently been used to compute the completely bounded norm of a linear map [1], prove that QIP = PSPACE [2], and bound a new family of norms [...]]]></description>
			<content:encoded><![CDATA[<p>In quantum information theory, <a href="http://en.wikipedia.org/wiki/Semidefinite_programming">semidefinite programs</a> are often useful, as one is often interested in the behaviour of linear maps over convex sets. For example, they have very recently been used to compute the completely bounded norm of a linear map [1], prove that QIP = PSPACE [2], and bound a new family of norms of operators [3]. However, if you were to look at the standard form of a semidefinite program provided on the Wikipedia page linked above, you would likely only see some very superficial connections with the standard form of quantum semidefinite programs in references [1-3] &#8212; this post aims to bridge that gap and show that the two forms are indeed equivalent (or at the very least outline the key steps in proving they are equivalent).</p>
<h3>The Quantum Form</h3>
<p>Let M<sub>n</sub> denote the space of n×n complex matrices. Assume that we are given Hermitian matrices A = A<sup>*</sup> ∈ M<sub>n</sub> and B = B<sup>*</sup> ∈ M<sub>m</sub>, as well as a Hermicity-preserving linear map Φ : M<sub>n</sub> → M<sub>m</sub> (i.e., a map such that Φ(X) is Hermitian whenever X is Hermitian). Then we can define a quantum semidefinite program to be the following pair of optimization problems:</p>
<p><img class="aligncenter size-full wp-image-714" title="Quantum Semidefinite Program" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/qsdp1.png" alt="Quantum Semidefinite Program" width="367" height="78" /></p>
<p>In the dual problem, Φ<sup>†</sup> refers to the dual map of Phi &#8212; that is, the adjoint map in the sense of the Hilbert-Schmidt inner product. It is not surprising that many problems in quantum information theory can be formulated as an optimization problem of this type &#8212; <a href="http://en.wikipedia.org/wiki/Choi's_theorem_on_completely_positive_maps">completely positive maps</a> (a special class of Hermicity-preserving maps) model <a href="http://en.wikipedia.org/wiki/Quantum_channel">quantum channels</a>, positive semidefinite matrices represent quantum states, and the trace of a product of two positive semidefinite matrices represents an expectation value.</p>
<h3>The Standard Form</h3>
<p>In the more conventional set up of semidefinite programming, we are given matrices D and {G_i} ∈ M<sub>r</sub> and a complex vector c ∈ <strong>C</strong><sup>s</sup>. The associated semidefinite program is given by the following pair of optimization problems:</p>
<p><img class="aligncenter size-full wp-image-717" title="Semidefinite Programming Standard Form" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/standardform.png" alt="Semidefinite Programming Standard Form" width="496" height="73" /></p>
<p>The interested reader should read on Wikipedia about how semidefinite programs generalize linear programs and how their theory of duality works. It is also important to note that semidefinite programs can be solved efficiently to any desired accuracy by a variety of different solvers, using a number of different algorithms. Thus, once we show that quantum semidefinite programs can be put into this standard form, we will be able to efficiently solve quantum semidefinite programs.</p>
<h3>Converting the Quantum Form to the Standard Form</h3>
<p>Define a linear map Ψ : M<sub>n</sub> → (M<sub>m</sub> ⊕ M<sub>n</sub>) by</p>
<p><img class="aligncenter size-full wp-image-731" title="Psi" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/Gkl3.png" alt="Psi" width="154" height="41" /></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 559px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Then the requirement that $\Phi(P) \leq B$ and $P \geq 0$ is equivalent to</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 559px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">\[</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 559px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>\Psi(X) \leq \begin{bmatrix}B &amp; 0 \\ 0 &amp; 0 \end{bmatrix}.</div>
<p>Then the requirement that Ψ(P) ≤ B and P ≥ 0 is equivalent to</p>
<p><img class="aligncenter size-full wp-image-730" title="Psi Inequality" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/Gkl2.png" alt="Psi Inequality" width="115" height="45" /></p>
<p>The dual map Ψ<sup>†</sup> is given by</p>
<p><img class="aligncenter size-full wp-image-729" title="Psi Dual" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/Gkl1.png" alt="Psi Dual" width="191" height="42" /></p>
<p>By putting these last few steps together, we see that our original quantum semidefinite program is of the following form:</p>
<p><img class="aligncenter size-full wp-image-728" title="Simplified Quantum SDP" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/sdp1.png" alt="Simplified Quantum SDP" width="363" height="76" /></p>
<p>The inequality in the dual problem was able to be replaced by equality because of the flexibility that was introduced by the arbitrary positive operator R. Now let {E<sub>a</sub>} and {F<sub>a</sub>} be families of left and right generalized Choi-Kraus operators for Ψ. Denote the (k,l)-entry of P by p<sub>kl</sub> and the (i,j)-entry of E<sub>a</sub> or F<sub>a</sub> by e<sub>aij</sub> or f<sub>aij</sub>, respectively. Then</p>
<p><img class="aligncenter size-full wp-image-726" title="Psi Reduction" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/psi4.png" alt="Psi Reduction" width="362" height="41" />where</p>
<p><img class="aligncenter size-full wp-image-727" title="G_{kl}" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/Gkl.png" alt="G_{kl}" width="421" height="84" /></p>
<p>Finally, defining x := vec(P) and c := vec(A) (where vec refers to the <a href="http://en.wikipedia.org/wiki/Vectorization_(mathematics)">vectorization</a> of a matrix, which stacks each of its columns on top of each other into a column vector) shows that the quantum primal problem is in the form of the standard primal problem. Some simple linear algebra can be used to show that the quantum dual form reduces to the standard dual form as well.</p>
<p><strong>Downloads:</strong></p>
<ul>
<li><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/QuantumSDP.pdf">QuantumSDP.pdf</a> -- PDF version of this blog post</li>
</ul>
<p><strong>References:</strong></p>
<ol>
<li>J. Watrous, <em>Semidefinite programs for completely bounded norms</em>. Preprint (2009). <a href="http://arxiv.org/abs/0901.4709v2">arXiv:0901.4709</a> [quant-ph]</li>
<li>R. Jain, Z. Ji, S. Upadhyay, J. Watrous, <em>QIP = PSPACE</em>. Preprint (2009). <a href="http://arxiv.org/abs/0907.4737v2">arXiv:0907.4737</a> [quant-ph]</li>
<li>N. Johnston, D.W. Kribs, <em>Schmidt norms for quantum states</em>. Preprint (2009). <a href="http://arxiv.org/abs/0909.3907">arXiv:0909.3907</a> [quant-ph]</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/09/quantum-semidefinite-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No, Primes with Millions of Digits Are Not Useful for Cryptography</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 12:00:16 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Math in the Media]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=665</guid>
		<description><![CDATA[About once a year, the internet news fills up for a week or so with talk of how a new largest-known prime has just been found. This largest-known prime has invariably been found by GIMPS, a distributed computing project designed to find large Mersenne primes.  Of course, mainstream media doesn&#8217;t like reporting things unless they [...]]]></description>
			<content:encoded><![CDATA[<p>About once a year, the internet news fills up for a week or so with talk of how a new largest-known prime has just been found. This largest-known prime has invariably been found by <a href="http://www.mersenne.org/">GIMPS</a>, a distributed computing project designed to find large <a href="http://en.wikipedia.org/wiki/Mersenne_prime">Mersenne primes</a>.  Of course, mainstream media doesn&#8217;t like reporting things unless they can give people the illusion of some sort of immediate practical purpose. So what to do when you can&#8217;t think of a practical use for some recently-discovered 10-million-digit prime numbers? Make one up, of course! Just say that they have applications in cryptography:</p>
<blockquote><p>Scientists in the US and Germany have found the two largest prime numbers ever calculated in a discovery which could dramatically increase the effectiveness of cryptographic systems.</p>
<p>- <a href="http://www.v3.co.uk/vnunet/news/2226357/world-largest-prime-numbers">v3.co.uk</a></p></blockquote>
<h3>The Source of the Myth: RSA Encryption</h3>
<p>Like all good myths, the Mersenne prime cryptography myth is so widespread because it is so <em>close</em> to being true. The most widely-used form of encryption used on the internet is <a href="http://en.wikipedia.org/wiki/RSA">RSA encryption</a>, which works by multiplying two huge prime numbers together to form an even larger number with exactly two prime factors. Since factoring numbers is believed to be computationally difficult, reversing this process is currently a very difficult problem, which leads to RSA providing reasonably strong encryption. The thing is, RSA typically uses primes that have a few <em>hundred</em> digits, not a few <em>million</em> digits. Some of the reasons for this are as follows:</p>
<ol>
<li><strong>You don&#8217;t </strong><em><strong>need</strong></em><strong> to use million-digit primes. </strong>Considering that even <a href="http://cado.gforge.inria.fr/workshop/slides/montgomery.pdf">cracking RSA that uses 250-digit primes</a> is an extremely difficult problem that hasn&#8217;t been completed yet, and the problem gets exponentially more difficult as you add more digits, even the most paranoid of people should be comfortable using primes with a couple thousand digits. You might argue that some big government agencies would want RSA to be as secure as possible for their transactions, so they might want to use million-digit primes, but any agency that is that worried about security shouldn&#8217;t be using public key cryptography in the first place.</li>
<li><strong>Using primes with millions of digits actually </strong><em><strong>decreases</strong></em><strong> security.</strong> As of this writing, there are <a href="http://primes.utm.edu/primes/search.php?Number=100">26 known primes</a> with more than one million digits, so to break RSA encryption that makes use of primes with millions of digits you can just test each one of the known million-digit primes to see if they are one of the factors. RSA only works because there are <em>lots</em> of primes with hundreds of digits to choose from (as in billions of billions of billions of them, and then some).</li>
<li><strong>Manipulating numbers with millions of digits is </strong><em><strong>slow</strong></em><strong>.</strong> Internet-based public key cryptography systems need to be fast if they&#8217;re to be of any practical use, so it doesn&#8217;t make much sense to try to use a cryptography system that relies on multiplying and finding residues with numbers that take several megabytes just to store. Just imagine trying to do some online banking when you have to transmit <a href="http://prime.isthe.com/chongo/tech/math/prime/m43112609/prime-c.html">this</a> number along with every other piece of data that you send back to the server.</li>
</ol>
<p>Not all media outlets are so bad as to directly say that the primes found by GIMPS are useful for cryptography, but the vast majority of them imply it at some point throughout the story. Consider the following examples, which are taken from stories about newly-discovered GIMPS primes:</p>
<blockquote><p>Mersenne primes are important for the theory of numbers and they may help in developing unbreakable codes and message encryptions.</p>
<p>- <a href="http://news.bbc.co.uk/2/hi/science/nature/1693364.stm">BBC News</a></p></blockquote>
<blockquote><p>Current cryptographic systems rely on the challenge of factoring large primes.</p>
<p>- <a href="http://www.sciencenews.org/view/generic/id/36979/description/Largest_known_prime_number_found">ScienceNews.org</a></p></blockquote>
<p>While those tidbits of information are quite true (well, almost &#8212; see the comments), when taken in context they are entirely misleading and cause the reader to think that GIMPS primes have applications in today&#8217;s cryptography systems. It&#8217;s like running a story about a recent plane crash that includes a sentence about how it&#8217;s a good idea to wear a helmet when riding a bicycle.</p>
<h3>So Why <em>Do</em> We Search for Huge Primes?</h3>
<p>The main reason that we search for huge primes is simply for sport. It gives our idle CPU cycles something to do. Non-mathematicians seem to balk at that idea and call it a huge waste of CPU cycles/time, and they&#8217;re probably right, but so what? Have you ever played a video game? This is our version of going for a high score. If that doesn&#8217;t seem like a particularly good reason to you, perhaps one of the <a href="http://primes.utm.edu/notes/faq/why.html">reasons given by GIMPS itself</a> will satisfy you. One thing that you&#8217;ll notice though is that cryptography is not mentioned anywhere on that page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/09/no-primes-with-millions-of-digits-are-not-useful-for-cryptography/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>No Similarity-Invariant Matrix Norm</title>
		<link>http://www.nathanieljohnston.com/index.php/2009/09/no-similarity-invariant-matrix-norm/</link>
		<comments>http://www.nathanieljohnston.com/index.php/2009/09/no-similarity-invariant-matrix-norm/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 12:00:20 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Lemma of the Month]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Matrix Analysis]]></category>

		<guid isPermaLink="false">http://www.nathanieljohnston.com/?p=653</guid>
		<description><![CDATA[A matrix norm on Mn is said to be weakly unitarily-invariant if conjugating a matrix by a unitary U does not change the norm. That is,

Many commonly-used matrix norms are weakly unitarily-invariant, including the operator norm, Frobenius norm, numerical radius, Ky Fan norms and Schatten p-norms. One might naturally wonder whether there are matrix norms [...]]]></description>
			<content:encoded><![CDATA[<p>A matrix norm on M<sub>n</sub> is said to be <em>weakly unitarily-invariant</em> if conjugating a matrix by a unitary U does not change the norm. That is,</p>
<p><img class="aligncenter size-full wp-image-657" title="\|X\|=\|UXU^*\|\ \ \forall \, X,U\in M_n \text{ with $U$ unitary.}" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/img.gif" alt="\|X\|=\|UXU^*\|\ \ \forall \, X,U\in M_n \text{ with $U$ unitary.}" width="364" height="19" /></p>
<p>Many commonly-used matrix norms are weakly unitarily-invariant, including the <a href="http://en.wikipedia.org/wiki/Operator_norm">operator norm</a>, <a href="http://mathworld.wolfram.com/FrobeniusNorm.html">Frobenius norm</a>, <a href="http://en.wikipedia.org/wiki/Numerical_range">numerical radius</a>, <a href="http://www.nathanieljohnston.com/index.php/2009/08/ky-fan-norms-schatten-norms-and-everything-in-between/">Ky Fan norms and Schatten p-norms</a>. One might naturally wonder whether there are matrix norms that satisfy the slightly stronger property of <em>similarity-invariance</em>:</p>
<p><img class="aligncenter size-full wp-image-658" title="\|X\|=\|SXS^{-1}\|\ \ \forall\, X,Sin M_n\text{ with $S$ nonsingular.}" src="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/img1.gif" alt="\|X\|=\|SXS^{-1}\|\ \ \forall\, X,Sin M_n\text{ with $S$ nonsingular.}" width="401" height="20" /></p>
<p>Upon first glance there doesn&#8217;t seem to be any reason why this shouldn&#8217;t be possible &#8212; one can look for simple examples that cause problems, but you&#8217;ll have trouble coming up with a matrix that causes problems if you restrict your attention to &#8220;nice&#8221; (i.e., normal) matrices. Nevertheless, we have the following lemma, which appeared as Exercise IV.4.1 in [1]:</p>
<p style="padding-left: 30px;"><strong>Lemma (No Similarity-Invariant Norm).</strong> Let f : M<sub>n</sub> → <strong>R</strong> be a function satisfying f(SXS<sup>-1</sup>) = f(X) for all X,S ∈ M<sub>n</sub> with S invertible. Then f is not a norm.</p>
<p>If you&#8217;re interested in the (very short and elementary) proof of this lemma, see the pdf attached below. I would be greatly interested in seeing a proof of this fact that relies less on the structure of matrices themselves. It seems as though there should be a more general result that characterizes when we can and can not find a norm on a given vector space that is invariant with respect to some given subgroup, or some such thing. Would anyone care to enlighten me?</p>
<p><strong>Related Links:</strong></p>
<ul>
<li><a href="http://www.nathanieljohnston.com/wp-content/uploads/2009/09/004.pdf">Lemma of the Month #4: No Similarity-Invariant Matrix Norm</a> [pdf]</li>
</ul>
<p><strong>References:</strong></p>
<ol>
<li>R. Bhatia, <em><a href="http://www.amazon.com/gp/product/0387948465?ie=UTF8&amp;tag=nathanieljohnston-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0387948465">Matrix analysis</a></em>. Volume 169 of Graduate texts in mathematics (1997).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanieljohnston.com/index.php/2009/09/no-similarity-invariant-matrix-norm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
