qiskit.circuit.Instruction.c_if¶
- Instruction.c_if(classical, val)[código fonte]¶
Set a classical equality condition on this instruction between the register or cbit
classical
and valueval
.Nota
This is a setter method, not an additive one. Calling this multiple times will silently override any previously set condition; it does not stack.