qiskit.quantum_info.PauliList.commutes¶
- PauliList.commutes(other, qargs=None)[source]¶
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 Paulis commute,False
if they anti-commute.- রিটার্ন টাইপ
bool