Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Pauli.commutes

Pauli.commutes(other, qargs=None)[source]

Return True if the Pauli commutes with other.

প্যারামিটার
  • other (Pauli or PauliList) -- another Pauli operator.

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

রিটার্নস

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

রিটার্ন টাইপ

bool