Template Function sequant::density::make_density

Function Documentation

template<range_of_castables_to_index IndexRange1, range_of_castables_to_index IndexRange2>
ExprPtr sequant::density::make_density(std::wstring_view label, const bra<IndexRange1> &bra_indices, const ket<IndexRange2> &ket_indices)
Returns:

the density tensor label (one of reserved::density_labels()) with the given bra (annihilator) and ket (creator) indices and its defining symmetries()