We introduce qprof, a new and extensible quantum program profiler able to generate profiling reports of various quantum circuits. We describe the internal structure and working of qprof and provide three practical examples on practical quantum circuits with increasing complexity. This tool will allow researchers to visualise their quantum implementation in a different way and reliably localise the bottlenecks for efficient code optimisation.
@article{arxiv.2106.07326,
title = {qprof: a gprof-inspired quantum profiler},
author = {Adrien Suau and Gabriel Staffelbach and Aida Todri-Sanial},
journal= {arXiv preprint arXiv:2106.07326},
year = {2021}
}