Added FermionOperator::normalOrder() to normal order FermionOperators (not in-place)
Simplified FermionTerm::operator*=() to bypass redundancies (further simplification can be done by normal ordering the resulting FermionOperator or by calling ObservableTransform::transform())
Plugin chemistry observables cast to FermionOperator within getObservable(). This is done in python and now in C++.
FermionOperator::normalOrder()
to normal orderFermionOperator
s (not in-place)FermionTerm::operator*=()
to bypass redundancies (further simplification can be done by normal ordering the resultingFermionOperator
or by callingObservableTransform::transform()
)FermionOperator
withingetObservable()
. This is done in python and now in C++.Signed-off-by: Daniel Claudino 6d3@ornl.gov