Skip to main content
IBM Quantum Platform
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.

AlignSequential

class AlignSequential

GitHub

Bases: AlignmentKind

Align instructions sequentially.

Instructions played on different channels are also arranged in a sequence. No buffer time is inserted in between instructions.

Create new sequential context.


Methods

align

AlignSequential.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

to_dict

AlignSequential.to_dict()

Returns dictionary to represent this alignment.

Deprecated since version 0.21

The method qiskit.pulse.transforms.alignments.AlignmentKind.to_dict() is deprecated as of qiskit-terra 0.21. It will be removed no earlier than 3 months after the release date.

Return type

Dict[str, Any]


Attributes

is_sequential

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