PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.36k stars 604 forks source link

Unit tests for `simulate_one_shot_native_mcm #6124

Closed astralcai closed 1 month ago

astralcai commented 2 months ago

Implement a unit test for simulate_one_shot_native_mcm

[sc-71560]

github-actions[bot] commented 2 months ago

Hello. You may have forgotten to update the changelog! Please edit doc/releases/changelog-dev.md with:

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.69%. Comparing base (cbc5a9d) to head (220e5a6). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6124 +/- ## ======================================= Coverage 99.69% 99.69% ======================================= Files 443 443 Lines 42022 42022 ======================================= Hits 41894 41894 Misses 128 128 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mudit2812 commented 2 months ago

This PR doesn't seem like it should be targeting the RC branch.

astralcai commented 1 month ago

Looks great. Just one comment about seeding vs flaky, otherwise I'm happy to approve once the comment is resolved.

Done.