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 Qiskit

The Qiskit lab is also provided as a Jupyter notebook. In order to run it, you will need to install some Python packages with the following CLI command:

pip3 install jupyter qiskit qiskit-qasm3-import
pip3 install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src
pip3 install -U qiskit-aer
Then, you can download the lab attached to this post, and run jupyter with the CLI command:
jupyter notebook
Navigate to the downloaded notebook file and run it. We didn't cover Qiskit in class since it has a structure quite close to OpenQASM, but you will probably find it useful to consult the corresponding tutorial in tandem while you complete them. The Jupyter version of the Qiskit demo which was shown during the lecture is attached so you can run the example code.
Files
Qiskit tutorial (48.17 KB)
Qiskit lab sheet (142.82 KB)
License
All rights reserved The University of Edinburgh

Book traversal links for IQPS: Lab Qiskit

  • IQPS: Lab PyZX
  • Up
  • IQPS: Resource List

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.