Skip to content

Commit

Permalink
Improve OpenQASM 3 exporter performance for hardware-like circuits
Browse files Browse the repository at this point in the history
This reorganises the variable lookups and internal AST generation
slightly to improve the OpenQASM 3 exporter performance for the common
case of circuits with many singly parametric 1q gates, parametrised by a
single `Parameter` expression.  This is quite common in high-throughput
cases, where the circuit is being used as a parametric template for
a backend compiler.
  • Loading branch information
jakelishman committed Oct 17, 2024
1 parent 68a1eca commit 44d3b2f
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 43 deletions.
Loading

0 comments on commit 44d3b2f

Please sign in to comment.