ResultFormat¶
- class ResultFormat[source]¶
Bases:
EnumCanonical format that raw backend results should be converted into.
Set by a measurement stage during
expand; read bypipeline.run()to apply the correct conversion between execute and reduce.Attributes Summary
Raw shot counts — no conversion.
Expectation values (
{observable_key: float}mapping per branch key).Probability distributions (
{bitstring: probability}).Attributes Documentation
- COUNTS = 'counts'¶
Raw shot counts — no conversion. Used by PCE (nonlinear reduce).
- EXPVALS = 'expvals'¶
Expectation values (
{observable_key: float}mapping per branch key).
- PROBS = 'probs'¶
Probability distributions (
{bitstring: probability}).