Skip to content

Commit

Permalink
Documentation updates
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel J. Egger <[email protected]>
  • Loading branch information
nkanazawa1989 and eggerdj committed Oct 24, 2022
1 parent 1f1db8d commit 7ab2710
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions qiskit/pulse/instructions/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class TimeBlockade(Directive):
"""Pulse ``TimeBlockade`` directive.
This instruction is intended to be used internally within the pulse builder,
to naively convert :class:`.Schedule` into :class:`.ScheduleBlock`.
Because :class:`.ScheduleBlock` cannot take absolute instruction time interval,
this instruction helps the block representation with finding instruction starting time.
to convert :class:`.Schedule` into :class:`.ScheduleBlock`.
Because :class:`.ScheduleBlock` cannot take an absolute instruction time interval,
this directive helps the block representation to find the starting time of an instruction.
Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ upgrade:
:class:`.ScheduleBlock` representation and now reference mechanism is
always applied rather than appending the schedules wrapped by
the :class:`~qiskit.pulse.instructions.Call` instruction.
This is an upgrade of internal representation and thus no API changes.
Note that the converted block doesn't necessary recover the original alignment context.
This is simply an ASAP aligned sequence of pulse instructions with absolute time intervals.
This is an upgrade of internal representation of called pulse programs and thus no API changes.
However the :class:`~qiskit.pulse.instructions.Call` instruction and :class:`.Schedule`
no longer appear in the builder's pulse program.
This change guarantees the generated schedule blocks are always QPY compatible.
- |
:class:`~qiskit.transpiler.passes.RZXCalibrationBuilder`
Expand Down

0 comments on commit 7ab2710

Please sign in to comment.