qiskit.circuit.IfElseOp.replace_blocks¶
- IfElseOp.replace_blocks(blocks)[소스]¶
Replace blocks and return new instruction.
- 매개변수
blocks (Iterable[QuantumCircuit]) – Iterable of circuits for 《if》 and 《else》 condition. If there is no 《else》 circuit it may be set to None or ommited.
- 반환
New IfElseOp with replaced blocks.
- 반환 형식