French
Langues
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.ibmq.utils.seconds_to_duration

seconds_to_duration(seconds)[source]

Converts seconds in a datetime delta to a duration.

Paramètres

seconds (float) – Number of seconds in time delta.

Type renvoyé

Tuple[int, int, int, int, int]

Renvoie

A tuple containing the duration in terms of days, hours, minutes, seconds, and milliseconds.