Skip to main content

SSESimulation

Base class: Object

Simulation manager for the stochastic series expansion.

Factories

sse_simulation(const Lattice lattice, const NeighbourhoodRule neighbourhood_rule, real beta) -> SSESimulation

Constructs an SSE simulation instance.

Parameters

  • lattice: The lattice geometry for the system to be simulated.
  • neighbourhood_rule: The neighbourhood on which vertices can be defined.
  • beta: The inverse temperature.

sse_simulation(const Lattice lattice, const List<NeighbourhoodRule> neighbourhood_rules, real beta) -> SSESimulation

Constructs an SSE simulation instance.

Parameters

  • lattice: The lattice geometry for the system to be simulated.
  • neighbourhood_rules: The neighbourhoods on which vertices can be defined.
  • beta: The inverse temperature.

Members

NameDescription
addAdds a vertex to the simulation
equilibrateRuns a given number of equilibration sweeps with a maximum loop length and a custom random number generator.
get_betaReturns the inverse temperature at which the simulation is run.
historyReturns the history of operator strings recorded during the SSE simulation.
initializeInitializes the simulation using the heat bath algorithm with the conservative scattering function. Should be called after all vertices have been added.
set_betaSets a new inverse temperature for the simulation
simulateRuns a given number of simulation sweeps, updating the given order estimator.
support_sizeReturns the size of a named neighbourhood in the simulation.
support_tableReturns the neighbourhood table contained in the simulation.