Skip to main content

Command Line Interface for interacting with all parts of the qBraid platform.

Project description

qbraid_cli

Documentation PyPI version GitHub Discord

Command Line Interface for interacting with all parts of the qBraid platform.

The qBraid CLI is a specialized command-line interface tool designed exclusively for use within the qBraid Lab platform. It is not intended for local installations or use outside the qBraid Lab environment. This tool ensures seamless integration and optimized performance specifically tailored for qBraid Lab's unique cloud-based quantum computing ecosystem.

Getting Started

To use the qBraid CLI, login to qBraid (or create an account), launch Lab, and then open Terminal. You can also access the CLI directly from within Notebooks using the ! operator. See quantum jobs example.

For help, see qBraid Lab User Guide: Getting Started.

Basic Commands

$ qbraid
----------------------------------
  * Welcome to the qBraid CLI! * 
----------------------------------

        ____            _     _  
   __ _| __ ) _ __ __ _(_) __| | 
  / _` |  _ \| '__/ _` | |/ _` | 
 | (_| | |_) | | | (_| | | (_| | 
  \__,_|____/|_|  \__,_|_|\__,_| 
     |_|                         


- Use 'qbraid --help' to see available commands.

- Use 'qbraid --version' to see the current version.

Reference Docs: https://docs.qbraid.com/projects/cli/en/latest/cli/qbraid.html

A qBraid CLI command has the following structure:

$ qbraid <command> <subcommand> [options and parameters]

For example, to list installed environments, the command would be:

$ qbraid envs list

To view help documentation, use one of the following:

$ qbraid --help
$ qbraid <command> --help
$ qbraid <command> <subcommand> --help

For example:

$ qbraid --help

Usage: qbraid [OPTIONS] COMMAND [ARGS]...

The qBraid CLI.

Options
  --version                     Show the version and exit.
  --install-completion          Install completion for the current shell.
  --show-completion             Show completion for the current shell, to copy it or customize the installation.
  --help                        Show this message and exit.

Commands
  configure                     Configure qBraid CLI options.
  credits                       Manage qBraid credits.
  devices                       Manage qBraid quantum devices.
  envs                          Manage qBraid environments.
  jobs                          Manage qBraid quantum jobs.
  kernels                       Manage qBraid kernels.

To get the version of the qBraid CLI:

$ qbraid --version

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qbraid-cli-0.8.0.dev1.tar.gz (264.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qbraid_cli-0.8.0.dev1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file qbraid-cli-0.8.0.dev1.tar.gz.

File metadata

  • Download URL: qbraid-cli-0.8.0.dev1.tar.gz
  • Upload date:
  • Size: 264.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for qbraid-cli-0.8.0.dev1.tar.gz
Algorithm Hash digest
SHA256 cc3e19b76ca2e56694d95a78549b633e02c236d09d427f74c19bb7ea41fcbcf4
MD5 e6822033eb7fb917ef5dbd534db1504c
BLAKE2b-256 349472ec7d5a47e25b4bb77e393e61b28c2657a7c14f559866eb243c693d7afc

See more details on using hashes here.

File details

Details for the file qbraid_cli-0.8.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for qbraid_cli-0.8.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a19cebfcbdbff5b31ef18acbfc904a767d7035b8f0a9bbc28eefbb568763f8
MD5 3e60b243765675fd2b217ea245951a9e
BLAKE2b-256 d32e382bfec782e686d34a4d12683a288edb474ac658c6b5dbf98256a2d582bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page