Skip to content

bloqade.analog.submission.ir.braket.to_braket_field

← Module overview

functionto_braket_fieldsource

bloqade.analog.submission.ir.braket.to_braket_field

Signature
def to_braket_field(quera_field: Union[GlobalField, LocalField]) -> Field

Converts to TimeSeries object supported by Braket.

Parameters

NameTypeDescription
quera_fieldUnion[GlobalField, LocalField]

Returns

FieldAn object of the type `braket.ahs.field.Field`

Raises

TypeDescription
TypeErrorIf field is not of the type `GlobalField` or `LocalField`.
source