pennylane icon indicating copy to clipboard operation
pennylane copied to clipboard

QCUT: Support returning multiple Pauli words

Open trbromley opened this issue 2 years ago • 2 comments

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

trbromley avatar May 09 '22 19:05 trbromley

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.

github-actions[bot] avatar May 09 '22 19:05 github-actions[bot]

Codecov Report

Merging #2551 (aef61d9) into master (7575ecb) will increase coverage by 0.00%. The diff coverage is 100.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.

codecov[bot] avatar May 09 '22 19:05 codecov[bot]

Closing this PR but please do not delete the branch, it is needed for this repo: https://github.com/XanaduAI/randomized-measurements-circuit-cutting

trbromley avatar Oct 18 '22 15:10 trbromley