Installation & Authentication¶
To run qBraid circuits on Open Quantum hardware you need a qBraid account, an Open Quantum account, and a one-time link between them.
1. Create accounts¶
- Open Quantum — sign up at openquantum.com. Every new account includes $50 in free compute credits.
- qBraid — sign up at qbraid.com.
2. Connect¶
Account linking is a one-time step done from qBraid's website:
- Open the qBraid dashboard.
- Navigate to your profile.
- In the Integrations field, select Open Quantum and follow the prompts to authorize the link.
3. Credentials¶
In a Local Environment (e.g. VS Code)¶
Install the qBraid SDK and provide your qBraid API key. You can find or generate the key in your qBraid account settings.
In qBraid Lab¶
In qBraid Lab, the qBraid SDK is preinstalled and your qBraid API key is detected automatically, so you can skip entering credentials:
from qbraid.runtime import QbraidProvider
provider = QbraidProvider() # API key auto-detected in qBraid Lab
The same code runs in qBraid Lab and locally; the only difference is whether the API key is auto-detected or supplied explicitly.
Credits¶
Open Quantum jobs submitted through qBraid are billed to your Open Quantum account. You do not need qBraid credits to run them. To check your Open Quantum balance or top up, visit your Open Quantum account. For how credit cost is calculated per backend and shot count, see Credits & Pricing.
Next Steps¶
- Backends & Targets -- list available Open Quantum devices and their qBraid device ids.
- Examples -- run your first circuit.