LLNL / Juqbox.jl

Juqbox.jl solves quantum optimal control problems in closed quantum systems
MIT License
42 stars 10 forks source link

Improvements to eval_forward, getgamma, linear solvers #29

Closed leespen1 closed 2 years ago

leespen1 commented 2 years ago

Changed getgamma to have specified input types, an exception for invalid order provided, and a warning for invalid stages provided.

Added warning for maximum number of Jacobi iterations used.

Added "built-in" linear solver type.

Changed eval_forward to evolve an array of multiple initial state vectors, added arguments for more control over how much of the state evolution is saved, and changed several positional arguments to keyword arguments.

leespen1 commented 2 years ago

Simplified getgamma, and also changed behavior to default to the highest-stage variant of a method when the number of stages given is invalid (simpler than finding closest number of stages).

Also renamed the "built-in" linear solver functions to be more descriptive ("gaussian elimination").