qiskit.quantum_info.anti_commutator¶
- anti_commutator(a, b)[Quellcode]¶
Compute anti-commutator of a and b.
\[ab + ba.\]- Parameter
a (OperatorTypeT) – Operator a.
b (OperatorTypeT) – Operator b.
- Rückgabe
The anti-commutator
- Rückgabetyp
OperatorTypeT