37 #include <boost/filesystem.hpp>
38 #include <boost/optional.hpp>
64 virtual void run() =0;
68 template <
class Matrix,
class SymmGroup>
74 virtual void run() =0;
Model< Matrix, SymmGroup >::measurements_type measurements_type
virtual void measure(std::string archive_path, measurements_type &meas)
definition of Lattice base class
declaration of the MPS class (vector of MPSTensor)
definition of Model base class
MPS< Matrix, SymmGroup > mps
measurements_type iteration_measurements(int sweep)
measurements_type sweep_measurements
Model< Matrix, SymmGroup > model
time_stopper stop_callback
std::map< std::string, int > status_type
virtual void checkpoint_simulation(MPS< Matrix, SymmGroup > const &state, status_type const &)
utility functions for the MPO
include one of the Index class definitions
virtual std::string results_archive_path(status_type const &) const
definition of MPO class (vector of MPOTensor)
declaration of the TwoSiteTensor class
definition of simulation class
functions to operate on MPS and MPO (compute expectation values, etc.)
Adapted from alps/ngs/scheduler/stop_callback.hpp.
impl_type::measurements_type measurements_type
measurements_type all_measurements
functions to initialize the MPS
sim(DmrgParameters const &)
MPO< Matrix, SymmGroup > mpo
functions to contract tensor network states
MPO< Matrix, SymmGroup > mpoc