qiskit.circuit.QuantumCircuit.delay¶
- QuantumCircuit.delay(duration, qarg=None, unit='dt')[소스]¶
Apply
Delay
. If qarg is None, applies to all qubits. When applying to multiple qubits, delays with the same duration will be created.- 매개변수
duration (int or float or ParameterExpression) – duration of the delay.
qarg (Object) – qubit argument to apply this delay.
unit (str) – unit of the duration. Supported units: 〈s〉, 〈ms〉, 〈us〉, 〈ns〉, 〈ps〉, 〈dt〉. Default is
dt
, i.e. integer time unit depending on the target backend.
- 반환
handle to the added instructions.
- 반환 형식
- 예외 발생
CircuitError – if arguments have bad format.