Overview
As a platform-agnostic toolkit, Haiqu SDK is connected with QPUs (Quantum Processing Units) available via AWS Braket platform. This integration allows users to execute their algorithms on different hardware modalities and access, among else, devices offered by IQM, IonQ and Rigetti.How to Access AWS Braket QPUs
The integration is designed to be user-friendly, with a focus on simplifying the process of accessing quantum resources. Below is a step-by-step guide to using Haiqu SDK for this purpose.Configure AWS access credentials
Users must have valid access keys and IDs on AWS to run jobs on AWS Braket devices. If you don’t yet have the credentials, please refer to the AWS documentation. After you have acquired the credentials you can do one of the 3 things:
- Use
aws configureCLI command:
~/.aws/credentials and ~/.aws/config local files.- Use the
save_aws_credentials()function:
- Pass explicitly in
optionsdictionary:
We recommend to issue and use temporary AWS credentails with limited access to AWS resources.
Configure Haiqu SDK
Before executing your job on an AWS Braket device you may need to define (or extend) the
options dictionary with the relevant properties of the execution (e.g. what optimization level you would like to use in transpilation).Submit Quantum Jobs
Once authenticated, users can submit quantum circuits or algorithms to AWS Braket QPUs directly through Haiqu SDK. The SDK handles all backend operations, including job queuing, execution, and result retrieval.