krotov.pulse_options module

Summary

Data:

PulseOptions Options for the optimization of a control pulse

__all__: PulseOptions

Reference

class krotov.pulse_options.PulseOptions(lambda_a, shape=1)[source]

Bases: object

Options for the optimization of a control pulse

lambda_a

Krotov step size. This governs the overall magnitude of the pulse update. Large values result in small updates. Small values may lead to sharp spikes and numerical instability.

Type:float
shape

Function S(t) in the range [0, 1] that scales the pulse update for the pulse value at t. This can be used to ensure boundary conditions (S(0) = S(T) = 0), and enforce smooth switch-on and switch-off. You may also pass the shapes 1 or 0 for a constant shape.

Type:callable