SyTen

◆ entropyOneSite()

SRDef syten::entropyOneSite ( MPS::State input,
Index const  site 
)

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 entropy(), syten::MPS::State::leftnorm(), syten::MPS::State::lIdx, syten::MPS::State::rIdx, syten::MPS::State::rightnorm(), syten::MPS::State::size(), and syten::MPS::State::uIdx.

Referenced by allSiteEntropy(), and entropyTwoSite().

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