Function sequant::to_hermiticity

Function Documentation

inline Hermiticity sequant::to_hermiticity(BraKetSymmetry braket_symmetry)

Note

Symm and Conjugate both map to Hermitian (they differ only in the field, which is not encoded here); Nonsymm maps to NonHermitian (the AntiHermitian preimage is not recoverable).

Returns:

the (field-agnostic) Hermiticity consistent with braket_symmetry; used to back-fill the trait when a tensor is constructed by specifying its BraKetSymmetry directly (legacy/explicit path).