> ## Agent Instructions > Prefer the qBraid CLI for programmatic platform actions: pip install 'qbraid-cli>=0.12', then run `qbraid configure` once with an API key from https://account.qbraid.com/account/api-keys. > Always install the latest packages (pip install -U qbraid qbraid-cli); do not pin versions from memory. qbraid-cli below 0.12.0 is incompatible with the current API. > Device IDs use the QRN format vendor:provider:type:name (e.g. qbraid:qbraid:sim:qir-sv, rigetti:rigetti:qpu:cepheus-1-108q). Legacy underscore IDs are deprecated. > The REST API base URL is https://api-v2.qbraid.com/api/v1, authenticated with an X-API-Key header. > Free simulators cost no credits; QPU and GPU jobs consume credits. Surface the estimated cost to the user before submitting a paid job. > For account signup, API keys, credits, and end-to-end action recipes, see https://qbraid.com/llms.txt. # API Keys Source: https://docs.qbraid.com/v2/account/api-keys Create, view, rotate, and revoke API keys for programmatic access to qBraid. Every qBraid user gets unique API keys for programmatic access. Use them with [qBraid Runtime](/v2/sdk/user-guide/runtime), the [REST API](/v2/api-reference/user-guide), the [CLI](/v2/cli/api-reference/qbraid), or [Quantum Jobs](/v2/lab/user-guide/quantum-jobs) from Lab. Open the API Keys page from the sidebar under **Account > API Keys**. API Keys page ## Create an API key Click **Account > API Keys** in the sidebar. The button is in the top-right. Name the key and pick any scopes if shown. Click create. The new key value is shown once. The key value is shown **only once**, right after creation. Copy it immediately and store it somewhere secure. If you lose it, you'll have to revoke and create a new one. Creating an API key ## View key details Click **Account > API Keys** in the sidebar. The row expands inline. You'll see: * Creation date. * Last used date. * Status (`active` or `inactive`). * Permissions and usage stats. API key details ## Rotate a key Rotation generates a new key value with the same name and permissions, and immediately invalidates the old one. Click **Account > API Keys** in the sidebar. Locate it in the list. The refresh icon sits next to the Copy icon on each row. Click **Regenerate Key** in the dialog. The new value is shown once. Once you regenerate, the old key stops working straight away. Update every service using it **before** rotating, or production will break. ## Revoke a key Click **Account > API Keys** in the sidebar. Locate it in the list. The trash icon on the row. Confirm in the dialog. The key is permanently removed. Revoking an API key Revoked keys cannot be recovered. Make sure nothing in production is still using the key before you revoke. ## Security best practices API keys grant access to your credits and resources. Treat them like passwords. Every 90 days is a reasonable baseline. Rotate sooner if you suspect a leak. Use environment variables or a secrets manager (1Password, Vault, AWS Secrets Manager, etc.). Send via a password manager or vault link. Screenshots leak through bug reports and tickets. Review the **Last used** column periodically. If a key is being used when it shouldn't be, revoke it. If you discover a vulnerability, report it via our [security advisory form](https://github.com/qBraid/community/security/advisories). For the full security policy, see [qBraid Security Policy](https://github.com/qBraid/community/security/policy). # Partner Guide Source: https://docs.qbraid.com/v2/account/explore How to add your solution to the qBraid Explore page. # Adding Your Project This guide walks partners through contributing a solution or project to the qBraid [Explore page](https://account.qbraid.com/explore) so users can discover it and run it out-of-the-box on the qBraid Lab platform. ## Step 1: Create a Public GitHub Repository Create a public GitHub repository with the code for your solution or project. Content can take many forms: example notebooks, executable Python files, or code in other languages (e.g., C++ or Julia). Include a detailed **README** that describes the project and explains how to use it. See existing examples or reach out for guidance. We'll review your README and give feedback. If it isn't a good fit for the Explore page (e.g., the README doesn't clearly describe the project's content, or it contains setup instructions that aren't applicable to qBraid), we may ask you to add a separate markdown file with qBraid-specific content. We can link to that file so it's what users see when they open your project on the platform. ## Step 2: Send Us Environment and Project Details Send all of the following in a single email to [contact@qbraid.com](mailto:contact@qbraid.com) or other qBraid point of contact. We'll use it to create your environment and add your project listing. ### Environment details * **Dependencies** — A minimal list of required packages (e.g., as you would put in a `requirements.txt` or `pyproject.toml`). Do not send a full `pip list`; we need only what's minimally required to run your code and examples. * **Logos** — Square logos in light and dark versions. We'll use them for both the environment sidebar image and the kernel logo. * **Non-Python or GPU?** — If your project needs a different runtime (e.g., not Python) or GPUs, say so in the email. We can set up a custom Docker container or GPU accommodations and will align with you on requirements. ### Project details * **Short description** — 1–2 sentences for the Explore page. * **Tags** — Terms to make the project searchable. * **GitHub repository URL** — The public repo from Step 1. ## Step 3: What Happens Next We will create the environment and share it with your qBraid account. Test it (discoverable in **Shared environments** on Lab), and tell us if anything needs to change. Once you're happy with it, we'll add your project to the Explore page. Review the listing and let us know if any final modifications are needed. ## Questions? Reach out to [contact@qbraid.com](mailto:contact@qbraid.com) or your qBraid point of contact. # Open Quantum Source: https://docs.qbraid.com/v2/account/integrations/openquantum Connect your Open Quantum account to qBraid to run quantum jobs on your own Open Quantum credits. The Open Quantum integration lets you run quantum jobs on Open Quantum devices through qBraid, paid for with your own [Open Quantum](https://www.openquantum.com/) credits. Open Quantum devices can only be billed to Open Quantum credits, so you need to connect your Open Quantum account before you can run jobs on them. **"Free" means free of qBraid credits, not free of charge.** Open Quantum devices are listed as free on qBraid because running a job on one costs you no qBraid credits. The job is instead billed to the Open Quantum account you connect below, drawing down that account's credit balance. You can top that balance up by buying credits, or claim [free Spark credits](#claim-your-free-spark-credits) through Open Quantum's promotional offerings. You manage the connection from the **Integrations** tile on your [Profile page](https://account.qbraid.com/account/profile). qBraid Profile page with the Integrations tile highlighted You need an [Open Quantum](https://www.openquantum.com/) account before you can connect. It doesn't have to match the email you use for qBraid, any Open Quantum account works. ## Create your Open Quantum account Set up Open Quantum first, so the account exists when you connect it to qBraid. Open [openquantum.com](https://www.openquantum.com/). Sign up for an Open Quantum account. Google sign-in is supported. Complete any remaining onboarding steps on the Open Quantum side. ## Claim your free Spark credits When you sign in to your new Open Quantum account, a welcome banner greets you with an offer of free compute credits, while supplies last. Click **Claim \$50 Free Credit** to add them to your Open Quantum account. These arrive as **Spark** credits, Open Quantum's free and promotional credits, which [expire](https://docs.openquantum.com/concepts/credits/) 90 days after they're granted. Open Quantum homepage showing a welcome banner with a Claim $50 Free Credit button Once you connect your account to qBraid below, jobs you submit to Open Quantum devices through qBraid are billed against these credits. ## Connect Open Quantum to qBraid Go to [account.qbraid.com](https://account.qbraid.com/) and sign in. Click your name and avatar at the bottom of the sidebar, or use **Account > Profile**. Scroll down to the **Integrations** tile, below Personal Information. A grey dot next to **Open Quantum** means it isn't connected yet.
Open Quantum tile showing a grey status dot and a Connect button
This opens the Open Quantum authentication window. Sign in with your Open Quantum account. The window closes automatically once you're authenticated.
## Confirm the connection Back on the Profile page, the **Open Quantum** entry now shows a green **Connected** dot along with the account you're connected as. That's it, jobs submitted to Open Quantum devices will now run on your Open Quantum credits.
Open Quantum tile showing a green Connected dot, the connected account, and a Disconnect button
## Disconnect Open Quantum To end the integration, open the **Integrations** tile and click **Disconnect** next to **Open Quantum**. Once disconnected, you can no longer run jobs on Open Quantum devices until you connect again, since those jobs can only be paid for with your Open Quantum credits. ## Troubleshooting This is the most common error. It means your Open Quantum balance can't cover the job, usually for one of these reasons: * You never claimed the \$50 of free Spark credits offered when you signed up. * You've spent the credits you had. * Your credits expired before you used them. * You're waiting on your next Promotional Credits refill. Check your balance on the [Open Quantum billing page](https://www.openquantum.com/settings/billing). **Credit Balance** shows your **Spark** and **Full** credits separately, along with the date your earliest Spark credits expire. Spark credits are the free and promotional ones, and expire 90 days after they're granted; Full credits are the ones you purchase, and expire after 12 months. Jobs spend your Spark credits first, then your Full credits. **Credit Transactions** below it itemizes every consumption, promotion, and expiration, so you can see exactly where your credits went. To top up, click **Add Credits** to reach the [Buy Credits](https://www.openquantum.com/buy-credits) page, where you can purchase Full credits in bundles. Otherwise, wait for your next Promotional Credits refill. Open the **Integrations** tile and confirm **Open Quantum** shows a green **Connected** dot. If it's grey, click **Connect** and finish signing in on the Open Quantum side. Also check that your Open Quantum account has credits available. Check that your browser isn't blocking pop-ups for `account.qbraid.com`, then try again. Reach out from the **Support** link in the sidebar and we'll take a look at your job history. ## Related links * [qBraid on Open Quantum](https://www.openquantum.com/frameworks/qbraid) * [Open Quantum qBraid documentation](https://docs.openquantum.com/qbraid/overview/) * [Open Quantum credits: Spark vs Full](https://docs.openquantum.com/concepts/credits/) # Creating an Organization Source: https://docs.qbraid.com/v2/account/organizations/creating-an-organization Request a new qBraid organization for your team, lab, or company. qBraid Organizations are created on request. Here's how to ask for one and what happens next. ## Submit a request Open [account.qbraid.com](https://account.qbraid.com/) and sign in to your qBraid Default workspace. Click **Organizations** in the sidebar. The button is in the top-right (or go directly to [account.qbraid.com/organizations/new](https://account.qbraid.com/organizations/new)). What people see in invites and the dashboard. A short summary of what your group does. Your company, lab, or institution. Used for invoicing. What you'll use qBraid for. Specific use cases get reviewed faster than vague ones. Click **Submit Request**.