Difference between revisions of "Unit state.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
Line 18: Line 18:
 
==See also==
 
==See also==
 
[[unit_oper.m]], [[mprealloc.m]], [[operator.m]], [[state.m]]
 
[[unit_oper.m]], [[mprealloc.m]], [[operator.m]], [[state.m]]
−
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]], [[Dmitry Savostyanov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]], [[Dmitry Savostyanov]]''

Revision as of 11:31, 25 April 2026

Returns the unit state vector or matrix in the current formalism and basis.

Syntax

    rho=unit_state(spin_system)

Arguments

    spin_system  - Spinach data object containing basis 
                   information (call basis.m first)

Outputs

    rho          - vector or matrix representation of
                   the unit state 

See also

unit_oper.m, mprealloc.m, operator.m, state.m

Version 2.3, authors: Ilya Kuprov, Dmitry Savostyanov