QuantumCircuit.repeat

QuantumCircuit.repeat(reps)[source]

Repeat this circuit reps times.

Parameters

reps (int) – How often this circuit should be repeated.

Returns

A circuit containing reps repetitions of this circuit.

Return type

QuantumCircuit