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, basis.m, acomm.m, arnoldi.m, atranspose.m, aux_mat.m, binpack.m, cheap_norm.m, cheb_coeff.m, clean_up.m, dirdiff.m, eigenfields.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, frob_chop.m, gaussfun.m, hdot.m, herm_spline.m, jacobianest.m, keep_rank.m, krondelta.m, kronm_new.m, logfactorial.m, lorentzcon.m, lorentzfun.m, md5_hash.m, remncomm.m, remtrace.m, rspert.m, rspt_eig.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, trapdiff.m, vvpert.m, Kernel_utilities
Version 2.3, authors: Ilya Kuprov, Dmitry Savostyanov