qiskit.circuit.library.Barrier.repeat¶ Barrier.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.