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

fix counts on all wires edge cases #6161

Closed albi3ro closed 2 months ago

albi3ro commented 2 months ago

Missed some edge cases in PR #6108.

Related Shortcut Stories:

[sc-65313] [sc-59327]

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:

Please upload report for BASE (v0.38.0-rc0@219c01b). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v0.38.0-rc0 #6161 +/- ## ============================================== Coverage ? 99.66% ============================================== Files ? 445 Lines ? 42356 Branches ? 0 ============================================== Hits ? 42214 Misses ? 142 Partials ? 0 ```

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