Heavyside function

18 visninger
Gå til det første ulæste opslag

daniel...@gmail.com

ulæst,
21. nov. 2016, 05.00.1121.11.2016
til QuTiP: Quantum Toolbox in Python
Hi!

Is there any way to use pulses as time-dependent coefficients for the mesolve function?

I know, of couse, that I can define a function and use [H,func] for that. But somehow, this cannot reproduce the physical behavior of the system I am simlating.

The string based approach ([H,'sin(w*t)']) does work. But unfortunately, this is not pulsed. Does anybody know a way to implement pulses in the String-approach?



Best Regards
Daniel

Paul Nation

ulæst,
21. nov. 2016, 07.53.3621.11.2016
til QuTiP Group

Of course you are free to define a pulse shape in the string format.  However, the Heavyside function is not a smooth function and will lead to some strange results due to the discontinuity.  You would be better off using a smooth and continuous approximation to it.


--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Svar alle
Svar til forfatter
Videresend
0 nye opslag