qiskit.opflow.anti_commutator
anti_commutator(op_a, op_b)
Compute anti-commutator of op_a and op_b.
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.