Skip to content

Quantum programming tutorial: slides and code examples

Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit



63 Commits

Repository files navigation


Tutorial and code examples preapred for QIPLSIGML meeting, Machine Learning meets Quantum Computation. April 26-28, 2018, Kraków, Poland.

Subdirectory slides contains LaTeX files for producing beamer slides.


You will need

  • Julia to run examples in julia subdirectory. They are run by simply including the files.
  • Access to Wolfram Mathematica for running examples in mma.
  • Examples in projectq subdirectory are provided in Jupyter. You will need to install ProjectQ Python library.
  • For playing with QCL and running examples from qcl subdir, download the interpreter from QCL web page.
  • For running examples in pyquil subdir you will need PyQuil.


  • 03/03/2020 Added quantum mini-language in Python.
  • 07/03/2019 Julia implementation of the Grover's algorithm updated for Julia 1.0. The basic example in pyQuil now runs on qvm.
  • 06/03/2019 ProjectQ examples have been updated to take into account changes in backend usage and measurement syntax.