Frame
- class braket.pulse.frame.Frame(frame_id, port, frequency, phase=0, is_predefined=False, properties=None)[source]
Bases:
objectFrame tracks the frame of reference, when interacting with the qubits, throughout the execution of a program. See https://openqasm.com/language/openpulse.html#frames for more details.
- Parameters:
frame_id (
str)port (
Port)frequency (
float)phase (
float)is_predefined (
bool)properties (
dict[str,Any] |None)
Initializes a Frame.
- Parameters:
frame_id (
str) – str identifying a unique frame.port (
Port) – port that this frame is attached to.frequency (
float) – frequency to which this frame should be initialized.phase (
float) – phase to which this frame should be initialized. Defaults to 0.is_predefined (
bool) – bool indicating whether this is a predefined frame on the device. Defaults to False.properties (
dict[str,Any] |None) – Dict containing properties of this frame. Defaults to None.
- property id: str
Returns a str indicating the frame id.