Represents a sum of two-site gates acting on different sites, e.g. More...
#include <operators.h>
Collaboration diagram for syten::IPEPS::SumOp:Public Member Functions | |
| SumOp & | operator*= (SDef c) |
| Multiplies this operator by a scalar. More... | |
| SumOp & | operator+= (ATwoOp other) |
| Adds another ATwoOp to this SumOp. More... | |
| SumOp & | operator+= (SumOp other) |
| Adds two SumOp together. More... | |
| void | reduce () |
| Removes elements whose tensors have zero norm. More... | |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int in_version) |
| Boost archiving. More... | |
| SumOp (std::string desc_="", std::vector< ATwoOp > ops_={}) | |
| Standard and default ctor. More... | |
Public Attributes | |
| std::string | description = "" |
| brief descriptions of the operator. More... | |
| std::vector< ATwoOp > | ops = {} |
| list of two-site gates. More... | |
Static Public Attributes | |
| static constexpr unsigned int | version = 1 |
| current version, bump if you change one of the data structures here More... | |
Represents a sum of two-site gates acting on different sites, e.g.
a Hamiltonian.