German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.commutator

commutator(op_a, op_b)[Quellcode]

Deprecated: Compute commutator of op_a and op_b.

\[AB - BA.\]

Veraltet ab Version 0.24.0: The function qiskit.opflow.utils.commutator() is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/opflow_migration.

Parameter
Rückgabe

the commutator

Rückgabetyp

OperatorBase