German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.SparsePauliOp.equiv

SparsePauliOp.equiv(other, atol=None)[Quellcode]

Check if two SparsePauliOp operators are equivalent.

Parameter
  • other (SparsePauliOp) – an operator object.

  • atol (Optional[float]) – Absolute numerical tolerance for checking equivalence.

Rückgabe

True if the operator is equivalent to self.

Rückgabetyp

bool