Two-site gate acting on two defined sites. More...
#include <operators.h>
Collaboration diagram for syten::IPEPS::ATwoOp:Public Member Functions | |
| ATwoOp | operator* (ATwoOp const &b) const |
Multiplies two applied two-site operators such that *this is applied first and b is applied second. More... | |
| ATwoOp | operator+ (ATwoOp const &b) const |
| Adds two applied two-site operators acting on the same two sites. More... | |
| ATwoOp & | operator+= (ATwoOp const &b) |
| Adds another applied two-site operator to this operator, operators need to act on same sites. More... | |
| template<typename Archive > | |
| void | serialize (Archive &ar, const unsigned int in_version) |
| Boost archiving. More... | |
Public Attributes | |
| Coord | left |
| leftish site on which the gate acts. More... | |
| Tensor< 4 > | op |
| two-site gate. More... | |
| Coord | right |
| right-ish site on which the gate acts. More... | |
Static Public Attributes | |
| static const std::array< Direction, 4 > | dirs = {Direction::Inc, Direction::Inc, Direction::Out, Direction::Out} |
| defines leg directions for TwoOp objects. More... | |
| static constexpr Index | dlIdx {3} |
| lower left index, connects to left state site. More... | |
| static constexpr int | dlInt {3} |
| lower left index, connects to left state site. More... | |
| static constexpr Index | drIdx {4} |
| lower right index, connects to right state site. More... | |
| static constexpr int | drInt {4} |
| lower right index, connects to right state site. More... | |
| static constexpr Index | ulIdx {1} |
| upper left index, ‘new’ physical index on left site. More... | |
| static constexpr int | ulInt {1} |
| upper left index, ‘new’ physical index on left site. More... | |
| static constexpr Index | urIdx {2} |
| upper right index, ‘new’ physical index on right site. More... | |
| static constexpr int | urInt {2} |
| upper right index, ‘new’ physical index on right site. More... | |
| static constexpr unsigned int | version = 1 |
| current version, bump if you change one of the data structures here More... | |
Two-site gate acting on two defined sites.