qiskit.quantum_info.anti_commutator¶ anti_commutator(a, b)[source]¶ Compute anti-commutator of a and b. \[ab + ba.\] Parameters a (OperatorTypeT) -- Operator a. b (OperatorTypeT) -- Operator b. Returns The anti-commutator Return type OperatorTypeT