Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.WhileLoopOp.repeat

WhileLoopOp.repeat(n)

Creates an instruction with gate repeated n amount of times.

매개변수

n (int) – Number of times to repeat the instruction

반환

Containing the definition.

반환 형식

qiskit.circuit.Instruction

예외 발생

CircuitError – If n < 1.