German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.Gate.c_if

Gate.c_if(classical, val)

Set a classical equality condition on this instruction between the register or cbit classical and value val.

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.