pennylane
pennylane copied to clipboard
`NoiseModel` example for `mitigate_with_zne`
Context: Adding NoiseModel to a device should work properly with mitigate_with_zne
Description of the Change: Added an example for the docs and improved the error message.
Benefits: Users know how to use noise models with mitigate_with_zne
Possible Drawbacks:
Related GitHub Issues: [sc-72624]
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.38%. Comparing base (
a8b46e9) to head (c1a6184). Report is 320 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #6346 +/- ##
=======================================
Coverage 99.38% 99.38%
=======================================
Files 448 448
Lines 42564 42566 +2
=======================================
+ Hits 42304 42306 +2
Misses 260 260
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good to me!