Difference between revisions of "Unit state.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Returns a unit state in the current formalism and basis. Syntax: rho=unit_state(spin_system) There are no adjustable parameters.")
 
Line 1: Line 1:
−
Returns a unit state in the current formalism and basis. Syntax:
+
{{DISPLAYTITLE:unit_state.m}} __NOTOC__
 +
Returns the unit state vector or matrix in the current formalism and basis.
  
−
                    rho=unit_state(spin_system)
+
==Syntax==
  
−
There are no adjustable parameters.
+
    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]]''

Revision as of 17:30, 29 December 2018

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