TPBGroupedWeightedPauliOperator.add¶
- TPBGroupedWeightedPauliOperator.add(other, copy=False)¶
Perform self + other.
- Parameters
other (WeightedPauliOperator) – to-be-combined operator
copy (bool) – working on a copy or self, if False, the results are written back to self.
- Returns
operator
- Return type