Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
BackendTiming.delay_time¶
- BackendTiming.delay_time(*, time=None, samples=None)[source]¶
The closest valid delay time in seconds to the input
If the backend reports
dt, this method usesBackendTiming.round_delay()and converts the result back into seconds. Otherwise, iftimewas passed, it is returned directly.- Parameters:
time (
Optional[float]) – The nominal delay time to convert in secondssamples (
Union[int,float,None]) – The nominal delay time to convert in samples
- Return type:
float- Returns:
The realizable delay time in seconds
- Raises:
QiskitError – If either both
timeandsamplesare passed or neither is passed.