GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rigetti/forest-tutorials: Binder repository of interactive tutorial notebooks for pyQuil and Forest.

This repository was archived by the owner on Aug 17, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
notebooks
notebooks
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
VERSION.txt
VERSION.txt
 
 
Welcome.ipynb
Welcome.ipynb
 
 

Repository files navigation

Interactive tutorial notebooks for pyQuil and Forest

Binder docker pulls github release

This is a Binder repository containing tutorial notebooks for learning about pyQuil and the Forest SDK (quilc and the QVM). If you'd like to add a notebook, or change an existing one, make a pull request! And, to run the existing notebooks in a preconfigured environment on Binder, click the badge above!

Alternatively, you can run the image locally with the following command (replacing PORT with the localhost port you'd like to run the notebook server on):

docker run -p PORT:8888 rigetti/forest-tutorials

This will start the container, and somewhere in the terminal output it will print a URL that looks something like the following, but with TOKEN replaced with a long string of letters and numbers:

http://127.0.0.1:8888/?token=TOKEN

Copy paste the above URL into your browser, replacing 8888 with PORT. This will bring up the JupyterLab interface.

Running the notebooks without using Docker

We recommend using the Binder link above, or following the Docker-based instructions, if all you want to do is run the notebooks. This is because it requires no setup on your end (except for maybe installing Docker). However, if you'd like to run the notebooks locally without Docker, or if you'd like to make a pull request and contribute your own tutorial, you'll have to set up a Python environment with the necessary requirements installed. Normally, these are defined in a requirements.txt file, but adding one to this repo would cause Binder to use that for its configuration instead of the Dockerfile.

Thus, run the following command in your Python environment to install all the necessary requirements:

pip install pyquil jupyterlab matplotlib pandas forest-benchmarking

Then, assuming you've cloned this repository and you're in its top-level directory, running jupyter lab should be all you need to get started!

Contributing your own tutorial notebook

As mentioned above, if you'd like to contribute your own tutorial, or improve an existing one, you can make a pull request to this repository. If you add a notebook that depends on a third-party library and is not currently installed in the rigetti/forest-notebook Docker image (see the next section for more info), you will have to add the requirement to this document.

Building your own Forest-backed Binder repository

This Binder repository is built using the rigetti/forest-notebook Docker image, which comes with pyQuil installed, as well as quilc and QVM servers running in the background. It additionally has the forest-benchmarking library installed, along with some useful Python packages for data analysis and visualization. You can create your own Binder repository from this image by following the directions at the bottom of the README of the rigetti/forest-notebook repository!

About

Binder repository of interactive tutorial notebooks for pyQuil and Forest.

Topics

binderdockerjupyter-notebookquantum-computing

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

31 stars

Watchers

9 watching

Forks

16 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.