# qiskit.providers.aer.library.SetSuperOp.soft_compare¶

SetSuperOp.soft_compare(other)

Soft comparison between gates. Their names, number of qubits, and classical bit numbers must match. The number of parameters must match. Each parameter is compared. If one is a ParameterExpression then it is not taken into account.

Paramètres

other (instruction) – other instruction.

Renvoie

are self and other equal up to parameter expressions.

Type renvoyé

bool