braket.task_result.analog_hamiltonian_simulation_task_result_v1 module

class braket.task_result.analog_hamiltonian_simulation_task_result_v1.AnalogHamiltonianSimulationShotMetadata[source]

Bases: pydantic.main.BaseModel

The analog hamiltonian simulation shot metadata schema.

shotStatus

The status of the shot.

Type:str

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class braket.task_result.analog_hamiltonian_simulation_task_result_v1.AnalogHamiltonianSimulationShotResult[source]

Bases: pydantic.main.BaseModel

The analog hamiltonian simulation shot result schema.

preSequence

Pre-sequence measurement bits (one for each atomic site) for each shot: 0 if site is empty, 1 if site is filled, measured before the sequences of pulses that run the quantum evolution

Type:Optional[conlist(conint(ge=0, le=1), min_items=1)]
postSequence

Post-sequence measurement bits for each shot: 0 if atom is in Rydberg state or site is empty, 1 if atom is in ground state, measured at the end of the sequences of pulses that run the quantum evolution

Type:Optional[conlist(conint(ge=0, le=1), min_items=1)]

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class braket.task_result.analog_hamiltonian_simulation_task_result_v1.AnalogHamiltonianSimulationShotMeasurement[source]

Bases: pydantic.main.BaseModel

The analog hamiltonian simulation shot measurement schema.

shotMetadata

The analog hamiltonian simulation shot metadata schema.

Type:AnalogHamiltonianSimulationShotMetadata
shotResult

The analog hamiltonian simulation shot result schema.

Type:AnalogHamiltonianSimulationShotResult

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class braket.task_result.analog_hamiltonian_simulation_task_result_v1.AnalogHamiltonianSimulationTaskResult[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

The Analog Hamiltonian Simulation task result schema

braketSchemaHeader

Schema header. Users do not need to set this value. Only default is allowed.

Type:BraketSchemaHeader
taskMetadata

The task metadata

Type:TaskMetadata
measurements

List of measurements for each shot.

Type:List[AnalogHamiltonianSimulationShotMeasurement]

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.