run_simulation

  • full name: tenpy.run_simulation

  • parent module: tenpy

  • type: function

tenpy.run_simulation(simulation_class='GroundStateSearch', simulation_class_kwargs=None, **simulation_params)[source]

Run the simulation with a simulation class.

Parameters:
  • simulation_class (str) – The name of a (sub)class of Simulation to be used for running the simulation.

  • simulation_class_kwargs (dict | None) – A dictionary of keyword-arguments to be used for the initializing the simulation.

  • **simulation_params – Further keyword arguments as documented in the corresponding simulation class, see Simulation.

Returns:

results – The results of the Simulation, i.e., what run() returned.

Return type:

dict