qiskit.circuit.IfElseOp.soft_compare¶
- IfElseOp.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.
- パラメータ
other (instruction) – other instruction.
- 戻り値
are self and other equal up to parameter expressions.
- 戻り値の型
bool