-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
num_expect=0 although evolution can run #332
Comments
Very strange, the code works for me. julia> sol = sesolve(prob)
Progress: [==============================] 100.0% --- Elapsed Time: 0h 00m 04s (ETA: 0h 00m 00s)
Solution of time evolution
(return code: Success)
--------------------------
num_states = 1
num_expect = 1
ODE alg.: OrdinaryDiffEqTsit5.Tsit5{typeof(OrdinaryDiffEqCore.trivial_limiter!), typeof(OrdinaryDiffEqCore.trivial_limiter!), Static.False}(OrdinaryDiffEqCore.trivial_limiter!, OrdinaryDiffEqCore.trivial_limiter!, static(false))
abstol = 1.0e-8
reltol = 1.0e-6 julia> QuantumToolbox.versioninfo()
QuantumToolbox.jl: Quantum Toolbox in Julia
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
Copyright © QuTiP team 2022 and later.
Current admin team:
Alberto Mercurio and Yi-Te Huang
Package information:
====================================
Julia Ver. 1.11.2
QuantumToolbox Ver. 0.23.0
SciMLOperators Ver. 0.3.11
LinearSolve Ver. 2.38.0
OrdinaryDiffEqCore Ver. 1.13.0
System information:
====================================
OS : Linux (x86_64-linux-gnu)
CPU : 32 × 13th Gen Intel(R) Core(TM) i9-13900KF
Memory : 62.514 GB
WORD_SIZE: 64
LIBM : libopenlibm
LLVM : libLLVM-16.0.6 (ORCJIT, alderlake)
BLAS : libopenblas64_.so (ilp64)
Threads : 16 (on 32 virtual cores) I see that you are using Windows. Maybe it's related to that. But I doubt because we should have runtests also for windows machines. |
Thank you for reporting this bug. There is an incompatibility issue between Solution 1This issue can be solved quickly by updating just open pkg> update DiffEqCallbacks or using Pkg; Pkg.update("DiffEqCallbacks") Solution 2We will also update the So you can also solve this problem by updating |
Bug Description
Run a simple evolution, not recording the expectation value
Code to Reproduce the Bug
Code Output
Expected Behaviour
As in https://qutip.org/QuantumToolbox.jl/stable/users_guide/time_evolution/sesolve
Solution of time evolution
(return code: Success)
num_states = 1
num_expect = 1
ODE alg.: OrdinaryDiffEqTsit5.Tsit5{typeof(OrdinaryDiffEqCore.trivial_limiter!), typeof(OrdinaryDiffEqCore.trivial_limiter!), Static.False}(OrdinaryDiffEqCore.trivial_limiter!, OrdinaryDiffEqCore.trivial_limiter!, static(false))
abstol = 1.0e-8
reltol = 1.0e-6
Your Environment
Additional Context
returns the following error (expect is empty):
The text was updated successfully, but these errors were encountered: