SyTen

◆ maybeCache() [2/2]

void syten::MPS::LBOState::maybeCache ( Index  site,
Local  l = Local::Both 
) const

Caches tensors on site site if pleaseCache is true.

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 cache(), and pleaseCache.

+ Here is the call graph for this function: