braket.device_schema.pulse.port_v1 module

class braket.device_schema.pulse.port_v1.Direction(value)[source]

Bases: Enum

Specifies the direction of port.

tx = 'tx'
rx = 'rx'
class braket.device_schema.pulse.port_v1.Port(*, portId: str, direction: Direction, portType: str, dt: float, qubitMappings: List[int] | None = None, centerFrequencies: Set[float] | None = None, qhpSpecificProperties: Dict[str, Any] | None = None)[source]

Bases: BaseModel

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

portId

The id of the associated hardware port the frame uses

Type:

str

direction

The directionality of the port

Type:

braket.device_schema.pulse.port_v1.Direction

portType

The port type of the control hardware

Type:

str

dt

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

Type:

float

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.

portId: str
direction: Direction
portType: str
dt: float
qubitMappings: List[int] | None
centerFrequencies: Set[float] | None
qhpSpecificProperties: Dict[str, Any] | None