Benchmarking toolkit for quantifying the likeliness of quantum advantage for quantum optimization problems in the presence of quantum error mitigation.
This is the code used in relation to the article Error-mitigation aware benchmarking strategy for quantum optimization problems by Marine Demarty, Bo Yang, Kenza Hammam and Pauline Besserve.
As a work example we have implemented the following problem instance, error mitigation strategy and quantum circuit, however, generalization to other problems, noise models and quantum error mitigation techniques is possible.
- Problem: 2D Fermi-Hubbard model with periodic boundary conditions with
$L$ sites. - Quantum circuit:
$n$ -qubit circuit with$D$ layers of quantum gates. - Noise model on quantum hardware: layerwise global depolarizing noise with probability
$P$ . - Quantum error mitigation method: probabilistic error mitigation (PEC).
Phase diagram function of the noise level
qemqadv.yml contains all necessary dependencies for running this code.
get_hubbard_properties.pyis used to compute properties of the target Fermi-Hubbard problem instance, in particular the trace of the Hamiltonian and its Pauli-norm. Those are stored in a json file in theHubbardfolder.get_success_proba.pyloads the previous json file, then implements the computes the success probability of quantum advantage in the presence and absence of PEC. This is stored in a json file in thePEC/datafolder.plot_success_proba.pyloads the previous json file, then plots the figures shown in our article and saves them to thePEC/plotsfolder.- jupyter notebook
compute_error_tails_with_true_E0.ipynbis used to obtain the plot presented as Fig.6, in Appendix C.
