49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
---
|
||
title: AlignRight
|
||
description: API reference for qiskit.pulse.transforms.AlignRight
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.pulse.transforms.AlignRight
|
||
---
|
||
|
||
# AlignRight
|
||
|
||
<Class id="qiskit.pulse.transforms.AlignRight" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.45/qiskit/pulse/transforms/alignments.py" signature="qiskit.pulse.transforms.AlignRight" modifiers="class">
|
||
Bases: [`AlignmentKind`](pulse#qiskit.pulse.transforms.AlignmentKind "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.
|
||
|
||
## Attributes
|
||
|
||
### is\_sequential
|
||
|
||
<Attribute id="qiskit.pulse.transforms.AlignRight.is_sequential" />
|
||
|
||
## Methods
|
||
|
||
### align
|
||
|
||
<Function id="qiskit.pulse.transforms.AlignRight.align" signature="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*](qiskit.pulse.Schedule "qiskit.pulse.schedule.Schedule")) – Schedule to align.
|
||
|
||
**Returns**
|
||
|
||
Schedule with reallocated instructions.
|
||
|
||
**Return type**
|
||
|
||
[*Schedule*](qiskit.pulse.Schedule "qiskit.pulse.schedule.Schedule")
|
||
</Function>
|
||
</Class>
|
||
|