Template Struct EVOptions

Struct Documentation

template<typename T>
struct EVOptions

Defines the behavior of expectation value methods. The struct is used by both tensor and operator level methods, but there are parameters in here which are only meaningful at the operator level.

Public Members

OpConnections<T> connect = {}

List of pairs of operator labels to be connected; connections are defined left-to-right, i.e., pair {opL,opR} declares that opL and opR are to be connected when opR precedes opL, i.e. opL is to the left of opR

OpConnections<T> do_not_connect = {}

List of pairs of operator labels that should not be connected, defined left-to-right.

bool screen = true

If true, expressions are screened before lowering to Tensor level and calling WickTheorem. Only valid in Operator level calls

bool use_topology = true

If true, WickTheorem uses topological equivalence of terms.

bool skip_clone = false

If true, will not clone the input expression. Only valid in Operator level calls