Schmidt rank (source code)

= Schmidt rank
{c}
{title2=$r$}
{wiki}

The Schmidt rank is the number of nonzero terms in a <Schmidt decomposition>, equivalently the rank of either <reduced density matrix> of a bipartite pure state.