German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.ControlFlowOp.repeat

ControlFlowOp.repeat(n)

Creates an instruction with gate repeated n amount of times.

Parameter

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

Rückgabe

Containing the definition.

Rückgabetyp

qiskit.circuit.Instruction

Verursacht

CircuitError – If n < 1.