How Amazon Braket works - Amazon Braket

How Amazon Braket works

Tip

Learn the foundations of quantum computing with AWS! Enroll in the Amazon Braket Digital Learning Plan and earn your own Digital badge after completing a series of learning courses and a digital assessment.

Amazon Braket provides on-demand access to quantum computing devices, including on-demand circuit simulators and different types of QPUs. In Amazon Braket, the atomic request to a device is a quantum task. For gate-based QC devices, this request includes the quantum circuit (including the measurement instructions and number of shots) and other request metadata. For Analog Hamiltonian Simulators, the quantum task contains the physical layout of the quantum register and the time- and space-dependence of the manipulating fields.

In this section, we are going to learn about the high-level flow of running quantum tasks on Amazon Braket.

Amazon Braket quantum task flow

Diagram showing user interaction with AWS Cloud services like Amazon Braket notebook, S3 results bucket, Amazon Braket, managed simulator, and their results to QPUs for quantum computing tasks.

With Jupyter notebooks, you can conveniently define, submit, and monitor your quantum tasks from the Amazon Braket Console or using the Amazon Braket SDK. You can build your quantum circuits directly in the SDK. However, for Analog Hamiltonian Simulators, you define the register layout and the controlling fields. After your quantum task is defined, you can choose a device to run it on and submit it to the Amazon Braket API (2). Depending on the device you chose, the quantum task is queued until the device becomes available and the task is sent to the QPU or simulator for implementation (3). Amazon Braket gives you access to different types of QPUs (IonQ, IQM, QuEra, Rigetti), three on-demand simulators (SV1, DM1, TN1), two local simulators, and one embedded simulator. To learn more, see Amazon Braket supported devices.

After processing your quantum task, Amazon Braket returns the results to an Amazon S3 bucket, where the data is stored in your AWS account (4). At the same time, the SDK polls for the results in the background and loads them into the Jupyter notebook at quantum task completion. You can also view and manage your quantum tasks on the Quantum Tasks page in the Amazon Braket console or by using the GetQuantumTask operation of the Amazon Braket API.

Amazon Braket is integrated with AWS Identity and Access Management (IAM), Amazon CloudWatch, AWS CloudTrail and Amazon EventBridge for user access management, monitoring and logging as well as for event based processing (5).

Third-party data processing

Quantum tasks that are submitted to a QPU device are processed on quantum computers located in facilities operated by third party providers. To learn more about security and third-party processing in Amazon Braket, see Security of Amazon Braket Hardware Providers.