qiskit.pulse.builder.samples_to_seconds¶

samples_to_seconds(samples)[소스]

Obtain the time in seconds that will elapse for the input number of samples on the active backend.

매개변수

samples (Union[int, ndarray]) – Number of samples to convert to time in seconds.

반환 형식

Union[float, ndarray]

반환값

The time that elapses in samples.