Korean
언어
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