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.

প্যারামিটার:

schedule (Schedule) -- Schedule to align.

রিটার্নস:

Schedule with reallocated instructions.

রিটার্ন টাইপ:

Schedule

to_dict()#

Returns dictionary to represent this alignment.

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.

রিটার্ন টাইপ:

Dict[str, Any]