braket.device_schema.pulse.pulse_function_v1 module

class braket.device_schema.pulse.pulse_function_v1.PulseFunctionArgument[source]

Bases: pydantic.main.BaseModel

Defines a pulse function argument

name

The argument name

type

The string name of the argument type

description

Optional description for the argument

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.device_schema.pulse.pulse_function_v1.PulseFunction[source]

Bases: pydantic.main.BaseModel

Describes a pulse function

functionName

The name of the function

arguments

List of function arguments

returnType

Return type of the function. If null function has no return value.

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.