qiskit.opflow.anti_commutator¶
-
anti_commutator
(op_a, op_b)[código fonte]¶ Compute anti-commutator of op_a and op_b.
\[AB + BA.\]- Parâmetros
op_a (
OperatorBase
) – Operator Aop_b (
OperatorBase
) – Operator B
- Retorna
the anti-commutator
- Tipo de retorno