SchmidtRank

From QETLAB
Revision as of 03:54, 27 November 2012 by Nathaniel (talk | contribs)
Jump to navigation Jump to search
SchmidtRank
Computes the Schmidt rank of a bipartite vector

Other toolboxes required opt_args
sporth
Related functions OperatorSchmidtRank
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.