French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.SparsePauliOp.equiv

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

Check if two SparsePauliOp operators are equivalent.

Paramètres
  • other (SparsePauliOp) – an operator object.

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

Renvoie

True if the operator is equivalent to self.

Type renvoyé

bool