Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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.

戻り値の型

IfElseOp