qiskit.quantum_info.commutator¶ commutator(a, b)[fuente]¶ Compute commutator of a and b. \[ab - ba.\] Parámetros a (OperatorTypeT) – Operator a. b (OperatorTypeT) – Operator b. Devuelve The commutator Tipo del valor devuelto OperatorTypeT