qiskit.aqua.operators.legacy.WeightedPauliOperator.rounding¶ WeightedPauliOperator.rounding(decimals, copy=False)[source]¶ 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