Closed mudit2812 closed 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.
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.
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.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[sc-65684]
Context: As name says.
Description of the Change:
mcm_method
"single-branch-statistics"
used to request the original Catalyst way of performing mid-circuit measurements, wherein only a single branch of the execution tree is explored.mcm_method="single-branch-statistics"
when not usingqml.qjit
.QNode.__init__
now uses aMCMConfig
dataclass for MCM config argumentscapture
module to work with the updates toQNode
.ABCCaptureMeta
in thecapture
module to use as the metaclass forMeasurementProcess
andOperator
. This way, we don't need to create metaclasses local to the files to which those classes belong.Benefits:
Possible Drawbacks:
Related GitHub Issues: