Skip to main contentIBM Quantum Documentation Mirror

StretchValueModel

pydantic model StretchValueModel

GitHub

Bases: BaseModel

Describes circuit stretch value resolutions.

All timing information is expressed in terms of multiples of the quantity dt, time step duration of the control electronics, which can be queried in backend and target properties.

expanded_values

field

Type: list[tuple[int, int]] [Required]

A sequence of pairs (time, duration) indicating the time and duration of each delay.

All units are dt, where the time denotes the absolute time of a delay in the circuit schedule, and the duration denotes the total duration of the delay.

name

field

Type: str [Required]

The name of the stretch.

remainder

field

Type: int [Required]

The time left over if value were to be used each stretch, in units of dt.

value

field

Type: int [Required]

The resolved stretch value, up to the remainder, in units of dt.