std::vector< HamiltonianSummand > syten::MPS::SwappableTEBD::parse_terms_file | ( | std::string const & | file, |
Lattice const & | lat | ||
) |
Parses a file containing lines of the form A i j <MPO exp>
where A
is an arbitrary single-character tag, i
and j
are site indices and the MPO expression only acts nontrivially on those site indices.
References std::string::assign(), std::vector< T >::emplace_back(), std::getline(), std::move(), syten::MPS::parse(), syten::MPS::SwappableTEBD::parse_terms_file(), and SYTEN_ASSERT_MSG.
Referenced by syten::MPS::SwappableTEBD::parse_terms_file().