This is a repository for all code written for the article A quantum computation capability verification protocol for NISQ devices with dihedral coset problem.
It gives numerical simulations of DCP challenge.
All code is written Python. Libraries required:
- matplotlib for plots
- numpy, statistics, scipy, random, time, argparse
- Qibo 0.1.10
In this example there are six files
proba.py
contains probability calculation and classical simulation.circuit.py
contains functions for quantum circuits simulation.compare.py
is the file to reproduce the FIG.5a, the FIG.5b and the FIG.5c.verification.py
is the file to reproduce the FIG.6.benchmarking.py
is the file to reproduce the FIG.7.IBM.py
is the file to reproduce the FIG.9.
The nosie map for noisy circuit simulation can be modified in circuit.py
.
If you use this code in your research, please cite it as follows: Ruge Lin and Weiqiang Wen, Quantum computation capability verification protocol for NISQ devices with dihedral coset problem.