QuantumNLDiffEq.jl
QuantumNLDiffEq.jl copied to clipboard
The meaning of M in the test case and how to plot the solution after train.
Question❓
I have run the test case in the repository. I have a question what is the meaning of M? Does it be a simulation duration? because the plot uses new_M for the x-axis. In addition, if M is the simulation duration when I tried to change M from 0.9 to 10 I got the error that DomainError with 1.001001001001001: asin(x) is not defined for |x| > 1.. If M is not the simulation duration, then how could I generate the solution after train and plot it?
Them you for your time.
@HuynhTran0301 M is indeed duration. It has larger step value and smaller length. This was for training efficiently.
I used new_M, which is the same as M but better for plotting because of smaller step and larger length (so smoother plot), but not good for training.
You can still use M to plot the solution as well. The plot won't be as smooth but there's no issue with that.