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.pycontains probability calculation and classical simulation.circuit.pycontains functions for quantum circuits simulation.compare.pyis the file to reproduce the FIG.5a, the FIG.5b and the FIG.5c.verification.pyis the file to reproduce the FIG.6.benchmarking.pyis the file to reproduce the FIG.7.IBM.pyis 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.