Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliList.commutes

PauliList.commutes(other, qargs=None)[ソース]

Return True for each Pauli that commutes with other.

パラメータ
  • other (PauliList) – another PauliList operator.

  • qargs (list) – qubits to apply dot product on (default: None).

戻り値

True if Pauli’s commute, False if they anti-commute.

戻り値の型

bool