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

Bug fix property and methods of BackendV2Converter #9502

Merged
merged 5 commits into from
Feb 1, 2023

Conversation

to24toro
Copy link
Contributor

@to24toro to24toro commented Feb 1, 2023

Summary

I found and fixed bugs of BackendV2Converter.

Details and comments

Important and critical bugs to use BackendV2Converter.

@to24toro to24toro requested review from a team and jyu00 as code owners February 1, 2023 04:36
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Feb 1, 2023
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

  • @Qiskit/terra-core

Copy link
Contributor

@nkanazawa1989 nkanazawa1989 left a comment

Choose a reason for hiding this comment

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

Thanks @to24toro , can you write release note?

@nkanazawa1989 nkanazawa1989 self-assigned this Feb 1, 2023
@nkanazawa1989 nkanazawa1989 added stable backport potential The bug might be minimal and/or import enough to be port to stable Changelog: Bugfix Include in the "Fixed" section of the changelog and removed Community PR PRs from contributors that are not 'members' of the Qiskit repo labels Feb 1, 2023
@coveralls
Copy link

coveralls commented Feb 1, 2023

Pull Request Test Coverage Report for Build 4065329297

  • 0 of 5 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 85.232%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit/providers/backend_compat.py 0 5 0.0%
Totals Coverage Status
Change from base Build 4060176211: 0.001%
Covered Lines: 67033
Relevant Lines: 78648

💛 - Coveralls

Copy link
Contributor

@nkanazawa1989 nkanazawa1989 left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM. Just a minor rephrasing before merge.

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, thanks for catching and fixing this.


def drive_channel(self, qubit: int):
self._config.drive(qubit)
return self._config.drive(qubit)
Copy link
Member

Choose a reason for hiding this comment

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

Lol, this is my bad. I switch back and forth between rust and python too much (Rust has an implicit return on the last line of a function without a semicolon)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Certainly, the reason is very persuasive!

@jakelishman jakelishman added this to the 0.23.2 milestone Feb 1, 2023
@mergify mergify bot merged commit df258d4 into Qiskit:main Feb 1, 2023
mergify bot pushed a commit that referenced this pull request Feb 1, 2023
* fix property and methods of BackendV2Converter

* add reno

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

---------

Co-authored-by: Naoki Kanazawa <nkanazawa1989@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit df258d4)
mergify bot added a commit that referenced this pull request Feb 1, 2023
* fix property and methods of BackendV2Converter

* add reno

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

---------

Co-authored-by: Naoki Kanazawa <nkanazawa1989@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit df258d4)

Co-authored-by: Kento Ueda <38037695+to24toro@users.noreply.github.com>
pranay1990 pushed a commit to pranay1990/qiskit-terra that referenced this pull request Feb 9, 2023
* fix property and methods of BackendV2Converter

* add reno

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

* Update releasenotes/notes/fix-backendv2converter-de342352cf882494.yaml

---------

Co-authored-by: Naoki Kanazawa <nkanazawa1989@gmail.com>
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.

6 participants