bloqade.core.device.local_storage.ShotResult
← Module overview
class
classShotResult¶source
bloqade.core.device.local_storage.ShotResult
Stored result for one shot and frame type.
Signature
class ShotResult(task_id: str, shot_index: int, subtask_index: int, subtask_shot_index: int, frame_type: str, bitstring: np.ndarray)Parameters
| Name | Type | Description |
|---|---|---|
task_id | str | |
shot_index | int | |
subtask_index | int | |
subtask_shot_index | int | |
frame_type | str | |
bitstring | np.ndarray |
Attributes
| Name | Type | Description |
|---|---|---|
task_id | str | Backend task ID that produced the shot. |
shot_index | int | Shot index within the task. |
subtask_index | int | Subtask index within the task definition. |
subtask_shot_index | int | Shot index local to the subtask. |
frame_type | str | Result frame type, such as "DETECTED". |
bitstring | np.ndarray | Boolean measurement bitstring. |