German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.commutator

commutator(a, b)[Quellcode]

Compute commutator of a and b.

\[ab - ba.\]
Parameter
  • a (OperatorTypeT) – Operator a.

  • b (OperatorTypeT) – Operator b.

Rückgabe

The commutator

Rückgabetyp

OperatorTypeT