This repository contains all files and tools necessary to reproduce the experiments and data analysis of the paper Quantum Dark Magic Efficiency of Intermediate Non-Stabiliserness.
You can either use the provided dockerization or Makefiles to run the experiments and build the paper.
Build the image
docker build --tag "quantum_dark_magic"and run it:
docker run -it "quantum_dark_magic"This will give you shell access to the docker container. Now inside the container, navigate to the data directory, activate the python environment, run the experiments and build the figures.
cd data
source venv/bin/activate
make Now, if you want to build the paper you can switch to the paper directory and call:
cd ../paper
makeThe built paper PDF is located at build/main.pdf
If you're on a Linux machine you might find it easier to just run the setup scripts and use make directly.
To run the experiments cd into the data directory and run the setup.sh script to setup a python environment and install needed R packages.
cd data
bash ./setup.shAfter the environment is set up you can just run
maketo run the experiments and build the figures.
After you have run the experiments and generated the figures cd into the paper directory and call
maketo build the paper. Note that no install script for needed LaTex packages is provided.