braket.analog_hamiltonian_simulator.rydberg.numpy_solver module

braket.analog_hamiltonian_simulator.rydberg.numpy_solver.rk_run(program: Program, configurations: list[str], simulation_times: list[float], rydberg_interaction_coef: float, progress_bar: bool = False) ndarray[source]

Implement the implicit Runge-Kutta method of order 6 for solving the schrodinger equation

Parameters:
  • program (Program) – An analog simulation program for a Rydberg system

  • configurations (list[str]) – The list of configurations that comply with the blockade approximation.

  • simulation_times (list[float]) – The list of time points

  • rydberg_interaction_coef (float) – The interaction coefficient

  • progress_bar (bool) – If true, a progress bar will be printed during the simulation. Default: False

Returns:

ndarray – The list of all the intermediate states in the simulation.

Notes on the algorithm: For more details, please refer to

https://en.wikipedia.org/wiki/Gauss-Legendre_method