Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.PrimitiveOp.reduce

PrimitiveOp.reduce()[ソース]

Try collapsing the Operator structure, usually after some type of conversion, e.g. trying to add Operators in a SummedOp or delete needless IGates in a CircuitOp. If no reduction is available, just returns self.

戻り値の型

OperatorBase

戻り値

The reduced OperatorBase.