SchmidtRank

From QETLAB
Revision as of 20:56, 15 November 2012 by Nathaniel (talk | contribs) (Created page with "{{Function |name=SchmidtRank |desc=Computes the Schmidt rank of a bipartite vector |req=opt_args |rel=SchmidtDecomposition<br />SchmidtNumber |upd=November...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SchmidtRank
Computes the Schmidt rank of a bipartite vector

Other toolboxes required opt_args
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 MATLAB's sprank function and thus is only an upper bound of the true Schmidt rank.

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.