| SRDef syten::mutualInfo::entropyTwoSite | ( | MPS::State & | input, |
| Index | site1, | ||
| Index | site2 | ||
| ) |
Calculates the two site entropy of a state.
| input | Input state. |
| site1 | First site of the subsystem for which the entropy shall be calculated. |
| site2 | Second site of the subsystem. |
merge the upper and lower indices together
References syten::entropy(), syten::entropyOneSite(), syten::Basis::flipped(), syten::genFuse(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::MPS::State::leftnorm(), syten::MPS::State::lIdx, syten::IdentityDenseTensorImpl::merge(), syten::MPS::State::rIdx, syten::MPS::State::rightnorm(), syten::MPS::State::size(), syten::sum(), std::swap(), and syten::MPS::State::uIdx.
Here is the call graph for this function: