Template Function sequant::base_field(BraRange, KetRange)¶
Defined in File index.hpp
Function Documentation¶
-
template<typename BraRange, typename KetRange>
Field sequant::base_field(BraRange bra, KetRange ket)¶ -
- Returns:
the scalar Field obtained by OR-ing the IndexSpace::field() of the (non-null) indices in
braandket:Field::Complex if any of them is over a complex space, else Field::Real (Complex dominates, C v R = C). This is the “base field” of a tensor with those bra/ket indices — the field over which its bra<->ket dual pairing is defined.