pennylane
pennylane copied to clipboard
QCUT: Support returning multiple Pauli words
Context:
Supports circuits with measurements composed of expectation values of multiple (commuting) Pauli words
Benefits:
Huge savings on the number of executions
Possible Drawbacks:
The change feels a bit hacked-in. TF JIT breaks
Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md
with:
- A one-to-two sentence description of the change. You may include a small working example for new features.
- A link back to this PR.
- Your name (or GitHub username) in the contributors section.
Codecov Report
Merging #2551 (aef61d9) into master (7575ecb) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #2551 +/- ##
=======================================
Coverage 99.64% 99.65%
=======================================
Files 261 261
Lines 21970 22016 +46
=======================================
+ Hits 21893 21939 +46
Misses 77 77
Impacted Files | Coverage Δ | |
---|---|---|
pennylane/transforms/qcut.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Closing this PR but please do not delete the branch, it is needed for this repo: https://github.com/XanaduAI/randomized-measurements-circuit-cutting