Difference between revisions of "Stateinfo.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
(Update function See also links and function index membership) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
stateinfo(spin_system,rho,npops) | stateinfo(spin_system,rho,npops) | ||
| − | == | + | ==Parameters== |
rho - state vector | rho - state vector | ||
| Line 31: | Line 31: | ||
==See also== | ==See also== | ||
| − | [[irr_sph_ten.m]], [[sphten2zeeman.m]], [[pauli.m]], [[stevens.m]] | + | [[irr_sph_ten.m]], [[sphten2zeeman.m]], [[pauli.m]], [[stevens.m]], [[trajan.m]], [[trajsimil.m]], [[Kernel_functions]] |
''Version 2.2, authors: [[Ilya Kuprov]], [[Konstantin Pervushin]]'' | ''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