Struct Tensor::Defaults¶
Defined in File tensor.hpp
Nested Relationships¶
This struct is a nested type of Class Tensor.
Struct Documentation¶
-
struct Defaults
the fixed library defaults used to resolve the symmetry attributes a Tensor constructor leaves unspecified
Every programmatic constructor resolves an omitted
std::optionalsymmetry argument (or an unset TensorSymmetries field) against these; see resolve_symmetries(). They are independent of the active sequant::Context — unlike deserialization, whose corresponding defaults come from Context. There is deliberately no BraKetSymmetry default: it is derived from hermiticity and the tensor’s base_field via to_braket_symmetry().Public Static Attributes
-
static constexpr Hermiticity hermiticity = Hermiticity::NonHermitian
default (field-agnostic) Hermiticity; the observable BraKetSymmetry is derived from this and the tensor’s base field
-
static constexpr ColumnSymmetry column_symmetry = ColumnSymmetry::Nonsymm
default particle-exchange ColumnSymmetry
-
static constexpr Hermiticity hermiticity = Hermiticity::NonHermitian