An introduction to ZXCalculus.jl
Please make sure that Julia (version >= 1.4) is installed.
- Clone this repo to your device
- Change the directory of your terminal to the directory of the local repo. For example
$ cd ~/ZXCalculusTutorials
- Run Julia REPL with
$ julia --project
- Press
]
to enter the Pkg mode of Julia REPL and enter the following command. It will automatically install all required packages.
(ZXCalculusTutorials) pkg> instantiate
- Quit the Pkg mode and use the following command to run the Pluto notebooks.
julia> using Pluto
julia> Pluto.run()
- Open the file
ZXCalculus-introduction.jl
in this repo with Pluto. And you can see the notebook.