German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.PauliSumOp.reduce

PauliSumOp.reduce(atol=None, rtol=None)[Quellcode]

Simplify the primitive SparsePauliOp.

Parameter
  • atol (Optional[float]) – Absolute tolerance for checking if coefficients are zero (Default: 1e-8).

  • rtol (Optional[float]) – Relative tolerance for checking if coefficients are zero (Default: 1e-5).

Rückgabetyp

PauliSumOp

Rückgabe

The simplified PauliSumOp.