Stateinfo.m

From Spinach Documentation Wiki
Revision as of 15:11, 9 September 2015 by Kuprov (talk | contribs) (Created page with "Prints the state vector norm and the list of the most populated basis states in the order of decreasing population. Syntax: stateinfo(spin_system,rho,npop...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prints the state vector norm and the list of the most populated basis states in the order of decreasing population. Syntax:

                  stateinfo(spin_system,rho,npops)

Parameters:

               rho   - state vector
             npops   - number of largest populations to print

Note: this function requires a spherical tensor basis set.