braket.device_schema.pulse.port_v1 module

class braket.device_schema.pulse.port_v1.Direction[source]

Bases: enum.Enum

Specifies the direction of port.

tx = 'tx'
rx = 'rx'
class braket.device_schema.pulse.port_v1.Port[source]

Bases: pydantic.main.BaseModel

Represents a hardware port that may be used for pulse control. For more details on ports refer to the OpenQasm/OpenPulse documentation


The id of the associated hardware port the frame uses


The directionality of the port


The port type of the control hardware


The smallest time step that may be used on the control hardware

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.