-
Notifications
You must be signed in to change notification settings - Fork 35
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
Issue #247 - Replace execute
with backend.run()
in qiskit-qec
#381
Issue #247 - Replace execute
with backend.run()
in qiskit-qec
#381
Conversation
@grace-harper I have fixed #247 and it is ready for review |
execute
with backend.run()
in qiskit-qec
execute
with backend.run()
in qiskit-qec
execute
with backend.run()
in qiskit-qec
execute
with backend.run()
in qiskit-qec
Hello @grace-harper , I will look into the issues. Thank you |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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
…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>
Summary:
This pull request aims to resolve issue #247 by replacing the outdated
execute
function with the more up-to-datebackend.run
method in theqiskit-qec
codebase.Details and comments:
execute
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