align_measures¶
- align_measures(schedules, inst_map=None, cal_gate='u3', max_calibration_duration=None, align_time=None)[source]¶
Return new schedules where measurements occur at the same physical time. Minimum measurement wait time (to allow for calibration pulses) is enforced.
This is only defined for schedules that are acquire-less or acquire-final per channel: a schedule with pulses or acquires occurring on a channel which has already had a measurement will throw an error.
- Parameters
schedules (
Iterable
[ScheduleComponent
]) – Collection of schedules to be aligned togetherinst_map (
Optional
[InstructionScheduleMap
]) – Mapping of circuit operations to pulse schedulescal_gate (
str
) – The name of the gate to inspect for the calibration timemax_calibration_duration (
Optional
[int
]) – If provided, inst_map and cal_gate will be ignoredalign_time (
Optional
[int
]) – If provided, this will be used as final align time.
- Return type
- Returns
Schedule
- Raises
PulseError – if an acquire or pulse is encountered on a channel that has already been part of an acquire, or if align_time is negative