Spin Dynamics Forum

SpinDynamica support => Bug reports => Topic started by: JBashir on August 04, 2013, 01:41:23 PM

Title: Symbolic phase fails for RotationSuperoperator
Post by: JBashir on August 04, 2013, 01:41:23 PM
Hi,
it appears, that RotationSuperoperator[] with sympbolic phases "-x" & "-y" returns a non-numerical matrix, which cannnot be used for Amplitude calculations:
Code: [Select]
TransformationAmplitude[
 opI["z"] -> opI["y"],
 {RotationSuperoperator[{\[Pi]/2, "-x"}]}
 ]
SpinDynamica returns the erromessage:

NPropagate::nonnumeric: A non-numeric matrix was detected. The requested context does not permit Operators or Superoperators with symbolic coefficients.

Setting the phase numerically (pi) circumvents the problem. I attached a notebook demonstrating the issue.

Cheers,
JBashir




Title: Re: Symbolic phase fails for RotationSuperoperator
Post by: MalcolmHLevitt on August 15, 2013, 08:09:02 PM
Thanks JBashir,
 this looks like a simple bug and it will be fixed on the next release.
 all the best
Malcolm
Title: Re: Symbolic phase fails for RotationSuperoperator
Post by: MalcolmHLevitt on September 13, 2013, 06:04:53 PM
This bug has been fixed in SDv2.8.1.
all the best
Malcolm