SyTen

◆ add() [1/3]

void syten::MPS::Lattice::add ( std::string const &  id,
std::string const &  desc,
Operator const &  op,
bool const  overwrite = false 
)

Add a global operator.

Parameters
idkey used in globalOperators, e.g. H or H_S
descfree-form string describing the operator
opMPO operator
overwriteset to true if you want to overwrite an existing operator

Referenced by syten::MPS::coarse_grain(), and syten::MPS::QcLatticeGenerator::construct_su2u1().

+ Here is the caller graph for this function: