Port

class braket.pulse.port.Port(port_id, dt, properties=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.

Parameters:
  • port_id (str)

  • dt (float)

  • properties (dict[str, Any] | None)

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 (dict[str, Any] | None) – 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.