<?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=EntangledSubspace</id>
	<title>EntangledSubspace - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=EntangledSubspace"/>
	<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=EntangledSubspace&amp;action=history"/>
	<updated>2026-07-14T08:09:32Z</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=EntangledSubspace&amp;diff=35994&amp;oldid=prev</id>
		<title>Nathaniel at 01:42, 1 August 2023</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=EntangledSubspace&amp;diff=35994&amp;oldid=prev"/>
		<updated>2023-08-01T01:42:38Z</updated>

		<summary type="html">&lt;p&gt;&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 01:42, 1 August 2023&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-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&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;/syntaxhighlight&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;/syntaxhighlight&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;==Notes&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;==&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;==Notes==&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;div&gt;The largest r-entangled subspace of &amp;lt;math&amp;gt;\mathbb{C}^m \otimes \mathbb{C}^n&amp;lt;/math&amp;gt; has dimension (m-r)(n-r), so requesting a larger subspace will produce an error message. The method of construction that this function uses was described in &amp;lt;ref name=&amp;quot;CMW&amp;quot;&amp;gt;T. S. Cubitt, A. Montanaro, and A. Winter. On the dimension of subspaces with bounded Schmidt rank. &amp;lt;em&amp;gt;J. Math. Phys.&amp;lt;/em&amp;gt; 49:022107, 2008. E-print: [https://arxiv.org/abs/0706.0705 arXiv:0706.0705] [quant-ph]&amp;lt;/ref&amp;gt;. The basis produced by this function is sparse.&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;The largest r-entangled subspace of &amp;lt;math&amp;gt;\mathbb{C}^m \otimes \mathbb{C}^n&amp;lt;/math&amp;gt; has dimension (m-r)(n-r), so requesting a larger subspace will produce an error message. The method of construction that this function uses was described in &amp;lt;ref name=&amp;quot;CMW&amp;quot;&amp;gt;T. S. Cubitt, A. Montanaro, and A. Winter. On the dimension of subspaces with bounded Schmidt rank. &amp;lt;em&amp;gt;J. Math. Phys.&amp;lt;/em&amp;gt; 49:022107, 2008. E-print: [https://arxiv.org/abs/0706.0705 arXiv:0706.0705] [quant-ph]&amp;lt;/ref&amp;gt;. The basis produced by this function is sparse.&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;/table&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=EntangledSubspace&amp;diff=35993&amp;oldid=prev</id>
		<title>Nathaniel: Created page</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=EntangledSubspace&amp;diff=35993&amp;oldid=prev"/>
		<updated>2023-08-01T01:41:56Z</updated>

		<summary type="html">&lt;p&gt;Created page&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=EntangledSubspace&lt;br /&gt;
|desc=Produces a basis of an r-entangled subspace&lt;br /&gt;
|rel=[[SchmidtRank]]&lt;br /&gt;
|cat=[[List of functions#Entanglement_and_separability|Entanglement&amp;amp;nbsp;and&amp;amp;nbsp;separability]]&lt;br /&gt;
|upd=May 6, 2022&lt;br /&gt;
|v=1.00}}&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;EntangledSubspace&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; is a [[List of functions|function]] that that creates a basis of an entangled subspace (i.e., a subspace of &amp;lt;math&amp;gt;\mathbb{C}^m \otimes \mathbb{C}^n&amp;lt;/math&amp;gt; in which every pure state is entangled), or more generally a basis of an r-entangled subspace (i.e., a subspace of &amp;lt;math&amp;gt;\mathbb{C}^m \otimes \mathbb{C}^n&amp;lt;/math&amp;gt; in which every pure state has [[Schmidt rank]] strictly greater than r).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
* &amp;lt;tt&amp;gt;E = EntangledSubspace(DIM,LOCALDIM)&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;E = EntangledSubspace(DIM,LOCALDIM,R)&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 desired subspace.&lt;br /&gt;
* &amp;lt;tt&amp;gt;LOCALDIM&amp;lt;/tt&amp;gt;: A scalar indicating the local dimension of the (bipartite) ambient space that the subspace will live in, or a 2-entry vector indicating its two local dimensions.&lt;br /&gt;
* &amp;lt;tt&amp;gt;R&amp;lt;/tt&amp;gt; (optional, default &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;): A (strict) lower bound on the Schmidt rank of pure states in the subspace.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===A two-qutrit entangled subspace of maximum dimension===&lt;br /&gt;
The largest entangled subspace of &amp;lt;math&amp;gt;\mathbb{C}^3 \otimes \mathbb{C}^3&amp;lt;/math&amp;gt; has dimension 4. We can generate an entangled subspace of this dimension:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; E = EntangledSubspace(4,3)&lt;br /&gt;
&lt;br /&gt;
E =&lt;br /&gt;
&lt;br /&gt;
   (2,1)        1&lt;br /&gt;
   (6,1)        1&lt;br /&gt;
   (1,2)        1&lt;br /&gt;
   (5,2)        1&lt;br /&gt;
   (9,2)        1&lt;br /&gt;
   (4,3)        1&lt;br /&gt;
   (8,3)        1&lt;br /&gt;
   (1,4)        1&lt;br /&gt;
   (5,4)        2&lt;br /&gt;
   (9,4)        3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The columns of this matrix are the basis vectors of the subspace. To get a clearer picture of this, it is perhaps useful to convert the function&amp;#039;s sparse output to full:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; full(E)&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
     0     1     0     1&lt;br /&gt;
     1     0     0     0&lt;br /&gt;
     0     0     0     0&lt;br /&gt;
     0     0     1     0&lt;br /&gt;
     0     1     0     2&lt;br /&gt;
     1     0     0     0&lt;br /&gt;
     0     0     0     0&lt;br /&gt;
     0     0     1     0&lt;br /&gt;
     0     1     0     3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Indeed, those four columns are linearly independent, and any linear combination of them is entangled.&lt;br /&gt;
&lt;br /&gt;
===A 2-entangled subspace with unequal local dimensions===&lt;br /&gt;
The largest 2-entangled subspace of &amp;lt;math&amp;gt;\mathbb{C}^4 \otimes \mathbb{C}^5&amp;lt;/math&amp;gt; has dimension 6. We can generate a 2-entangled subspace of this dimension as follows:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; E = full(EntangledSubspace(6,[4,5],2))&lt;br /&gt;
&lt;br /&gt;
E =&lt;br /&gt;
&lt;br /&gt;
     0     0     1     0     0     1&lt;br /&gt;
     0     1     0     0     1     0&lt;br /&gt;
     1     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     1     0     0&lt;br /&gt;
     0     0     1     0     0     2&lt;br /&gt;
     0     1     0     0     2     0&lt;br /&gt;
     1     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     1     0     0&lt;br /&gt;
     0     0     1     0     0     3&lt;br /&gt;
     0     1     0     0     3     0&lt;br /&gt;
     1     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     0     0     0&lt;br /&gt;
     0     0     0     1     0     0&lt;br /&gt;
     0     0     1     0     0     4&lt;br /&gt;
     0     1     0     0     4     0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
The largest r-entangled subspace of &amp;lt;math&amp;gt;\mathbb{C}^m \otimes \mathbb{C}^n&amp;lt;/math&amp;gt; has dimension (m-r)(n-r), so requesting a larger subspace will produce an error message. The method of construction that this function uses was described in &amp;lt;ref name=&amp;quot;CMW&amp;quot;&amp;gt;T. S. Cubitt, A. Montanaro, and A. Winter. On the dimension of subspaces with bounded Schmidt rank. &amp;lt;em&amp;gt;J. Math. Phys.&amp;lt;/em&amp;gt; 49:022107, 2008. E-print: [https://arxiv.org/abs/0706.0705 arXiv:0706.0705] [quant-ph]&amp;lt;/ref&amp;gt;. The basis produced by this function is sparse.&lt;br /&gt;
&lt;br /&gt;
{{SourceCode|name=EntangledSubspace}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
</feed>