qiskit.quantum_info.PauliList.anticommutes¶
- PauliList.anticommutes(other, qargs=None)[código fonte]¶
Return True if other Pauli that anticommutes with other.
- Parâmetros
other (PauliList) – another PauliList operator.
qargs (list) – qubits to apply dot product on (default: None).
- Retorno
True if Pauli’s anticommute, False if they commute.
- Tipo de retorno
bool