void syten::MPS::LBOState::maybeCache | ( | ) | const |
Caches tensors on all sites if pleaseCache
is true.
If l
is Local::Both or Local::M, the MPS tensors will be cached. If l
is Local::V or Local::Both, the LBO matrices will be cached.
References syten::MPS::LBOState::Local::Both, cache(), and size().
Referenced by dropUnmatchedM(), dropUnmatchedV(), LBOState(), leftnormM(), operator*=(), physnormM(), physnormV(), and rightnormM().