From 14d1c5be888b930a8150997598ee3a0351da4279 Mon Sep 17 00:00:00 2001 From: Lauren Capelluto Date: Fri, 14 Feb 2020 09:02:17 -0500 Subject: [PATCH 1/3] Fixup documentation formatting in qiskit.pulse.reschedule where verbatim formatting was not properly closed --- qiskit/pulse/reschedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/pulse/reschedule.py b/qiskit/pulse/reschedule.py index 8c5460298d68..f23c92d4390b 100644 --- a/qiskit/pulse/reschedule.py +++ b/qiskit/pulse/reschedule.py @@ -177,7 +177,7 @@ def add_implicit_acquires(schedule: ScheduleComponent, meas_map: List[List[int]] def pad(schedule: Schedule, channels: Optional[Iterable[Channel]] = None, until: Optional[int] = None) -> Schedule: - """Pad the input ``Schedule`` with ``Delay``s on all unoccupied timeslots until ``until`` + """Pad the input ``Schedule`` with ``Delay`` s on all unoccupied timeslots until ``until`` if it is provided, otherwise until ``schedule.duration``. Args: From 4da4922fba7b553f71963cd9a4d446541600d466 Mon Sep 17 00:00:00 2001 From: Lauren Capelluto Date: Fri, 14 Feb 2020 09:23:06 -0500 Subject: [PATCH 2/3] Update qiskit/pulse/reschedule.py Co-Authored-By: SooluThomas --- qiskit/pulse/reschedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/pulse/reschedule.py b/qiskit/pulse/reschedule.py index f23c92d4390b..0aed03241cb0 100644 --- a/qiskit/pulse/reschedule.py +++ b/qiskit/pulse/reschedule.py @@ -177,7 +177,7 @@ def add_implicit_acquires(schedule: ScheduleComponent, meas_map: List[List[int]] def pad(schedule: Schedule, channels: Optional[Iterable[Channel]] = None, until: Optional[int] = None) -> Schedule: - """Pad the input ``Schedule`` with ``Delay`` s on all unoccupied timeslots until ``until`` + """Pad the input ``Schedule`` with ``Delay``\s on all unoccupied timeslots until ``until`` if it is provided, otherwise until ``schedule.duration``. Args: From 07088b8892c367f51dd72f499952d82b9ab2c21a Mon Sep 17 00:00:00 2001 From: Lauren Capelluto Date: Fri, 14 Feb 2020 09:45:25 -0500 Subject: [PATCH 3/3] Update qiskit/pulse/reschedule.py --- qiskit/pulse/reschedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/pulse/reschedule.py b/qiskit/pulse/reschedule.py index 0aed03241cb0..f23c92d4390b 100644 --- a/qiskit/pulse/reschedule.py +++ b/qiskit/pulse/reschedule.py @@ -177,7 +177,7 @@ def add_implicit_acquires(schedule: ScheduleComponent, meas_map: List[List[int]] def pad(schedule: Schedule, channels: Optional[Iterable[Channel]] = None, until: Optional[int] = None) -> Schedule: - """Pad the input ``Schedule`` with ``Delay``\s on all unoccupied timeslots until ``until`` + """Pad the input ``Schedule`` with ``Delay`` s on all unoccupied timeslots until ``until`` if it is provided, otherwise until ``schedule.duration``. Args: