Compiling Matrix Formulas to Quantum Block Encodings
Daksh Shami, Charles Yuan
Key points
From the paper's conclusion- When evaluated on quantum applications ranging from fluid dynamics to physical Hamiltonians, MARBLE matches or surpasses 37 of 39 published baselines.
Abstract
Realizing the promise of quantum applications such as chemistry or fluid dynamics requires building quantum circuits that efficiently encode and manipulate exponentially large matrices. This process forces researchers to grapple with the reality that a matrix expressible as one equation on paper can map to thousands of bit-level quantum logic gates, historically written by hand. Even worse, it often ends with a discovery that the needed resources grow so quickly with matrix size that the quantum algorithm loses its asymptotic speedup. In this work, we present MARBLE, a language that automatically synthesizes an efficient circuit from the publication-style formula for the entries of a matrix. MARBLE algebraically rewrites programs into symbolic combinations of simpler matrices that have known circuit realizations. It analyzes costs of possible representations, notably the subnormalization term that dominates time complexity. It then emits an OpenQASM circuit and certifies whether its cost is poly-logarithmic in problem size, as required by quantum algorithms. When evaluated on quantum applications ranging from fluid dynamics to physical Hamiltonians, MARBLE matches or surpasses 37 of 39 published baselines. On the low end, it automatically matches many theoretically optimal circuits, and on the high end, it improves on a published construction in fluid dynamics by 10,487x in subnormalization. MARBLE produces exponentially smaller circuits than the leading tool FABLE, and it successfully compiles matrices whose dimensions exceed 2^100 within five seconds on a laptop.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- oracq: A Modular Framework for Implementing and Analyzing Quantum Scientific Computing AlgorithmsarXiv · 2026
- Scalable quantum computational science: A perspective from block-encodings and polynomial transformationsAPL Computational Physics · 2026
- Quantum Algorithms for Multivariable Polynomial Transformations: From Efficient Synthesis to Quantum Channel TransformationsarXiv · 2026
- End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular SystemarXiv · 2026
- Sparse block encoding with low subnormalisation for quantum linear solvers on unstructured meshesarXiv · 2026
- Efficient Block Encodings of Vibrational HamiltoniansarXiv · 2026