<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ReductionMap</id>
	<title>ReductionMap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ReductionMap"/>
	<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=ReductionMap&amp;action=history"/>
	<updated>2026-06-23T11:21:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=ReductionMap&amp;diff=499&amp;oldid=prev</id>
		<title>Nathaniel: typo</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=ReductionMap&amp;diff=499&amp;oldid=prev"/>
		<updated>2014-10-15T16:27:48Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:27, 15 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt;\Phi(X) := \mathrm{Tr}(X)I - X,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt;\Phi(X) := \mathrm{Tr}(X)I - X,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where $I$ is the identity matrix. This map is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;positive &lt;/del&gt;positive.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where $I$ is the identity matrix. This map is positive.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syntax==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syntax==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=ReductionMap&amp;diff=463&amp;oldid=prev</id>
		<title>Nathaniel: Created page with &quot;{{Function |name=ReductionMap |desc=Produces the reduction map |rel=ChoiMap |cat=Superoperators |upd=September 29, 2014 |v=0.50}} &lt;tt&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=ReductionMap&amp;diff=463&amp;oldid=prev"/>
		<updated>2014-09-29T17:21:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Function |name=ReductionMap |desc=Produces the reduction map |rel=&lt;a href=&quot;/ChoiMap&quot; title=&quot;ChoiMap&quot;&gt;ChoiMap&lt;/a&gt; |cat=&lt;a href=&quot;/List_of_functions#Superoperators&quot; title=&quot;List of functions&quot;&gt;Superoperators&lt;/a&gt; |upd=September 29, 2014 |v=0.50}} &amp;lt;tt&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Function&lt;br /&gt;
|name=ReductionMap&lt;br /&gt;
|desc=Produces the reduction map&lt;br /&gt;
|rel=[[ChoiMap]]&lt;br /&gt;
|cat=[[List of functions#Superoperators|Superoperators]]&lt;br /&gt;
|upd=September 29, 2014&lt;br /&gt;
|v=0.50}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;ReductionMap&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; is a [[List of functions|function]] that returns the Choi matrix of the linear map that acts as follows:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\Phi(X) := \mathrm{Tr}(X)I - X,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where $I$ is the identity matrix. This map is positive positive.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
* &amp;lt;tt&amp;gt;R = ReductionMap(DIM)&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;R = ReductionMap(DIM,K)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Argument descriptions==&lt;br /&gt;
* &amp;lt;tt&amp;gt;DIM&amp;lt;/tt&amp;gt;: The dimension of the reduction map. That is, the size of the matrices that the reduction map acts on.&lt;br /&gt;
* &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt; (optional, default 1): If this positive integer is provided, the script will instead return the Choi matrix of the following linear map:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\Phi(X) := K\cdot\mathrm{Tr}(X)I - X.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===The reduction map is positive===&lt;br /&gt;
The following code returns the Choi matrix of the 3-dimensional reduction map and then verifies that the reduction map is indeed positive (i.e., verifies that its Choi matrix is block positive):&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; R = ReductionMap(3)&lt;br /&gt;
&lt;br /&gt;
R =&lt;br /&gt;
&lt;br /&gt;
   (5,1)       -1&lt;br /&gt;
   (9,1)       -1&lt;br /&gt;
   (2,2)        1&lt;br /&gt;
   (3,3)        1&lt;br /&gt;
   (4,4)        1&lt;br /&gt;
   (1,5)       -1&lt;br /&gt;
   (9,5)       -1&lt;br /&gt;
   (6,6)        1&lt;br /&gt;
   (7,7)        1&lt;br /&gt;
   (8,8)        1&lt;br /&gt;
   (1,9)       -1&lt;br /&gt;
   (5,9)       -1&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; IsBlockPositive(R) % verify that the reduction map is positive&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Higher values of &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt;===&lt;br /&gt;
It is known that the generalization of the reduction map that is provided by the optional argument &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt; is always &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt;-positive, but not (&amp;lt;tt&amp;gt;K+1&amp;lt;/tt&amp;gt;)-positive. The following code verifies this in the &amp;lt;tt&amp;gt;K = 2&amp;lt;/tt&amp;gt; case:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; R = ReductionMap(3,2)&lt;br /&gt;
&lt;br /&gt;
R =&lt;br /&gt;
&lt;br /&gt;
   (1,1)        1&lt;br /&gt;
   (5,1)       -1&lt;br /&gt;
   (9,1)       -1&lt;br /&gt;
   (2,2)        2&lt;br /&gt;
   (3,3)        2&lt;br /&gt;
   (4,4)        2&lt;br /&gt;
   (1,5)       -1&lt;br /&gt;
   (5,5)        1&lt;br /&gt;
   (9,5)       -1&lt;br /&gt;
   (6,6)        2&lt;br /&gt;
   (7,7)        2&lt;br /&gt;
   (8,8)        2&lt;br /&gt;
   (1,9)       -1&lt;br /&gt;
   (5,9)       -1&lt;br /&gt;
   (9,9)        1&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; IsBlockPositive(R,1) % verify that this map is positive&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     1&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; IsBlockPositive(R,2) % verify that this map is 2-positive&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     1&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; IsBlockPositive(R,3) % see that this map is not 3-positive&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{SourceCode|name=ReductionMap}}&lt;/div&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
</feed>