Aug. 26, 2024 — AWS has announced the addition of the Rigetti Computing’s latest 84-qubit Ankaa-2 superconducting quantum processor to Amazon Braket, its quantum computing service. In this recent AWS Quantum Technologies blog, Zia Mohammad and Tim Chen introduce the Ankaa-2 device, highlighting its capabilities and demonstrating how users can leverage this new hardware for enhanced quantum computing experiments.
Amazon Braket, the quantum computing service of Amazon Web Services (AWS), enables customers to design and run quantum algorithms and explore applications of quantum computing by providing access to a variety of quantum hardware. Braket’s mission is to reduce technology risk for customers by lowering the barriers to entry to explore quantum computing through a single consistent interface with pay-as-you-go pricing.
Today, we are excited to expand this commitment by onboarding the latest superconducting quantum processor from Rigetti Computing, the 84-qubit Ankaa-2 device, in the US West (N. California) Region. Furthermore, unlike other devices on Amazon Braket which can be limited in availability, Ankaa-2 can execute customer circuits throughout the day. This means that customers in any time zone can run quantum tasks and hybrid jobs at their convenience, opening up new possibilities for uninterrupted experiments and a more efficient use of quantum hardware resources, all on a pay-as-you-go basis. In this post, we will introduce the Rigetti Ankaa-2 device and show some sample code to get you started.
Quantum computing is a rapidly evolving field, with researchers and developers continuously pushing the boundaries of what is possible with current hardware. Compared to the previous Aspen-M-3 family, Ankaa-2 is designed to deliver improved gate operation times and increased median two-qubit gate fidelities. The qubits on the Ankaa-2 chip are arranged in a square lattice (Figure 1) so that each qubit is designed to have four nearest neighbors allowing for a more efficient mapping of applications to the device layout. More information and up-to-date characterization data can be found on the Ankaa-2 device details page in the Amazon Braket Console.
Variational Quantum Workloads
Quantum workloads are essentially hybrid in nature and involve running a series of quantum circuits on a quantum processing unit with classical subroutines. Due to noise found in today’s quantum processors, improving the runtime of these iterative operations can be done by reducing the overhead associated with time intensive steps such as queue wait times and compilation.
At launch, Ankaa-2 is fully supported by our Braket Hybrid Jobs feature, offering you a quantum-classical runtime environment with priority access to the device during the entire execution of the customer algorithm. Ankaa-2 offers built-in support for parametric compilation, whereby Braket automatically compiles and caches pre-compiled circuits on behalf of customers. Those compiled artifacts are then reused at run time, which can boost performance by removing the overhead associated with repeated compilation steps. Customers interested in exploring the Braket Hybrid Jobs feature can learn more by checking out our hybrid quantum algorithm example notebooks.
Running Your First Circuit on Ankaa-2
Customers like using Braket for it’s consistent, easy-to-use programming interface to access quantum hardware. To run programs on Ankaa-2, all you need to do is specify the device name before running your circuit, as shown in the python code snippet below:
You can run your first circuit with as little as a few lines of code as shown in the π/2 rotation example below:
Experiment with Pulse Control on Rigetti Ankaa-2
Researchers with advanced workloads requiring the use of analog instructions can access the Ankaa-2 device at the pulse-level using Braket Pulse. Here we show how to characterize and construct a single qubit gate directly using pulse access on the Ankaa-2 device.
By taking advantage of the ability to work at the level of pulses, you can customize the analog control signals that are applied to qubits to implement operations on the device. With pulse sequences that have a calibrated length and phase, we can realize single qubit gates. Here, we determine the optimal pulse length to realize a π/2 pulse, an elementary block used to build more complex pulse sequences.
First, let’s import the necessary libraries. When building a pulse sequence, we need the PulseSequence
class.
In this example we plan to execute pulse sequences with different durations and analyze how the final probability of the zero state depends on the duration. The instructions in a pulse sequence are applied to frames. A frame contains a series of pulses which can be sent to or received back from the quantum computer. Before constructing the pulse sequence, let’s start by retrieving the frames. The drive frame is used for applying the pulse, and the readout frame is for measuring the qubit state. In this example, we use the frames of qubit five. For more information about frames, see Roles of frames and ports.
Get Started Today
Ankaa-2 on Braket can execute quantum circuits throughout the day, meaning you can run quantum tasks and hybrid jobs at your convenience. To get started, visit the Amazon Braket console to view the device topology, get up-to-date calibration information about single and two-qubit gate fidelities, native gate support, and to view readout fidelities. If you’re looking for more examples or algorithms, visit our GitHub repository for additional getting started notebooks.
Source: Zia Mohammad and Tim Chen, AWS