Profiling is an important technique in software engineering as it allows you to evaluate the performance of your software along with its constituent parts.
Turns out, this is also true for quantum software! Any quantum program or circuit consists of a sequence of quantum gates like CNOT or T. Profiling such programs is very useful in determining the resource-intensive parts and better targeting our optimization efforts.
Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately. — Brendan Gregg
The idea behind this mini-project, however, was to examine the resource consumption…