Skip to main content

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

Project description

qbraid_cli

Documentation PyPI version Python verions Downloads 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/stable/guide/overview.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


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.dev7.tar.gz (286.3 kB view details)

Uploaded Source

Built Distribution

qbraid_cli-0.8.0.dev7-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file qbraid_cli-0.8.0.dev7.tar.gz.

File metadata

  • Download URL: qbraid_cli-0.8.0.dev7.tar.gz
  • Upload date:
  • Size: 286.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for qbraid_cli-0.8.0.dev7.tar.gz
Algorithm Hash digest
SHA256 b2326c5532ee04b7efb00163c2206887161604950d1fe01691798b5b1a8cf738
MD5 b0158eb61e9c1712ee8a1621eee2632c
BLAKE2b-256 20d8e694eaa2418ca13b81a6041217a63d30e9ebd778fae95c88f583528154df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for qbraid_cli-0.8.0.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 75c0f399fdec19f1e8ab9b87781808afc9ddcce85d0a1739ab591308ef17f5cb
MD5 1088050920b049fab3803d3b4e7240be
BLAKE2b-256 ebf489eb1667e772c90099e4822ce6bb7a3f2368ba4708eb0b995daf71ac694c

See more details on using hashes here.

Supported by

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