|
| 1 | +--- |
| 2 | +# Documentation: https://wowchemy.com/docs/managing-content/ |
| 3 | + |
| 4 | +title: Linear and Non-linear Relational Analyses for Quantum Program Optimization |
| 5 | +subtitle: '' |
| 6 | +summary: '' |
| 7 | +authors: |
| 8 | +- Matthew Amy |
| 9 | +- Joseph Lunderville |
| 10 | +tags: |
| 11 | +- Quantum software |
| 12 | +- compiler optimization |
| 13 | +- data flow analysis |
| 14 | +- invariant generation |
| 15 | +- relational program analysis |
| 16 | +categories: [] |
| 17 | +date: '2025-01-01' |
| 18 | +lastmod: 2025-08-20T07:44:17-05:00 |
| 19 | +featured: false |
| 20 | +draft: false |
| 21 | + |
| 22 | +# Featured image |
| 23 | +# To use, add an image named `featured.jpg/png` to your page's folder. |
| 24 | +# Focal points: Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight. |
| 25 | +image: |
| 26 | + caption: '' |
| 27 | + focal_point: '' |
| 28 | + preview_only: false |
| 29 | + |
| 30 | +# Projects (optional). |
| 31 | +# Associate this post with one or more of your projects. |
| 32 | +# Simply enter your project's folder or file name without extension. |
| 33 | +# E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`. |
| 34 | +# Otherwise, set `projects = []`. |
| 35 | +projects: [] |
| 36 | +publication_types: |
| 37 | +- '2' |
| 38 | +abstract: The phase folding optimization is a circuit optimization used in many quantum |
| 39 | + compilers as a fast and effective way of reducing the number of high-cost gates |
| 40 | + in a quantum circuit. However, existing formulations of the optimization rely on |
| 41 | + an exact, linear algebraic representation of the circuit, restricting the optimization |
| 42 | + to being performed on straightline quantum circuits or basic blocks in a larger |
| 43 | + quantum program. We show that the phase folding optimization can be re-cast as |
| 44 | + an affine relation analysis, which allows the direct application of classical techniques |
| 45 | + for affine relations to extend phase folding to quantum programs with arbitrarily |
| 46 | + complicated classical control flow including nested loops and procedure calls. Through |
| 47 | + the lens of relational analysis, we show that the optimization can be powered-up |
| 48 | + by substituting other classical relational domains, particularly ones for non-linear |
| 49 | + relations which are useful in analyzing circuits involving classical arithmetic. |
| 50 | + To increase the precision of our analysis and infer non-linear relations from gate |
| 51 | + sets involving only linear operations — such as Clifford+t — we show that the sum-over-paths |
| 52 | + technique can be used to extract precise symbolic transition relations for straightline |
| 53 | + circuits. Our experiments show that our methods are able to generate and use non-trivial |
| 54 | + loop invariants for quantum program optimization, as well as achieve some optimizations |
| 55 | + of common circuits which were previously attainable only by hand. |
| 56 | +publication: '*Proceedings of the ACM on Programming Languages*' |
| 57 | +doi: 10.1145/3704873 |
| 58 | +--- |
| 59 | +POPL '25 |
0 commit comments