qiskit-metapackage icon indicating copy to clipboard operation
qiskit-metapackage copied to clipboard

Add DAGCircuit method benchmarks.

Open kdk opened this issue 4 years ago • 1 comments

Summary

Adds two benchmarks for DAGCircuit.apply_operation_back and DAGCircuit.substitute_node_with_dag.

Details and comments

WIP - Because substitute_node_with_dag will modify the dag built in setup, subsequent iterations of the benchmark from asv would fail to find the target node. I attempted to work around this by creating N dags in setup, but this is slow. Also, this requires limiting ASV to a fixed number of iterations for a given benchmark, and I wasn't able to get this to work locally.

kdk avatar Oct 26 '20 14:10 kdk

@kdk Are you still working on this PR?

HuangJunye avatar May 25 '22 09:05 HuangJunye

Closing as stale after talking to Kevin on DM.

Eric-Arellano avatar May 17 '23 19:05 Eric-Arellano