WeightedPauliOperator.multiply

WeightedPauliOperator.multiply(other)[source]

Perform self * other, and the phases are tracked.

Parameters

other (WeightedPauliOperator) – an operator

Returns

the multiplied operator

Return type

WeightedPauliOperator