-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add interface to lightning.qubit
MCM preprocessing
#760
Conversation
[sc-65738] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks @mudit2812 !
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #760 +/- ##
==========================================
- Coverage 97.06% 93.00% -4.06%
==========================================
Files 109 17 -92
Lines 15694 1902 -13792
==========================================
- Hits 15233 1769 -13464
+ Misses 461 133 -328 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Context:
Currently blocked by PennyLaneAI/pennylane#5791. Device preprocessing is being moved inside the ML boundary, so the interface information needed for correct
hw-like
postselection is being lost when usingdynamic_one_shot
.Description of the Change:
qml.devices.preprocess.mid_circuit_measurements
accepts an additionalinterface
kwarg, which is now being used inLightningQubit.preprocess
.Benefits:
Expected behaviour with
mcm_method="one-shot"
,postselect_mode="hw-like"
, andjax.jit
.Possible Drawbacks:
Related GitHub Issues: