qutip_qtrl.errors
Exception classes for the Quantum Control library
Exceptions
Base class for all qutip control exceptions |
|
|
A function behaved in an unexpected way . |
|
Exception raised to terminate execution when the goal has been reached during the optimisation algorithm |
|
Exception raised to terminate execution when the minimum gradient normal has been reached during the optimisation algorithm |
Exception raised to terminate execution when the number of calls to the fidelity error function has exceeded the maximum |
|
Exception raised to terminate execution when the optimisation time has exceeded the maximum set in the config |
|
Superclass for all early terminations from the optimisation algorithm |
|
|
A function has been used incorrectly. |
- exception qutip_qtrl.errors.FunctionalError(msg)[source]
A function behaved in an unexpected way .. attribute:: funcname
function name where error occurred
- msg
Explanation
- exception qutip_qtrl.errors.GoalAchievedTerminate(fid_err)[source]
Exception raised to terminate execution when the goal has been reached during the optimisation algorithm
- exception qutip_qtrl.errors.GradMinReachedTerminate(gradient)[source]
Exception raised to terminate execution when the minimum gradient normal has been reached during the optimisation algorithm
- exception qutip_qtrl.errors.MaxFidFuncCallTerminate[source]
Exception raised to terminate execution when the number of calls to the fidelity error function has exceeded the maximum
- exception qutip_qtrl.errors.MaxWallTimeTerminate[source]
Exception raised to terminate execution when the optimisation time has exceeded the maximum set in the config