Difference between revisions of "Stateinfo.m"
(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...") |
(Update function See also links and function index membership) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Prints the state vector norm and the list of the most populated basis | + | {{DISPLAYTITLE:stateinfo.m}} __NOTOC__ |
| − | states in the order of decreasing population. | + | Prints the state vector norm and the list of the most populated basis states in the order of decreasing population. |
| − | + | ==Syntax== | |
| − | Parameters | + | stateinfo(spin_system,rho,npops) |
| + | |||
| + | ==Parameters== | ||
rho - state vector | 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 [[Basis_set_specification|formalism]]. | ||
| + | |||
| + | ==See also== | ||
| + | [[irr_sph_ten.m]], [[sphten2zeeman.m]], [[pauli.m]], [[stevens.m]], [[trajan.m]], [[trajsimil.m]], [[Kernel_functions]] | ||
| − | + | ''Version 2.2, authors: [[Ilya Kuprov]], [[Konstantin Pervushin]]'' | |
Latest revision as of 19:41, 6 June 2026
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
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, trajan.m, trajsimil.m, Kernel_functions
Version 2.2, authors: Ilya Kuprov, Konstantin Pervushin