Skip to main contentIBM Quantum Documentation

AlignEquispaced

qiskit.pulse.transforms.AlignEquispaced(duration)GitHub(opens in a new tab)

Bases: AlignmentKind

Align instructions with equispaced interval within a specified duration.

Instructions played on different channels are also arranged in a sequence. This alignment is convenient to create dynamical decoupling sequences such as PDD.

Create new equispaced context.

Parameters

duration (int(opens in a new tab) |ParameterExpression) – Duration of this context. This should be larger than the schedule duration. If the specified duration is shorter than the schedule duration, no alignment is performed and the input schedule is just returned. This duration can be parametrized.


Attributes

duration

Return context duration.

is_sequential


Methods

align

align(schedule)

Reallocate instructions according to the policy.

Only top-level sub-schedules are aligned. If sub-schedules are nested, nested schedules are not recursively aligned.

Parameters

schedule (Schedule) – Schedule to align.

Returns

Schedule with reallocated instructions.

Return type

Schedule

Was this page helpful?