Difference between revisions of "SchmidtRank"

From QETLAB
Jump to navigation Jump to search
(Created page with "{{Function |name=SchmidtRank |desc=Computes the Schmidt rank of a bipartite vector |req=opt_args |rel=SchmidtDecomposition<br />SchmidtNumber |upd=November...")
 
(Uploaded v1.01)
Line 2: Line 2:
 
|name=SchmidtRank
 
|name=SchmidtRank
 
|desc=Computes the [[Schmidt rank]] of a [[bipartite]] vector
 
|desc=Computes the [[Schmidt rank]] of a [[bipartite]] vector
|req=[[opt_args]]
+
|req=[[opt_args]]<br />[[sporth]]
 
|rel=[[SchmidtDecomposition]]<br />[[SchmidtNumber]]
 
|rel=[[SchmidtDecomposition]]<br />[[SchmidtNumber]]
|upd=November 15, 2012
+
|upd=November 23, 2012
|v=1.00}}
+
|v=1.01}}
<tt>'''SchmidtRank'''</tt> is a [[List of functions|function]] that computes the Schmidt Rank of a [[bipartite]] vector. If the vector is full, the Schmidt rank is computed using MATLAB's <tt>[http://www.mathworks.com/help/matlab/ref/rank.html rank]</tt> function. If the vector is sparse, the Schmidt rank is computed using MATLAB's <tt>[http://www.mathworks.com/help/matlab/ref/sprank.html sprank]</tt> function and thus is only an upper bound of the true Schmidt rank.
+
<tt>'''SchmidtRank'''</tt> is a [[List of functions|function]] that computes the Schmidt Rank of a [[bipartite]] vector. If the vector is full, the Schmidt rank is computed using MATLAB's <tt>[http://www.mathworks.com/help/matlab/ref/rank.html rank]</tt> function. If the vector is sparse, the Schmidt rank is computed using the [http://en.wikipedia.org/wiki/QR_decomposition QR decomposition].
  
 
==Syntax==
 
==Syntax==

Revision as of 20:49, 23 November 2012

SchmidtRank
Computes the Schmidt rank of a bipartite vector

Other toolboxes required opt_args
sporth
Related functions SchmidtDecomposition
SchmidtNumber

SchmidtRank is a function that computes the Schmidt Rank of a bipartite vector. If the vector is full, the Schmidt rank is computed using MATLAB's rank function. If the vector is sparse, the Schmidt rank is computed using the QR decomposition.

Syntax

  • RNK = SchmidtRank(VEC)
  • RNK = SchmidtRank(VEC,DIM)

Argument descriptions

  • VEC: A bipartite vector (e.g., a pure quantum state) to have its Schmidt rank computed.
  • DIM (optional, by default has both subsystems of equal dimension): A 1-by-2 vector containing the dimensions of the subsystems that VEC lives on.

Examples

Please add examples here.