LLNL / quandary

Optimal control for open quantum systems
MIT License
50 stars 9 forks source link

Piece-wise constant control functions and total-variation penalty term #27

Closed andersp closed 3 months ago

andersp commented 3 months ago

This PR includes a new class for piece-wise constant control functions called BSpline0. It also includes a new penalty term that suppresses sudden variations in the control amplitude, when the BSpline0 basis is used during optimization. Functionality has also been added to use the new functionality from the Python interface, see examples/pythoninterface/example_spline0.py.

andersp commented 3 months ago

It would make sense to move the description of the Tikhonov term to section 3.5, where all the other penalty terms are discussed.