different results for the same simulations

40 views
Skip to first unread message

Alexander Zotov

unread,
Nov 23, 2022, 5:39:15 PM11/23/22
to QuTiP: Quantum Toolbox in Python
it seems that when plotting steady state P wrt A,eps for the two notebooks below gives different results when using the same paramters (paramters used:

delta = 1.0 * 2 * np.pi # qubit sigma_x coefficient
f = 5
w = f * 2 * np.pi # driving frequency
omega=w
# T = 2 * np.pi / w # driving period
gamma1 = 10/w # relaxation rate
gamma2 = 0.1/w # dephasing rate
# omega = 0.05 * 2 * np.pi # qubit sigma_z coefficient

A_vec = np.linspace(0.0, 20.0, 50) * 2 * np.pi # driving amplitude
eps0_vec = np.linspace(-20.0, 20.0, 50) * 2 * np.pi



results from notebook 1) 

snippet 1.png







results from notebook  2)image_2022-11-23_221601523.png

Simon Cross

unread,
Dec 4, 2022, 11:58:04 AM12/4/22
to qu...@googlegroups.com
Hi Alexander,

The two notebooks you refer to are from forks of the qutip-notebooks repository, and not qutip/qutip-notebooks. I suggest we start from these two versions:


I agree it appears that they are doing similar things, but the code in the two is different in many ways. It would be helpful for this to be less confusing and for the implementations to be more similar.

Would you mind opening an issue at https://github.com/qutip/qutip-tutorials and asking for those two tutorials to be improved and aligned?

Regards,
Simon
Reply all
Reply to author
Forward
0 new messages