/ZXCalculusTutorials

An introduction to ZXCalculus.jl

Primary LanguageJulia

ZXCalculusTutorials

An introduction to ZXCalculus.jl

How to use

Please make sure that Julia (version >= 1.4) is installed.

  1. Clone this repo to your device
  2. Change the directory of your terminal to the directory of the local repo. For example
$ cd ~/ZXCalculusTutorials
  1. Run Julia REPL with
$ julia --project
  1. Press ] to enter the Pkg mode of Julia REPL and enter the following command. It will automatically install all required packages.
(ZXCalculusTutorials) pkg> instantiate
  1. Quit the Pkg mode and use the following command to run the Pluto notebooks.
julia> using Pluto

julia> Pluto.run()
  1. Open the file ZXCalculus-introduction.jl in this repo with Pluto. And you can see the notebook.