SyTen
syten-mutualInformation.cpp File Reference

Binary to calculate the mutual Information of a state or the entropy of a subsystem consiting of one or two sites. More...

+ Include dependency graph for syten-mutualInformation.cpp:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

DenseTensor< 2, SRDef > syten::allSiteEntropy (MPS::State &input, Index const width)
 Calculates the two site entropy of a state on all sites i != j and single site entropy on all sites i == j Works identical to entropyTwoSite but reduces the overhead by storing and reusing some Tensors. More...
 
DenseTensor< 2, SRDef > syten::allSiteEntropy (MPS::State &input, std::set< Index > const &bath)
 Overload for PP-states. More...
 
SRDef syten::entropy (Tensor< 2 > densityMatrix)
 Calculates the entropy of a density matrix. More...
 
SRDef syten::entropyOneSite (MPS::State &input, Index const site, std::set< Index > const &bath)
 Calculates the single site entropy of a state. More...
 
SRDef syten::entropyTwoSite (MPS::State &input, Index site1, Index site2)
 Declaration. More...
 
SRDef syten::entropyTwoSite (MPS::State &input, Index site1, Index site2, std::set< Index > const &bath)
 Overload for PP-states. More...
 

Detailed Description

Binary to calculate the mutual Information of a state or the entropy of a subsystem consiting of one or two sites.