qiskit.opflow.anti_commutator¶
- anti_commutator(op_a, op_b)[fuente]¶
Compute anti-commutator of op_a and op_b.
\[AB + BA.\]- Parámetros
op_a (
OperatorBase
) – Operator Aop_b (
OperatorBase
) – Operator B
- Devuelve
the anti-commutator
- Tipo del valor devuelto