braket.device_schema.openqasm_program_set_device_action_properties module

class braket.device_schema.openqasm_program_set_device_action_properties.OpenQASMProgramSetDeviceActionProperties(*, version: list[str], actionType: ConstrainedStrValue, maximumExecutables: ConstrainedIntValue, maximumTotalShots: ConstrainedIntValue, minimumTotalShots: ConstrainedIntValue | None = None)[source]

Bases: DeviceActionProperties

Defines the properties for the Braket OpenQASM program set action.

maximumExecutables

The maximum number of executables that can be in a single program set.

Type:

int

maximumTotalShots

The maximum allowed total shots across all executables in a single program set.

Type:

int

minimumTotalShots

The minimum allowed total shots across all executables in a single program set. When unset, no task-level minimum is enforced. Devices opt in by setting this field to a value > 1.

Type:

int | None

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.

actionType: ConstrainedStrValue
maximumExecutables: ConstrainedIntValue
maximumTotalShots: ConstrainedIntValue
minimumTotalShots: ConstrainedIntValue | None