Skip to content

System-Verification-Lab/q-tool-benchmarks

 
 

Repository files navigation

Q-Sylvan benchmarks

1. Installation

  1. Clone this repository including its submodules.
$ git clone --recurse-submodules https://github.com/sebastiaanbrand/q-sylvan-benchmarks.git
  1. Install basic build tools.
$ sudo apt install build-essential cmake autoconf
  1. Install dependencies for various tools.
$ sudo apt install libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev libboost-all-dev
  1. Install Python libraries (creating a virtual environment is optional but recommended).
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
  1. After installing the dependencies above, everything can be compiled with
$ ./compile_all.sh

2. Running + plotting benchmarks

Generate bash file with:

$ python scripts/generate_experiments.py qasm <dir_with_qasm_files> --name output_dir_name

Run everything:

$ bash experiments/output_dir_name/run_all.sh

Generating plots (also runs sanity checks on output):

$ python scripgs/process_results.py experiments/output_dir_name/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OpenQASM 99.8%
  • Other 0.2%