qiskit.opflow.list_ops.SummedOp.reduce¶
- SummedOp.reduce()[Quellcode]¶
Try collapsing list or trees of sums.
Tries to sum up duplicate operators and reduces the operators in the sum.
- Rückgabe
A collapsed version of self, if possible.
- Rückgabetyp
Try collapsing list or trees of sums.
Tries to sum up duplicate operators and reduces the operators in the sum.
A collapsed version of self, if possible.