You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking: Align UEC Envelope 1.0 schemas/models and update all adapters to emit consistent producer/device/program/execution snapshots and unified artifact references.
@@ -66,22 +88,23 @@ Captures submission and job metadata:
66
88
|`execution_count`| Execution counter within run |
67
89
|`transpilation`| Transpilation info (mode, transpiled_by) |
68
90
|`options`| Raw execution options (args, kwargs) |
69
-
|`sdk`|SDK used for execution|
91
+
|`sdk`|Optional legacy field (prefer `producer.sdk` / `producer.frontends`)|
70
92
71
93
### ResultSnapshot
72
94
73
-
Captures normalized execution results:
95
+
Captures normalized execution results (always as a list of per-item results):
74
96
75
97
| Field | Description |
76
98
|-------|-------------|
77
-
|`result_type`| Type of result (counts, quasi_dist, expectation, etc.) |
78
-
|`raw_result_ref`| Reference to full serialized result artifact |
79
-
|`counts`| Normalized measurement counts per circuit |
80
-
|`num_experiments`| Number of experiments in result |
81
-
|`success`| Whether execution succeeded |
82
-
|`error_message`| Error message if failed |
99
+
|`success`| Overall execution success |
100
+
|`status`|`"completed"`, `"failed"`, `"cancelled"`, or `"partial"`|
101
+
|`items`| List of `ResultItem` (one per circuit/parameter-set) |
102
+
|`error`| Structured error info when failed |
103
+
|`raw_result_ref`| Reference to the full serialized SDK result (optional) |
83
104
|`metadata`| Additional result metadata |
84
105
106
+
Each `ResultItem` may contain one primary payload, e.g. `counts`, `quasi_probability`, or `expectation`. If `counts` are present, they include `format` metadata (source SDK + bit ordering) to make results comparable across SDKs.
107
+
85
108
## Why UEC matters
86
109
87
110
The Uniform Execution Contract makes it easier to:
0 commit comments