Visual Studio Code
Connecting your qBraid Lab account to Visual Studio Code enables running Jupyter Notebooks on your local machine while still accessing the pre-packaged environments, compute resources, and other softwares and API’s available through qBraid Lab.
Get access token
Log in to lab.qbraid.com.
Access your Control Panel by clicking File –> Hub Control Panel.
Navitage to the ‘Token’ page by clicking Token in the top bar.
Type in a description for the new token you want, and click Request new API Token.
5. Copy your token and keep it somewhere safe. You should treat this like a password to your qBraid Lab account, and revoke it from the same page when you are no longer using it.
Connect VS Code to Lab
Open the command palette in VS Code (
Select Jupyter: Specify Jupyter Server for Connections, and then select Existing.
Construct your notebook server URL with the following template:
Your Lab username is generated from the email address associated with your qBraid account.
If your account email uses special characters, your Lab username might be escaped, i.e. modified, from your raw email address.
You can verify this by looking at the URL you get after launching Lab; your username will be appear right after
Create or open a new notebook, and select a notebook kernel from any of your installed and active qBraid Lab environments.
JupyterLab native (built-in) extensions.
The file browser and Files menu enable you to work with files and directories on your system. This includes opening, creating, deleting,
renaming, downloading, copying, and sharing files and directories. To open the file browser, click on the FILES tab in the left sidebar
(or use shortcut
The file system can be navigated by double-clicking on folders in the listing or clicking on the folders at the top of the directory listing. To open any file, double-click on its name, or drag the file into the main work area to create a new tab.
Table Of Contents (TOC)
Table of Contents extension for JupyterLab.
Jupyter Notebook Extension for monitoring your own Resource Usage.
qBraid extension containing links to software documentation across quantum computing ecosystem.