PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.29k stars 590 forks source link

Add `mcm_method="single-branch-statistics"` for the default Catalyst MCM behaviour #5833

Closed mudit2812 closed 3 months ago

mudit2812 commented 3 months ago

Context: As name says.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

mudit2812 commented 3 months ago

@trbromley Since this is really for catalyst functionality, I'm wondering if I should or should not mention this new mcm_method in the measurements.rst file.

mudit2812 commented 3 months ago

Looks good to me but I think the doc needs to be updated right?

Just waiting for @trbromley 's input about that since this is a mcm method specific to Catalyst, so I'm not sure if the docs should be here or in Catalyst.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.66%. Comparing base (4600c22) to head (8f6fb46). Report is 259 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5833 +/- ## ========================================== - Coverage 99.67% 99.66% -0.01% ========================================== Files 417 417 Lines 39978 39692 -286 ========================================== - Hits 39847 39559 -288 - Misses 131 133 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mudit2812 commented 3 months ago

[sc-65684]