qiskit.quantum_info.Pauli.anticommutes¶
- Pauli.anticommutes(other, qargs=None)[código fonte]¶
Return True if other Pauli anticommutes with self.
- Parâmetros
other (Pauli) – another Pauli 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