Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit. Switch to latest version

AlignRight

AlignRight GitHub(opens in a new tab)

Bases: qiskit.pulse.transforms.alignments.AlignmentKind

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

Instructions are placed at latest available timeslots.

Create new right-justified context.


Methods

align

AlignRight.align(schedule) GitHub(opens in a new tab)

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.

Return type

Schedule

Returns

Schedule with reallocated instructions.

to_dict

AlignRight.to_dict()

Returns dictionary to represent this alignment.

Return type

Dict[str, Any]


Attributes

is_sequential

Return type

bool

Was this page helpful?