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