qojulia / QuantumOptics.jl

Library for the numerical simulation of closed as well as open quantum systems.
http://qojulia.org
Other
518 stars 101 forks source link

Encounter an error when reproducing the code sample from the official manual #347

Closed draftman9 closed 1 year ago

draftman9 commented 1 year ago

I would like to study this Pkg by reproducing the code samples from the official manual. Although I have copy the code sample 4 from the maual, I encountered an error of lim not definded. I have also looked through the first 3 samples and run them, I did not find any information about the variable lim. So I am thinking about whether the lim is a bug may because the samples are run depending on the version 0.4.1 and I am using the version 1.0.7. Following is the pic that may help you:

Screenshot from 2022-11-13 12-09-32

And this is the official maual pic: image

Is there anything I neglect?

draftman9 commented 1 year ago

I know where the problem lies: the so called lim is actually 1im.