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

Command/Inst refactor: Acquire (and Kernel, Discriminator) #3935

Merged
merged 28 commits into from
Mar 18, 2020

Conversation

lcapelluto
Copy link
Contributor

@lcapelluto lcapelluto commented Mar 6, 2020

Summary

Part 5/7 for issue #3750

Make new Acquire instruction and update path to Acquire command to point to the new one. Deprecate AcquireInstruction and make it return an Acquire instead

Details and comments

This is going to look so much nicer after the deprecation period for the multiple layers of changes that have been made 😄

…int to the new one. Deprecate AcquireInstruction and make it return an Acquire instead
@lcapelluto lcapelluto changed the title Make new Acquire instruction and update path to Acquire command to po… Command/Inst refactor: Acquire (and Kernel, Discriminator) Mar 6, 2020
@lcapelluto lcapelluto force-pushed the issue-3750-acquire-instruction branch 2 times, most recently from 5ae572a to c284476 Compare March 6, 2020 04:27
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.

This looks good!

@lcapelluto lcapelluto marked this pull request as ready for review March 9, 2020 18:35
…cqurie. Fix up some more tests. Fill in pulse_instructions converter for Acquire
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.

Looking good :)

@lcapelluto lcapelluto requested a review from ajavadia as a code owner March 11, 2020 21:45
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.

Minor comments regarding acquire operands and documentation.

@lcapelluto lcapelluto dismissed taalexander’s stale review March 18, 2020 13:57

updated operands

Copy link
Member

@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

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

LGTM, just one question/suggestion in the release notes

taalexander
taalexander previously approved these changes Mar 18, 2020
…o/qiskit-terra into issue-3750-acquire-instruction
taalexander
taalexander previously approved these changes Mar 18, 2020
…a29d3.yaml

Co-Authored-By: Matthew Treinish <mtreinish@kortar.org>
@mergify mergify bot merged commit 4116f0f into Qiskit:master Mar 18, 2020
@lcapelluto lcapelluto added the Changelog: API Change Include in the "Changed" section of the changelog label Apr 1, 2020
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
* Make new Acquire instruction and update path to Acquire command to point to the new one. Deprecate AcquireInstruction and make it return an Acquire instead

* Fix some style and continue implementation

* Fill in docs and fix tests

* Fill in __repr__ and __eq__ as necessary for Kernel, Discriminator, Acqurie. Fix up some more tests. Fill in pulse_instructions converter for Acquire

* Style fixes

* Fix bug missing inclusion of Acquire type along with AcquireInstruction

* Fixup some kernel instantiation in pulse instructions converter

* Fixup style

* Try to fix the docs build

* Update qiskit/pulse/instructions/acquire.py

Improve description of Acquire

Co-Authored-By: Thomas Alexander <thomasalexander2718@gmail.com>

* Respond to review

* Update repr for Kernel and Discriminator to reflect **params. Update a test to also match

* style

* Complete release note

* Complete reno note (was missing one line)

* discriminator and kernel shouldn't be treated as instruction operands

* Add link in releasenote

* Update releasenotes/notes/unify-instructions-and-commands-aaa6d8724b8a29d3.yaml

Co-Authored-By: Matthew Treinish <mtreinish@kortar.org>

Co-authored-by: Thomas Alexander <thomasalexander2718@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: API Change Include in the "Changed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants