WrightSim.mixed package¶
Submodules¶
WrightSim.mixed.propagate module¶
- WrightSim.mixed.propagate.runge_kutta(t, efields, n_recorded, hamiltonian)[source]¶
Evolves the hamiltonian in time using the runge_kutta method.
- Parameters
t (1-D array of float) – Time points, equally spaced array. Shape T, number of timepoints
efields (ndarray <Complex>) – Time dependant electric fields for all pulses. SHape M x T where M is number of electric fields, T is number of time points.
n_recorded (int) – Number of timesteps to record at the end of the simulation.
hamiltonian (Hamiltonian) –
- The hamiltonian object which contains the inital conditions and the
function to use to obtain the matrices.
- Returns
ndarray – 2-D array of recorded density vector elements for each time step in n_recorded.
- Return type
<Complex>