qiskit.quantum_info.PauliList.anticommutes¶
- PauliList.anticommutes(other, qargs=None)[source]¶
Return
True
if other Pauli that anticommutes with other.- প্যারামিটার
other (PauliList) -- another PauliList operator.
qargs (list) -- qubits to apply dot product on (default:
None
).
- রিটার্নস
True
if Paulis anticommute,False
if they commute.- রিটার্ন টাইপ
bool