qiskit.quantum_info.PauliList.commutes¶
- PauliList.commutes(other, qargs=None)[fuente]¶
Return True for each Pauli that commutes with other.
- Parámetros
other (PauliList) – another PauliList operator.
qargs (list) – qubits to apply dot product on (default: None).
- Devuelve
True if Pauli’s commute, False if they anti-commute.
- Tipo del valor devuelto
bool