Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rigetti/qcs-cli
The Rigetti Quantum Cloud Services Command Line Interface (CLI)
https://github.com/rigetti/qcs-cli
cloud command-line quantum-computing typescript
Last synced: 2 months ago
JSON representation
The Rigetti Quantum Cloud Services Command Line Interface (CLI)
- Host: GitHub
- URL: https://github.com/rigetti/qcs-cli
- Owner: rigetti
- License: apache-2.0
- Created: 2019-03-12T15:50:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T00:55:23.000Z (about 2 years ago)
- Last Synced: 2024-10-02T08:28:12.108Z (3 months ago)
- Topics: cloud, command-line, quantum-computing, typescript
- Language: TypeScript
- Size: 920 KB
- Stars: 8
- Watchers: 4
- Forks: 4
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# qcs-cli
The `qcs-cli` is the Rigetti Quantum Cloud Services Command Line Interface (CLI). It is used for:
- Reserving, viewing, or cancelling your reservations on Rigetti Quantum Computers,
- Listing available Quantum Computers (devices) and various sublattices within them.
- Viewing, creating and deleting your Quantum Machine Images (QMIs).```
$ qcsThe Rigetti QCS Command Line Interface (CLI)
USAGE
$ qcs [COMMAND]COMMANDS
cancel Cancel reservations in the compute schedule.
devices View available QPU devices.
help display help for qcs
lattices View available lattices.
qmis View, create, and delete QMIs.
reservations View the compute block schedule.
reserve Book reservations in the compute schedule.
```Every QCS User's QMI comes preinstalled with the `qcs-cli`. It may also be
used locally from your laptop. Installation and setup instructions may be found below.## Installation & Setup
### Pre-reqs: Install `node` & `npm`
The qcs-cli is written in typescript, which requires node and the node package manager npm to be
installed. Install both from this [link](https://nodejs.org/en/). If node is already on your
machine, make sure you have version > `8.0.0`.### Install qcs-cli
#### Install via `npm`
Run the command npm `install -g qcs-cli`.
#### Install via the source from github
Clone this repository to your machine via the following command:
```
# Clone the repo and cd into it
git clone [email protected]:rigetti/qcs-cli.git
cd qcs-cli# Install qcs-cli
npm install# Link the qcs command so you can type qcs
npm link
```### Setup
The qcs-cli is ready to use to view available devices and lattices. To book and view reservations
with the qcs-cli, and to manage quantum machine images, however, you will need to authenticate as a
user. To do this, a `.qcs_config` file with the following contents must be placed in the home folder
(`~`) of your machine. The contents of `~/.qcs_config` should be the following:```
[Rigetti Forest]
url = https://forest-server.qcs.rigetti.com
user_id =
```Your `user_id` can be found in the `.qcs_config` file in your QMI, if you have already registered
for QCS. If you haven't signed up for QCS, you can request access
[here](https://qcs.rigetti.com/request-access).