SyTen

◆ fine_grain()

State syten::MPS::fine_grain ( State const &  inp,
Lattice const &  target,
std::ostream out,
bool  collapse 
)

Fine-grains a state to be compatible with the supplied lattice.

Prints progress reports into out. If collapse is true, assumes that the state is compatible with the collapsed coarse-grained lattice.

References syten::Basis::flipped(), std::flush(), syten::genCombinator(), syten::genFuse(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::MPS::State::lIdx, syten::MPS::State::lInt, syten::MPS::State::resize(), syten::MPS::State::rIdx, syten::MPS::State::rInt, syten::MPS::Lattice::siteBasis(), syten::MPS::Lattice::size(), syten::SVD::svd(), syten::MPS::State::uIdx, and syten::MPS::State::uInt.

Referenced by syten::Pyten::init_mp_mg().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: