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

qiskit.circuit.WhileLoopOp.reverse_ops

WhileLoopOp.reverse_ops()

For a composite instruction, reverse the order of sub-instructions.

This is done by recursively reversing all sub-instructions. It does not invert any gate.

戻り値

a new instruction with

sub-instructions reversed.

戻り値の型

qiskit.circuit.Instruction