qiskit.aqua.operators.legacy.TPBGroupedWeightedPauliOperator.rounding¶ TPBGroupedWeightedPauliOperator.rounding(decimals, copy=False)¶ Rounding the weight. Parameters decimals (int) – rounding the weight to the decimals. copy (bool) – chop on a copy or self Returns operator Return type WeightedPauliOperator