qiskit.quantum_info.SparsePauliOp.equiv¶
- SparsePauliOp.equiv(other, atol=None)[소스]¶
Check if two SparsePauliOp operators are equivalent.
- 매개변수
other (SparsePauliOp) – an operator object.
atol (Optional[float]) – Absolute numerical tolerance for checking equivalence.
- 반환
True if the operator is equivalent to
self
.- 반환 형식
bool