Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue #247 - Replaceexecute withbackend.run() inqiskit-qec#381

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@sim-eng-ii
Copy link

@sim-eng-iisim-eng-ii commentedAug 17, 2023
edited
Loading

Summary:

This pull request aims to resolve issue#247 by replacing the outdatedexecute function with the more up-to-datebackend.run method in theqiskit-qec codebase.

Details and comments:

  • Replaced the usage ofexecute withbackend.run for simulating the quantum circuit.

Additional Notes:

The following files have been modified:

  • test/matching/test_circuitmatcher.py
  • test/matching/test_repetitionmatcher.py
  • src/qiskit_qec/analysis/faultsampler.py
  • src/qiskit_qec/analysis/faultenumerator.py
  • test/heavy_hex_codes/test_heavy_hex_decoder.py

@sim-eng-iisim-eng-ii marked this pull request as ready for reviewAugust 17, 2023 11:18
@sim-eng-ii
Copy link
Author

@grace-harper I have fixed#247 and it is ready for review

@sim-eng-iisim-eng-ii changed the titleReplaceexecute withbackend.run() inqiskit-qecIssue 247 - Replaceexecute withbackend.run() inqiskit-qecAug 17, 2023
@sim-eng-iisim-eng-ii changed the titleIssue 247 - Replaceexecute withbackend.run() inqiskit-qecIssue #247 - Replaceexecute withbackend.run() inqiskit-qecAug 17, 2023
@grace-harpergrace-harper self-assigned thisAug 17, 2023
@sim-eng-ii
Copy link
Author

Hello@grace-harper , I will look into the issues. Thank you

@sim-eng-ii
Copy link
Author

Hello@grace-harper the test errors are related to a bug I identified and described in issue#380. I do not think is related to the work I did on issue#247. Regarding the lint/style check. I will fix those. Thank you.

@grace-harpergrace-harper self-requested a reviewSeptember 19, 2023 19:18
@grace-harpergrace-harper removed their assignmentSep 19, 2023
Copy link
Collaborator

@grace-harpergrace-harper left a comment

Choose a reason for hiding this comment

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

LGTM

@grace-harpergrace-harper merged commitdf2d2b0 intoqiskit-community:mainSep 19, 2023
grace-harper pushed a commit that referenced this pull requestSep 19, 2023
Fix a small bug (#384)Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>Update README.md (#377)Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>Issue#247 - Replace `execute` with `backend.run()` in `qiskit-qec` (#381)* replace `execute` with `backend.run()` in `test_repetitionmatcher.py`* replace `execute` with `backend.run()` in  `test_circuitmatcher.py`* replace `execute` with `backend.run()` in  `test_heavy_hex_decoder.py`* replace `execute` with `backend.run()` in `faultsampler.py`* replace `execute` with `backend.run()` in `faultenumerator.py`* formatting* re-format test_repetitionmatcher.py---------Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>scrap
@sim-eng-iisim-eng-ii deleted the replace-execute-with-backend.run branchSeptember 19, 2023 19:47
grace-harper added a commit that referenced this pull requestOct 2, 2023
…381)* replace `execute` with `backend.run()` in `test_repetitionmatcher.py`* replace `execute` with `backend.run()` in  `test_circuitmatcher.py`* replace `execute` with `backend.run()` in  `test_heavy_hex_decoder.py`* replace `execute` with `backend.run()` in `faultsampler.py`* replace `execute` with `backend.run()` in `faultenumerator.py`* formatting* re-format test_repetitionmatcher.py---------Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@grace-harpergrace-harpergrace-harper approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sim-eng-ii@grace-harper

[8]ページ先頭

©2009-2025 Movatter.jp