Krotov’s Method in quantum control

The latest version of QuantumControl is 0.2.0. You have 0.0.1, which was basically a placeholder release and will not be useable for anything.

If you start with a new Project and install QuantumControl into that, you should be fine.

You can do this, e.g., with the following, in some (new) project folder:

julia --project=.
julia> ]add QuantumControl

Then you can run all the command from the Example in the same REPL (you’ll also want to install Plots, and probably skip the “DrWatson” cell, unless you’ve set up your project with DrWatson)

I think you can also just run ] update in your base environment (the REPL you get if you just run julia), but I strongly recommend against installing anything into your base environment. For reproducibility, you’ll always want to work with a project folder, or even use something like DrWatson. Maybe start afresh by deleting your ~./julia folder (make a backup fist: you might have dev-installs are in there, but otherwise that folder doesn’t contain anything that’s not re-generated automatically)