StretchValues
class StretchValues(name, value, remainder, expanded_values)
Bases: object
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.
Attributes
Parameters
- name (str)
- value (int)
- remainder (int)
- expanded_values (list[tuple[int, int]])
name
Type: str
The name of the stretch.
value
Type: int
The resolved stretch value, up to the remainder, in units of dt.
remainder
Type: int
The time left over if value were to be used each stretch, in units of dt.
expanded_values
Type: list[tuple[int, int]]
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.