Skip to content

Commit

Permalink
Merge pull request #21 from dlyongemallo/benchmarking_readme
Browse files Browse the repository at this point in the history
Add section on benchmarking to README.
  • Loading branch information
dlyongemallo authored Jan 1, 2024
2 parents 0688801 + 06f4f6f commit 21fa9ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ zxpass = ZXPass(my_optimize)
pass_manager = PassManager(zxpass)
my_qc = pass_manager.run(qc)
```
## Running benchmarks

To perform some benchmarks based on the [QASMBench](https://github.com/pnnl/QASMBench) suite, run the following:

```bash
cd benchmarking
python run_benchmarks.py
```

This will output some statistics and produce 2 PNG files showing the depth compression ratio and ratio of non-local gates between the optimized and original circuits.

## Previous work

Expand Down

0 comments on commit 21fa9ad

Please sign in to comment.