Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.57 KB

File metadata and controls

64 lines (45 loc) · 1.57 KB

Geometric and Resource-Theoretic Characterisation of Non-Stabiliserness in Quantum Algorithms

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.

Usage

You can either use the provided dockerization or Makefiles to run the experiments and build the paper.

Docker

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
make

The built paper PDF is located at build/main.pdf

Make & Bash

If you're on a Linux machine you might find it easier to just run the setup scripts and use make directly.

Experiments

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.sh

After the environment is set up you can just run

make

to run the experiments and build the figures.

Paper

After you have run the experiments and generated the figures cd into the paper directory and call

make

to build the paper. Note that no install script for needed LaTex packages is provided.