qiskit.opflow.commutator¶
- commutator(op_a, op_b)[소스]¶
Deprecated: Compute commutator of op_a and op_b.
\[AB - BA.\]버전 0.24.0부터 폐지됨: The function
qiskit.opflow.utils.commutator()
is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/opflow_migration.- 매개변수
op_a (OperatorBase) – Operator A
op_b (OperatorBase) – Operator B
- 반환
the commutator
- 반환 형식