| SRDef syten::entropyOneSite | ( | MPS::State & | input, |
| Index const | site, | ||
| std::set< Index > const & | bath | ||
| ) |
Calculates the single site entropy of a state.
| input | Input state. |
| site | Single site for which the entropy shall be calculated. |
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: