stateinfo.m

From Spinach Documentation Wiki
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)

Arguments

               rho   - state vector

             npops   - number of largest populations to print

Outputs

  This function prints a summary of the state composition to the con-
  sole in the following format:

        (L1,M1) (L2,M2) ... (Ln,Mn)     coefficient     number

  This corresponds to the direct product of single-spin irreducible
  spherical tensors with the specified indices, its coefficient in 
  the linear combination, and the number of the corresponding state
  in the basis set.

Examples

Several examples are available in examples/singlet_states directory, where the composition of the singlet states is analysed using this function.

Notes

This function requires sphten-liouv formalism.

See also

irr_sph_ten.m, sphten2zeeman.m, pauli.m, stevens.m


Version 2.2, authors: Ilya Kuprov, Konstantin Pervushin