QMI: Quantum Machine Image

Once you've signed up and created an account for Quantum Cloud Services, you'll receive access to a dedicated Quantum Machine Image (QMITM). Your QMI comes pre-configured with the Forest SDK to develop hybrid quantum-classical programs, and the QCS command-line interface to easily schedule and manage reservations on Rigetti's quantum devices.

The Forest SDK includes pyQuil (a python library for hybrid quantum-classical programs), the QVM Simulator, and the Quil Compiler. Read the Forest™ SDK documentation to learn more.

When launching your QMI, you will have the option to launch a development environment directly from the web dashboard or add an SSH key to enable SSH access.

Both these methods will give you access to a JupyterLab Interface that will allow you to explore example notebooks, create new files(jupyter notebooks, python, etc), utilize the CLI, and customize your development environment.

Adding an optional SSH key will allow you to establish a secure shell connection, in addition to your JupyterLab interface, between your local computer and your QMI. Once you're connected, we'll run a simple quantum coin flip program to test that everything's working.

  • Checking for existing SSH keys Prior to generating a new SSH key, check to see if you have any existing SSH keys. We love GitHub's guide for this—check it out here.

  • Generating a new SSH key and adding it to the ssh-agent If you don't have an existing SSH key, you can generate a new SSH key and add it to the ssh-agent. We love GitHub's guide for this—check it out here. Don't forget to add your SSH key to the ssh-agent.