Template Function sequant::normalize¶
Defined in File op.hpp
Function Documentation¶
converts NormalOperatorSequence to NormalOperator
Note
will try to ensure that
Op<S>
objects for each there is a pairs of Indices intarget_index_columns
will act on the same particle in the result- Template Parameters:
S – Statistics
- Parameters:
opseq – [in] a
NormalOperatorSequence<S>
objecttarget_partner_indices – [in] ptr to sequence of Index pairs whose
Op<S>
will act on same particle, if possible; if null, will not be used
- Returns:
{phase
,normal_operator} , wherephase
is +1 or -1, andnormal_operator
is aNormalOperator<S>
object