SaveStatevector.repeat¶
- SaveStatevector.repeat(n)¶
Creates an instruction with gate repeated n amount of times.
- Parameters:
n (int) – Number of times to repeat the instruction
- Returns:
Containing the definition.
- Return type:
- Raises:
CircuitError – If n < 1.