SyTen

◆ get_psi()

template<mpi::Enable enable = mpi::Enable::No>
State syten::MPS::TDVP::PTDVP< enable >::get_psi ( bool const  move = false,
bool const  verbose = false 
)
inline

Creates the full MPS from the partial MPSes in the workers.

Parameters
moveWhether to move or copy the tensors from the workers. If true will invalidate Worker.

References syten::TDVP::Conf::cache, syten::MPS::State::cache(), syten::MPS::TDVP::PTDVP< enable >::conf, syten::MPS::TDVP::PTDVP< enable >::connections, syten::TDVP::Conf::current, syten::MPS::TDVP::PTDVP< enable >::errs, syten::MPS::State::history, syten::logGN(), syten::MPS::TDVP::PTDVP< enable >::logTrace(), std::move(), syten::MPS::TDVP::PTDVP< enable >::mpi_clear(), syten::MPS::TDVP::PTDVP< enable >::numWorkers, syten::MPS::State::resize(), syten::MPS::State::rightnorm(), syten::MPS::State::size(), syten::MPS::TDVP::PTDVP< enable >::sync_state(), syten::to_string_rd(), syten::to_string_real(), syten::verbose(), and syten::MPS::TDVP::PTDVP< enable >::workers.

Referenced by syten::MPS::TDVP::PTDVP< enable >::saveState().

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