Skip to content

bloqade.analog.submission.ir.braket.from_braket_status_codes

← Module overview

functionfrom_braket_status_codessource

bloqade.analog.submission.ir.braket.from_braket_status_codes

def from_braket_status_codes(braket_status: str) -> QuEraTaskStatusCode

Gets the QuEraTaskStatusCode object for working with Bloqade SDK.

Parameters

NameTypeDescription
braket_statusstrstr The value of status in metadata() in the Amazon Braket. `GetQuantumTask` operation. If `use_cached_value` is `True`, the value most recently returned from `GetQuantumTask` operation is used

Returns

QuEraTaskStatusCodeAn object of the type `Field` in Braket SDK

source