Closed sahrak closed 3 years ago
@sahrak Thank you for reporting this. The parameters for sesolve
changed slightly since the guide was written and the guide wasn't updated. I will make a PR to fix it shortly, but in the mean time you can run:
qutip.floquet.fsesolve(H, psi0=psi0, tlist=tlist, e_ops=[qutip.num(2)], args=args)
@sahrak If #1675 works for you, I will merge it.
Describe the bug I am simply trying to run the code published on the qutip documentation website for the https://qutip.org/docs/latest/guide/dynamics/dynamics-floquet.html
I copied the code under the section: Pre-computing the Floquet modes for one period, and that worked fine, but then at the end of the section they point towards the function 'fsesolve' which would be the 'all-in-one' version of the code given previously, however it doesnt work and i get the error:
The code:
Your Environment QuTiP Version: 4.5.3 Numpy Version: 1.18.5 Scipy Version: 1.6.2 Cython Version: 0.29.23 Matplotlib Version: 3.2.2 Python Version: 3.8.3 Number of CPUs: 6 BLAS Info: INTEL MKL OPENMP Installed: False INTEL MKL Ext: True Platform Info: Windows (AMD64)
Additional context Add any other context about the problem here.