qiskit.circuit.QuantumCircuit.delay¶
- QuantumCircuit.delay(duration, qarg=None, unit='dt')[source]¶
Apply
Delay
. If qarg isNone
, 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'
, and'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.