You can access the CLI directly from within Notebooks
using IPython magic commands. First, configure
the qBraid magic command extension using:
$ qbraid configure magic
The above command can also be executed from within a Jupyter notebook using the ! operator. Then, from within a
notebook cell, load the qBraid magic IPython extension using:
In [1]: %load_ext qbraid_magic
Now you can continue to use the qBraid-CLI as normal from within your Jupyter notebook using the magic % operator, e.g.
In [2]: %qbraidIn [3]: %qbraid --version
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"qBraid","description":"Official documentation for qBraid, the quantum computing platform: Lab (cloud IDE), Runtime (SDK, CLI, and REST API), and 20+ QPUs and simulators from 11 providers, unified behind one account and credit system.","colors":{"primary":"#6d3fd6","light":"#9f6cff","dark":"#0a0a0b"},"logo":{"light":"https://mintcdn.com/qbraidco/MWMLuPZDp_BcNo9C/_static/logo.png?fit=max\u0026auto=format\u0026n=MWMLuPZDp_BcNo9C\u0026q=85\u0026s=96d4240582ef0f2dc313ddc7d324c5d7","dark":"https://mintcdn.com/qbraidco/oaKSHMFAnH5HdzF8/_static/logo-dark.png?fit=max\u0026auto=format\u0026n=oaKSHMFAnH5HdzF8\u0026q=85\u0026s=bfe5e30f1da137a470b8b16bf3f91c58"},"favicon":"https://mintcdn.com/qbraidco/MWMLuPZDp_BcNo9C/_static/favicon.png?fit=max\u0026auto=format\u0026n=MWMLuPZDp_BcNo9C\u0026q=85\u0026s=866b6073222b6f7a37fd133b5bf06671","api":{"openapi":["openapi-v2.json"]},"appearance":{"default":"dark"},"background":{"color":{"light":"#f4f3ee","dark":"#0a0a0b"}},"navbar":{"primary":{"type":"button","label":"START NOW","href":"https://account.qbraid.com/"}},"footer":{"socials":{"x":"https://x.com/qbraid_official","linkedin":"https://www.linkedin.com/company/qbraid-official","youtube":"https://www.youtube.com/@qbraidofficial"}},"seo":{"organization":{"name":"qBraid","url":"https://qbraid.com","sameAs":["https://github.com/qBraid","https://www.linkedin.com/company/qbraid-official","https://x.com/qbraid_official","https://discord.gg/9jpmpeEV65"]}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Space Grotesk"}},"styling":{"codeblocks":"dark","latex":false},"integrations":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"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."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"qbraidco","hasAudioNarration":false,"actualSubdomain":"qbraidco","customDomains":[],"gitSource":{"type":"github","owner":"qbraid","repo":"docs","deployBranch":"mintlify-live","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6abef6744c467cea2ee81621","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":127},{"language":"default","tag":"User Guide","count":67},{"language":"default","tag":"SDK","count":25},{"language":"default","tag":"API Reference","count":21},{"language":"default","tag":"ACCOUNT","count":19},{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"LAB","count":16},{"language":"default","tag":"Providers","count":15},{"language":"default","tag":"APIs","count":12},{"language":"default","tag":"Organizations","count":9}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"contact@qbraid.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"starterQuestions":[{"_id":"698bbb67e0c4d028d9b94ffe","deploymentId":"6616dbe4a537d328fd088844","questionText":"What AI integrations does qBraid offer?","status":"active","generatedBy":"manual","createdAt":"2026-02-10T23:12:39.122Z","updatedAt":"2026-02-10T23:12:39.122Z","__v":0},{"_id":"698bba86e0c4d028d9b94cb0","deploymentId":"6616dbe4a537d328fd088844","questionText":"How do I launch a qBraid Lab GPU instance?","status":"active","generatedBy":"manual","createdAt":"2026-02-10T23:08:54.001Z","updatedAt":"2026-02-10T23:13:41.714Z","__v":0},{"_id":"698bba66e0c4d028d9b94c5a","deploymentId":"6616dbe4a537d328fd088844","questionText":"How can I submit a quantum job to a QPU using qBraid credits?","status":"active","generatedBy":"manual","createdAt":"2026-02-10T23:08:22.342Z","updatedAt":"2026-02-10T23:13:57.413Z","__v":0}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--qb-bg: #0a0a0b;--qb-fg: #ece9e0;--qb-accent: #9f6cff;--qb-accent-soft: rgba(159, 108, 255, 0.14);--qb-paper: #f4f3ee;--qb-ink: #111114}h1,h2,h3,h4{font-weight:400;letter-spacing:-0.02em}pre,pre *,code,kbd,samp{font-family:\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}::selection{background:var(--qb-accent-soft)}td:nth-child(2){width:200px}@media (min-width: 1024px){:root{--mintlify-slot-header-height: 7rem}}"}],"page":{"pagePath":"v2/cli/user-guide/magic-commands","slug":"/v2/cli/user-guide/magic-commands","pageMetadata":{"title":"Magic Commands","description":null,"href":"/v2/cli/user-guide/magic-commands"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`You can access the CLI directly from within `,_jsx(_components.a,{href:`/v2/lab/user-guide/notebooks`,children:`Notebooks`}),`\nusing IPython `,_jsx(_components.a,{href:`https://ipython.readthedocs.io/en/stable/interactive/magics.html`,children:`magic commands`}),`. First, configure\nthe qBraid magic command extension using:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`$ qbraid configure magic`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The above command can also be executed from within a Jupyter notebook using the `,_jsx(_components.code,{children:`!`}),` operator. Then, from within a\nnotebook cell, load the qBraid magic IPython extension using:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`In [1]: %load_ext qbraid_magic`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Now you can continue to use the qBraid-CLI as normal from within your Jupyter notebook using the magic `,_jsx(_components.code,{children:`%`}),` operator, e.g.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`In [2]: %qbraid`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`In [3]: %qbraid --version`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Magic Commands","description":null,"href":"/v2/cli/user-guide/magic-commands"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"qbraidco","siteName":"qBraid","title":"Magic Commands - qBraid","navMaps":{"firstHrefInVersion":{"v2":{"href":"/v2/cli/user-guide/magic-commands","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T00:10:39.923Z","originalFileLocation":"v2/cli/user-guide/magic-commands.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"qBraid\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Magic Commands - qBraid\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"qBraid\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://qbraidco.mintlify.site/_mintlify/api/og/v2?division=User+Guide\u0026amp;title=Magic+Commands\u0026amp;theme=41084dc9556363022fb64375\u0026amp;signature=12db7eee6a744fbc711828f13360dfa1dfdafa81b693e9489599d1401322381d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Magic Commands - qBraid\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://qbraidco.mintlify.site/_mintlify/api/og/v2?division=User+Guide\u0026amp;title=Magic+Commands\u0026amp;theme=41084dc9556363022fb64375\u0026amp;signature=12db7eee6a744fbc711828f13360dfa1dfdafa81b693e9489599d1401322381d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/qbraidco/dCdyORhM0km9pzw9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"qBraid\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6d3fd6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/cli/user-guide/magic-commands.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://qbraid.com/#organization\",\"name\":\"qBraid\",\"url\":\"https://qbraid.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/qbraidco/MWMLuPZDp_BcNo9C/_static/logo.png?fit=max\u0026auto=format\u0026n=MWMLuPZDp_BcNo9C\u0026q=85\u0026s=96d4240582ef0f2dc313ddc7d324c5d7\"},\"sameAs\":[\"https://github.com/qBraid\",\"https://www.linkedin.com/company/qbraid-official\",\"https://x.com/qbraid_official\",\"https://discord.gg/9jpmpeEV65\"]},{\"@type\":\"WebSite\",\"@id\":\"https://qbraidco.mintlify.app#website\",\"name\":\"qBraid\",\"url\":\"https://qbraidco.mintlify.app\",\"publisher\":{\"@id\":\"https://qbraid.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands#webpage\",\"url\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands\",\"name\":\"Magic Commands\",\"dateModified\":\"2026-10-02T00:10:39.923Z\",\"isPartOf\":{\"@id\":\"https://qbraidco.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magic Commands\",\"item\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands#article\",\"headline\":\"Magic Commands\",\"name\":\"Magic Commands\",\"url\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands\",\"mainEntityOfPage\":{\"@id\":\"https://qbraidco.mintlify.app/v2/cli/user-guide/magic-commands#webpage\"},\"dateModified\":\"2026-10-02T00:10:39.923Z\",\"publisher\":{\"@id\":\"https://qbraid.com/#organization\"},\"isPartOf\":{\"@id\":\"https://qbraidco.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"qBraid\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"qBraid\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v2/cli/user-guide/magic-commands.md","siteName":"qBraid","nav":{"global":null,"versions":[{"version":"v2","anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"HOME","pages":[{"title":"HOME","href":"/v2/home/introduction"}]},{"tab":"ACCOUNT","pages":[{"title":"ACCOUNT","href":"/v2/account/overview"}]},{"tab":"LAB","pages":[{"title":"LAB","href":"/v2/lab/user-guide/overview"}]},{"tab":"CODE","pages":[{"title":"CODE","href":"/v2/vscode/user-guide/overview"}]},{"tab":"AI","pages":[{"title":"AI","href":"/v2/ai/user-guide/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/v2/sdk/user-guide/overview"}]},{"tab":"QIR","pages":[{"title":"QIR","href":"/v2/qir/user-guide/overview"}]},{"tab":"QASM","pages":[{"title":"QASM","href":"/v2/pyqasm/user-guide/overview"}]},{"tab":"CORE","pages":[{"title":"CORE","href":"/v2/core/user-guide/overview"}]},{"tab":"ALGOS","pages":[{"title":"ALGOS","href":"/v2/algorithms/user-guide/overview"}]},{"tab":"CLI","groups":[{"group":"User Guide","pages":[{"title":null,"href":"/v2/cli/user-guide/overview"},{"title":"Configuration Files","href":"/v2/cli/user-guide/config-files"},{"title":"Environments","description":null,"href":"/v2/cli/user-guide/environments"},{"title":"Magic Commands","href":"/v2/cli/user-guide/magic-commands"}]},{"group":"API Reference","pages":[{"title":"qbraid","description":"The qBraid CLI — A unified interface for AI agents, quantum computing, Python environments, and cloud compute.","href":"/v2/cli/api-reference/qbraid"},{"title":"qbraid account","href":"/v2/cli/api-reference/qbraid_account"},{"title":"qbraid admin","href":"/v2/cli/api-reference/qbraid_admin"},{"title":"qbraid agents","href":"/v2/cli/api-reference/qbraid_agents"},{"title":"qbraid compute","href":"/v2/cli/api-reference/qbraid_compute"},{"title":"qbraid configure","href":"/v2/cli/api-reference/qbraid_configure"},{"title":"qbraid devices","href":"/v2/cli/api-reference/qbraid_devices"},{"title":"qbraid envs","href":"/v2/cli/api-reference/qbraid_envs"},{"title":"qbraid jobs","href":"/v2/cli/api-reference/qbraid_jobs"},{"title":"qbraid kernels","href":"/v2/cli/api-reference/qbraid_kernels"},{"title":"qbraid lab","href":"/v2/cli/api-reference/qbraid_lab"},{"title":"qbraid pip","href":"/v2/cli/api-reference/qbraid_pip"},{"title":"qbraid projects","href":"/v2/cli/api-reference/qbraid_projects"},{"title":"qbraid skills","href":"/v2/cli/api-reference/qbraid_skills"},{"title":"qbraid troubleshoot","href":"/v2/cli/api-reference/qbraid_troubleshoot"}]}]},{"tab":"APIs","pages":[{"title":"APIs","href":"/v2/api-reference/user-guide/overview"}]}]},{"anchor":"Contact","icon":"envelope","href":"https://www.qbraid.com/contact"},{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/9jpmpeEV65"},{"anchor":"Example Notebooks","icon":"github","href":"https://github.com/qBraid/qbraid-lab-demo"}]}]},"basePath":"","title":"Magic Commands - qBraid","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}