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

Bugfix: Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction #4399

Merged
merged 8 commits into from
May 12, 2020

Conversation

SooluThomas
Copy link
Member

Summary

Fix the big pointed out in the review comment:

Details and comments

SetFrequency should be in Hz on the frontend and has to be converted to GHz when SetFrequency is converted to Qobj Instruction and vice versa.

@SooluThomas SooluThomas changed the title Bugfix - Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction [Stable] Bugfix: Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction May 6, 2020
@SooluThomas SooluThomas added Changelog: Bugfix Include in the "Fixed" section of the changelog stable backport potential The bug might be minimal and/or import enough to be port to stable labels May 6, 2020
@mtreinish mtreinish changed the title [Stable] Bugfix: Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction Bugfix: Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction May 7, 2020
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.

Thanks for fixing this 😄. After this small change, it should be good to go. See here for an example

test/python/qobj/test_pulse_converter.py Outdated Show resolved Hide resolved
@mergify mergify bot merged commit 607bdf5 into Qiskit:master May 12, 2020
mergify bot pushed a commit that referenced this pull request May 12, 2020
…#4399)

* Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction

* Reno

* Logic Fixes

* Review suggestions

* few more corrections

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 607bdf5)
mtreinish added a commit that referenced this pull request May 15, 2020
…#4399) (#4434)

* Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction

* Reno

* Logic Fixes

* Review suggestions

* few more corrections

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 607bdf5)

Co-authored-by: SooluThomas <soolu.elto@gmail.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…Qiskit#4399)

* Hz -> GHz conversion for SetFrequency -> PulseQobjInstruction

* Reno

* Logic Fixes

* Review suggestions

* few more corrections

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants