unit_state.m
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