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

Update LQ's MCM treatment following dynamic_one_shot update. #724

Merged
merged 9 commits into from
May 10, 2024

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented May 10, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:

Description of the Change:
LQ now loop over shots instead of looping over tapes when detecting MCMs in a tape. This is the consequence of merging PR PennyLaneAI/pennylane#5617.

Benefits:

Possible Drawbacks:

Related GitHub Issues:
[sc-62097]

@vincentmr vincentmr added the urgent Mark a pull request as high priority label May 10, 2024
@vincentmr vincentmr marked this pull request as ready for review May 10, 2024 20:12
@vincentmr vincentmr requested a review from a team May 10, 2024 20:12
Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.17%. Comparing base (c164f2e) to head (703f38d).

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #724       +/-   ##
===========================================
+ Coverage   43.51%   82.17%   +38.65%     
===========================================
  Files          32       16       -16     
  Lines        2160     1840      -320     
===========================================
+ Hits          940     1512      +572     
+ Misses       1220      328      -892     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

🙌

.github/CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

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

no complaints here --- thanks @vincentmr

@vincentmr vincentmr merged commit 1036b83 into master May 10, 2024
64 of 65 checks passed
@vincentmr vincentmr deleted the update/lq_mcms branch May 10, 2024 21:11
multiphaseCFD pushed a commit that referenced this pull request May 13, 2024
* Update LQ's mcm workflow.

* Auto update version from '0.37.0-dev6' to '0.37.0-dev7'

* Update changelog

* trigger ci

* trigger ci

* Fix paths-ignore for python tests.

* Update .github/CHANGELOG.md

* Auto update version from '0.37.0-dev7' to '0.37.0-dev8'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
urgent Mark a pull request as high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants