qiskit.circuit.IfElseOp.replace_blocks¶
- IfElseOp.replace_blocks(blocks)[fuente]¶
Replace blocks and return new instruction.
- Parámetros
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.
- Devuelve
New IfElseOp with replaced blocks.
- Tipo del valor devuelto