Struct ExtendedWickOptions

Struct Documentation

struct ExtendedWickOptions

controls extended_wick() and cumulant_expand(); see the WickTheorem setters of the same names

Public Members

bool full_contractions = true

keep only terms with no surviving operators

std::optional<std::size_t> max_cumulant_rank = std::nullopt

largest cumulant rank to form; nullopt = no bound; 0 or 1 = no cumulants

bool eta_as_delta_minus_gamma = false

rewrite every η as δ - γ

bool use_topology = true

prune the contractions of topologically equivalent operators

container::svector<std::pair<std::size_t, std::size_t>> nop_connections = {}

pairs of input NormalOperator ordinals that must end up connected

container::svector<std::pair<std::size_t, std::size_t>> nop_avoided_connections = {}

pairs of input NormalOperator ordinals that must not be connected