The following errors, but it shouldn't, since the (Tx,Ty,Tz) basis is uniquely defined even when the zero-field energy levels are degenerate (E=0). The Tx, Ty, and Tz states need to hard-coded into validatespinsys and used to calculate the density matrix in the uncoupled basis, instead of trying to map the xyz basis to zerofield.
The following errors, but it shouldn't, since the (Tx,Ty,Tz) basis is uniquely defined even when the zero-field energy levels are degenerate (E=0). The Tx, Ty, and Tz states need to hard-coded into
validatespinsys
and used to calculate the density matrix in the uncoupled basis, instead of trying to map thexyz
basis tozerofield
.