• full name: tenpy.simulations.simulation

  • parent module: tenpy.simulations

  • type: module


Inheritance diagram of tenpy.simulations.simulation

Simulation(options, *[, setup_logging, ...])

Base class for simulations.


Skip(msg, filename)

Error raised if simulation output already exists.


estimate_simulation_RAM(*[, ...])

Pre-simulation RAM estimate.

init_simulation([simulation_class, ...])

Run the simulation with a simulation class.

init_simulation_from_checkpoint(*[, ...])

Re-initialize a simulation from a given checkpoint without running it.

output_filename_from_dict(options[, parts, ...])

Format a output_filename from parts with values from nested options.

resume_from_checkpoint(*[, filename, ...])

Resume a simulation run from a given checkpoint.

run_seq_simulations(sequential[, ...])

Sequentially run (variational) simulations.

run_simulation([simulation_class, ...])

Run the simulation with a simulation class.

Module description

This module contains base classes for simulations.

The Simulation class tries to put everything needed for a simulation in a structured form and collects task like initializing the tensor network state, model and algorithm classes, running the actual algorithm, possibly performing measurements and saving the results.

See Simulations for an overview and Examples for a list of example parameter yaml files.