Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #280 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 1256 1258 +2
Branches 179 180 +1
=========================================
+ Hits 1256 1258 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
||
| if return_type is ObservableReturnTypes.Probability: | ||
| if observable: | ||
| raise qml.DeviceError("Probability result type not supported for observables") |
There was a problem hiding this comment.
This looks to be causing some issues for the tests. Is this the expected outcome now?
There was a problem hiding this comment.
So at the moment the pl-device-tests are xfailing the hadamard gradient tests due to the incorrect results. We may instead need to xfail at a different location as now we get an error on execution, instead of on result comparison:
There was a problem hiding this comment.
Looks like the device tests are still failing; is there a workaround I can use?
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Issue #, if available:
#279
Description of changes:
Testing done:
Merge Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.