Skip to main content
IBM Quantum Platform

StretchValues

class StretchValues(name, value, remainder, expanded_values)

GitHub

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.


Methods

Was this page helpful?
Report a bug, typo, or request content on GitHub.