SyTen

◆ entropyOneSite()

SRDef syten::entropyOneSite ( MPS::State input,
Index const  site,
std::set< Index > const &  bath 
)

Calculates the single site entropy of a state.

Parameters
inputInput state.
siteSingle site for which the entropy shall be calculated.
Returns
Single site entropy.

References std::set< K >::count(), entropy(), entropyTwoSite(), syten::MPS::State::leftnorm(), syten::MPS::State::lIdx, std::move(), syten::MPS::State::rIdx, syten::MPS::State::rightnorm(), syten::MPS::State::size(), and syten::MPS::State::uIdx.

Referenced by entropyTwoSite(), and syten::mutualInfo::entropyTwoSite().

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