French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.converters.AbelianGrouper.convert

AbelianGrouper.convert(operator)[source]

Check if operator is a SummedOp, in which case covert it into a sum of mutually commuting sums, or if the Operator contains sub-Operators and traverse is True, attempt to convert any sub-Operators.

Paramètres

operator (OperatorBase) – The Operator to attempt to convert.

Renvoie

The converted Operator.

Type renvoyé

OperatorBase