Struct OpParams¶
Defined in File op.hpp
Struct Documentation¶
-
struct OpParams¶
Struct which holds parameters for operator construction.
Public Functions
-
inline void validate() const¶
Validates the parameters for consistency and correctness.
Public Members
-
std::size_t order = 1¶
perturbation order (for _pt operators)
-
std::optional<size_t> nbatch = std::nullopt¶
number of batching indices
-
container::svector<std::size_t> batch_ordinals = {}¶
custom batching index ordinals (empty = no batching)
-
bool skip1 = false¶
skip single excitations (for sum operators)
-
inline void validate() const¶