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.17k stars 568 forks source link

More sophisticated measurement validation for default-qubit #5890

Open astralcai opened 1 week ago

astralcai commented 1 week ago

Description of the Change: Add measurement-specific observable validations to measurement validation

[sc-64700]

github-actions[bot] commented 1 week ago

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

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 96.77419% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.63%. Comparing base (8fec135) to head (51b0996). Report is 2 commits behind head on master.

Files Patch % Lines
pennylane/devices/default_qubit.py 96.77% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5890 +/- ## ========================================== - Coverage 99.67% 99.63% -0.04% ========================================== Files 422 425 +3 Lines 40651 40484 -167 ========================================== - Hits 40518 40338 -180 - Misses 133 146 +13 ```

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