Difference between revisions of "Unit state.m"
(Normalise sequential blank lines) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
rho=unit_state(spin_system) | rho=unit_state(spin_system) | ||
| − | == | + | ==Parameters== |
spin_system - Spinach data object containing basis | spin_system - Spinach data object containing basis | ||
Revision as of 17:53, 5 June 2026
Returns the unit state vector or matrix in the current formalism and basis.
Syntax
rho=unit_state(spin_system)
Parameters
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