Overview
As part of its mission to provide an intuitive and versatile platform, Haiqu SDK now integrates seamlessly with IBM Quantum QPUs (Quantum Processing Units). This integration allows users to leverage the computational power of IBM’s state-of-the-art quantum processors directly from the Haiqu SDK environment.How to Access IBM Quantum 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.Obtain an IBM Token
Users must acquire an access token from IBM. Should you want to run your workloads via IBM Cloud, make sure to create an API key on IBM Cloud (you can check the documentation here). This token serves as a secure credential to authorize access to the quantum processors.
Configure Haiqu SDK
To connect Haiqu SDK with IBM Quantum QPUs, users need to input the obtained access token into the options as
ibm_quantum_token. The token can be passed as an variable directly through the SDK’s API. Alternatively, you can save your credentials once using save_ibm_credentials()and not specify them in the options for every execution.Submit Quantum Jobs
Once authenticated, users can submit quantum circuits or algorithms to IBM QPUs directly through Haiqu SDK. The SDK handles all backend operations, including job queuing, execution, and result retrieval.