Skip to main content

IQPS - top navigation

  • Learn
  • Piazza
  • DRPS

Breadcrumb

  1. Home
  2. IQPS: Introduction to Quantum Programming and Semantics
  3. IQPS: Course Materials

IQPS: Lab PyZX

The PyZX labs are provided as Jupyter notebook files. In order to run these, you will need to install the PyZX python package, as well as Jupyter if it is not already installed, with the following CLI command:

pip3 install pyzx jupyter

Then, you can download the lab attached to this post, and run jupyter with the CLI command:

jupyter notebook

Then, navigate to the downloaded notebook file and run it. If you reach the bonus material, you also need to auxiliary file `CCCNOT` which is attached. The labs are self-contained with all the instructions needed in the notebooks, but you might find it useful to consult the corresponding tutorials in tandem while you complete them. 

Files
pyzx-lab.ipynb (538.61 KB)
cccnot.txt (422 bytes)
pyzx-tutorial.ipynb (231.96 KB)
License
All rights reserved The University of Edinburgh

Book traversal links for IQPS: Lab PyZX

  • IQPS: Tutorials
  • Up
  • IQPS: Lab Qiskit

Navigation links

  • IQPS: Course Materials
    • IQPS: Schedule
    • IQPS: Notes
    • IQPS: Slides
    • IQPS: Tutorials
    • IQPS: Lab PyZX
    • IQPS: Lab Qiskit
  • IQPS: Resource List
  • IQPS: Assessment
RSS feed

Opencourse privacy & accessibility statements; contact Informatics, ILTS.