SyTen

◆ cache() [2/2]

bool syten::MPS::LBOState::cache ( Index  site,
Local  l = Local::Both 
) const

Caches tensors on site site.

If l is Local::Both or Local::M, the MPS tensor will be cached. If l is Local::V or Local::Both, the LBO matrix will be cached.

References data_m, data_v, syten::MPS::LBOState::Local::M, and syten::MPS::LBOState::Local::V.

Referenced by syten::MPS::TDVP::LBOWorker::calc_contrl(), syten::MPS::TDVP::LBOWorker::calc_contrr(), syten::MPS::DMRG::LBOWorker::LBOWorker(), and syten::MPS::DMRG::LBOPDMRG::saveState().

+ Here is the caller graph for this function: