anti_commutator#
- anti_commutator(op_a, op_b)[fuente]#
Compute anti-commutator of op_a and op_b.
\[AB + BA.\]- Parámetros:
op_a (SparseLabelOp) – Operator A.
op_b (SparseLabelOp) – Operator B.
- Devuelve:
The computed anti–commutator. If available for your kind of operator, you may want to
normal_order()
it.- Tipo del valor devuelto: