Pulse control
Pulses are the analog signals that control the qubits in a quantum computer. With certain devices on Amazon Braket, you can access the pulse control feature to submit circuits using pulses. You can access pulse control through the Braket SDK, using OpenQASM 3.0, or directly through the Braket APIs.
Support for pulse control varies across devices, so check for support by first doing:
from braket.aws import AwsDevice
device = AwsDevice("<device-arn>")
getattr(device.properties, "pulse", None) is not None # True if the device supports pulse controlFor terminology and instructions on pulse controls with code snippets, see Pulse control on Amazon Braket. A tutorial with a working example can be found at Working with Hello Pulse. The API reference for pulse control in the Braket SDK can be found at braket.pulse.
Native gates using pulses
Native gates are represented on some devices in terms of a gate name, a qubit set, and a pulse sequence that performs the operation on the device.
For working with native gates using pulses, see Accessing native gates using pulses.
Support for pulse control varies across devices, so check for supported gates and calibrations by first doing:
from braket.aws import AwsDevice
device = AwsDevice("<device-arn-that-supports-pulse-control>")
calibrations = device.gate_calibrationsHardware providers periodically calibrate the QPU, often more than once a day. The Braket SDK enables you to obtain the latest gate calibrations:
device.refresh_gate_calibrations()For an end-to-end working example, use Working with Hello Pulse or the Amazon Braket pulse-control notebook examples. For native-gate-specific guidance, see Accessing native gates using pulses.