AlignEquispaced#

class qiskit.pulse.transforms.AlignEquispaced(duration)[ソース]#

ベースクラス: AlignmentKind

Align instructions with equispaced interval within a specified duration.

Instructions played on different channels are also arranged in a sequence. This alignment is convenient to create dynamical decoupling sequences such as PDD.

Create new equispaced context.

パラメータ:

duration (int | ParameterExpression) – Duration of this context. This should be larger than the schedule duration. If the specified duration is shorter than the schedule duration, no alignment is performed and the input schedule is just returned. This duration can be parametrized.

Attributes

duration#

Return context duration.

is_sequential#

Methods

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.

パラメータ:

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.AlignEquispaced.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]