AlignRight

class qiskit.pulse.transforms.AlignRight[source]

Bases: AlignmentKind

Align instructions in as-late-as-possible manner.

Instructions are placed at latest available timeslots.

Create new right-justified context.

Attributes

is_sequential

Methods

align(schedule)[source]

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