Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

align_measures

align_measures(schedules, inst_map=None, cal_gate='u3', max_calibration_duration=None, align_time=None)

GitHub

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 together
  • inst_map (Optional[InstructionScheduleMap]) – Mapping of circuit operations to pulse schedules
  • cal_gate (str) – The name of the gate to inspect for the calibration time
  • max_calibration_duration (Optional[int]) – If provided, inst_map and cal_gate will be ignored
  • align_time (Optional[int]) – If provided, this will be used as final align time.

Return type

Schedule

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

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