braket.pulse.port module

class braket.pulse.port.Port(port_id: str, dt: float, properties: dict[str, Any] | None = None)[source]

Bases: object

Ports represent any input or output component meant to manipulate and observe qubits on a device. See https://openqasm.com/language/openpulse.html#ports for more details.

Initializes a Port.

Parameters:
  • port_id (str) – str identifying a unique port on the device.

  • dt (float) – The smallest time step that may be used on the control hardware.

  • properties (Optional[dict[str, Any]]) – Dict containing properties of this port. Defaults to None.

property id: str

Returns a str indicating the port id.

property dt: float

Returns the smallest time step that may be used on the control hardware.