qiskit.quantum_info.commutator¶ commutator(a, b)[ソース]¶ Compute commutator of a and b. \[ab - ba.\] パラメータ a (OperatorTypeT) – Operator a. b (OperatorTypeT) – Operator b. 戻り値 The commutator 戻り値の型 OperatorTypeT