qiskit.opflow.anti_commutator
anti_commutator(op_a, op_b)
Deprecated: Compute anti-commutator of op_a and op_b.
Deprecated since version 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.
Parameters
- op_a (OperatorBase) – Operator A
- op_b (OperatorBase) – Operator B
Returns
the anti-commutator
Return type
Was this page helpful?
Report a bug or request content on GitHub.