AlignSequential#

class qiskit.pulse.transforms.AlignSequential[código fonte]#

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.

Attributes

is_sequential#

Methods

align(schedule)[código fonte]#

Reallocate instructions according to the policy.

Only top-level sub-schedules are aligned. If sub-schedules are nested, nested schedules are not recursively aligned.

Parâmetros:

schedule (Schedule) – Schedule to align.

Retorno:

Schedule with reallocated instructions.

Tipo de retorno:

Schedule

to_dict()#

Returns dictionary to represent this alignment.

Obsoleto desde a versão 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.

Tipo de retorno:

Dict[str, Any]