Spanish
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.Instruction.soft_compare

Instruction.soft_compare(other)[fuente]

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.

Parámetros

other (instruction) – other instruction.

Devuelve

are self and other equal up to parameter expressions.

Tipo del valor devuelto

bool