qiskit.opflow.anti_commutator¶
- anti_commutator(op_a, op_b)[fuente]¶
Deprecated: Compute anti-commutator of op_a and op_b.
\[AB + BA.\]Obsoleto desde la versión 0.24.0: The function
qiskit.opflow.utils.anti_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.- Parámetros
op_a (OperatorBase) – Operator A
op_b (OperatorBase) – Operator B
- Devuelve
the anti-commutator
- Tipo del valor devuelto