Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for pulse schedule #2150

Merged
merged 18 commits into from
Apr 20, 2019

Conversation

itoko
Copy link
Contributor

@itoko itoko commented Apr 18, 2019

Summary

Add and improve tests for pulse schedule, and fix bugs.

Details and comments

  • add tests for Schedule
  • fix a bug in flat_instruction_sequence
  • improve implementation of start_time and stop_time

@itoko itoko changed the title Openpulse schedule tests pr Add tests for pulse schedule Apr 18, 2019
Copy link
Contributor

@taalexander taalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these tests, @itoko.

qiskit/pulse/common/timeslots.py Outdated Show resolved Hide resolved
test/python/pulse/test_schedule.py Outdated Show resolved Hide resolved
test/python/pulse/test_schedule.py Outdated Show resolved Hide resolved
test/python/pulse/test_schedule.py Outdated Show resolved Hide resolved
test/python/pulse/test_schedule.py Outdated Show resolved Hide resolved
@itoko itoko requested a review from chriseclectic as a code owner April 19, 2019 01:55
@kdk kdk merged commit c507aee into Qiskit:master Apr 20, 2019
@nkanazawa1989 nkanazawa1989 deleted the openpulse-schedule-tests-pr branch May 13, 2019 01:08
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* fix a bug in acquire instruction

* add tests for timeslots

* Update test_timeslots.py

Remove return capture

* update a comment

* remove a method from TimeslotCollection

* publish Instruction classes

* add tests for schedule

* fix a bug in flat_instruction_sequence

* improve public functions of TimeslotCollection

* fix linting

* lint

* rename to same as schedule

* fix linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants