Represents a product of two-site gates acting on different sites, e.g. More...
#include <operators.h>
Public Member Functions | |
ProdOp & | mult (ATwoOp op) |
Multiplies in another two-site gate at the end. More... | |
ProdOp & | multFirst (ATwoOp op) |
Multiplies in another two-site gate at the front. More... | |
ProdOp (std::string desc_="", std::vector< ATwoOp > ops_={}) | |
Standard and default ctor. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int in_version) |
Boost archiving. More... | |
Public Attributes | |
std::string | description = "" |
brief description of the operator More... | |
std::vector< ATwoOp > | ops = {} |
ordered list of two-site gates, first element is applied first. 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 product of two-site gates acting on different sites, e.g.
~ \( exp\left(-\tau \hat H\right)\).