Simulation OverviewΒΆ
Next quick start chapter: Acknowledgments and Citation
Simulations in OSMPS are specified by Python files with .py suffix. To run a simulation simulation.py, call
osmps@manual:~$ python simulation.py
at the command line. The basic outline of a simulation file is
Include the required Python libraries.
Define the local Hilbert space, i.e., the microscopic constituents of the lattice model.
Define the Hamiltonian (
MPO.MPO
).Define observables and other measures (
Obs.Observables
).Choose the algorithms which are to be used and choose their convergence criteria (Python Module convergence)
Define the other simulation metadata.
Run the simulations (
tools.runMPS()
)Extract observables data and postprocess.
In the following we have a list of example simulation within OSMPS. We recommend to use one or both of following examples to verify that your installation of OSMPS has been completed correctly:
In the main section of the OSMPS manual you will find an explanation of all the optional parameters and an additional section with examples which contain:
Haldane Shastry
Infinite Heisenberg (spin 1)
Long-range Tunneling
ParallelHCDipolar
Spinless Fermions
If one of those examples are close to your problem, you might start from there.
Next quick start chapter: Acknowledgments and Citation