paraqeet.propagation.vern7.Vern7#
- class paraqeet.propagation.vern7.Vern7(model, resolution)#
Bases:
PropagationPropagate state by solving the Schrödinger equation / Lindblad master equation by using ODE solver.
Implements Vern7 ODE Solver algorithm non adaptive (fixed time-step) version.
- Parameters:
model (EquationOfMotion)
resolution (float)
- __init__(model, resolution)#
- Parameters:
model (Model) – Model
res (float) – Resolution at which to sample the EOM
resolution (float)
Methods
__init__(model, resolution)Per default, propagation methods have no parameters to optimize.
propagate(time)Return the solution of the equation of motion for open/closed system using vern7 ODE solver.
set_initial_state(state)Set initial state.
Attributes
Return if the propagation is for open or closed system.
Return the propagation resolution.
- get_parameters()#
Per default, propagation methods have no parameters to optimize.
- property is_open: bool#
Return if the propagation is for open or closed system.
- propagate(time)#
Return the solution of the equation of motion for open/closed system using vern7 ODE solver.
Loop over all desired times in time at set resolution.
- Parameters:
time (Array) – Any one-dimensional vector of timestamps.
- Returns:
Returns the solution of the equations of motion.
- Return type:
Array
- Raises:
ConfigurationException – If the initial state is not set.
- property resolution: float#
Return the propagation resolution.
- set_initial_state(state)#
Set initial state.