Struct BinarizationOptions

Struct Documentation

struct BinarizationOptions

Public Members

SEQUANT_DESIGNATED_INIT_ONLY
bool merge_indices = false

Whether to merge indices of intermediate tensors into a single list (stored as aux indices) instead of retaining the bra, ket and aux separation

container::vector<NodeBatchAnnotation> node_batch_axes = {}

Per-contraction-node sliced-sets (RPN / post-order, left-first) to stamp onto the produced tree’s Product (contraction) nodes; typically set from the corresponding entry of OptimizeOptions::term_batch_axes for the summand being binarized. Empty (default) => no stamping, no behavior change. See EvalExpr::node_slice_mask.