iPEPSv2 operator representing a sum of one- and two-site operators. More...
#include <operators.h>
Collaboration diagram for syten::IPEPSv2::SumOp:Public Member Functions | |
| MemoryUsage::MemorySize | allocSize () const |
syten::MemoryUsage::allocSize()/memory_size.h support. More... | |
| void | reduce () |
| Removes operators with zero norm. More... | |
Public Attributes | |
| std::string | desc = "" |
| Brief description of the operator. More... | |
| Vec< std::variant< AOneOp, ATwoOp, A12Op > > | ops = {} |
List of one- and two-site operators summing up to this SumOp. More... | |
Boost serialisation support. | |
| static constexpr unsigned int | version = 1 |
| Boost serialisation version. More... | |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int in_version) |
| Boost serialisation. More... | |
iPEPSv2 operator representing a sum of one- and two-site operators.
The individual operators are stored in a vector of variants. No guarantees are made that the order of operators in the vector is preserved.