paraqeet.propagation.scipy_expm.ScipyExpm#

class paraqeet.propagation.scipy_expm.ScipyExpm(model, resolution)#

Bases: Propagation

Piecewise matrix exponential propagation system.

Solve the equation of motion by piecewise exponentiation with the Scipy package.

Parameters:
  • model (Model) – Represents the equation of motion for a given Hamiltonian.

  • res (float) – Resolution at which to sample the EOM.

  • resolution (float)

__init__(model, resolution)#
Parameters:

Methods

__init__(model, resolution)

get_parameters()

Per default, propagation methods have no parameters to optimize.

propagate(time)

Return the solution of the equations of motion.

set_initial_state(state)

Set initial state.

Attributes

is_open

Return if the propagation is for open or closed system.

resolution

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 equations of motion.

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.