Cobble: Compiling Block Encodings for Quantum Computational Linear Algebra
Author:
Preprint
Abstract
Quantum algorithms for computational linear algebra promise up to exponential speedups for applications such as simulation and regression, making them prime candidates for hardware realization. But these algorithms execute in a model that cannot efficiently store matrices in memory like a classical algorithm does, instead requiring developers to implement complex expressions for matrix arithmetic in terms of correct and efficient quantum circuits. Among the challenges for the developer is navigating a cost model in which conventional optimizations for linear algebra, such as subexpression reuse, can be inapplicable or unprofitable. In this work, we present Cobble, a language for programming with quantum computational linear algebra. Cobble enables developers to express and manipulate the quantum representations of matrices, known as block encodings, using high-level notation that automatically compiles to correct quantum circuits. Cobble features analyses that estimate leading factors in time and space usage of programs, as well as optimizations that reduce overhead and generate efficient circuits using leading techniques such as the quantum singular value transformation. We evaluate Cobble on benchmark kernels for simulation, regression, search, and other applications, showing 2.6x-25.4x speedups not achieved by existing circuit optimizers on these benchmarks.Keywords
All Related Versions
This publication has 63 references indexed in Scilit:
- Quantum Algorithms2025
- Realization of quantum signal processing on a noisy quantum computernpj Quantum Information, 2023
- t|ket⟩: a retargetable compiler for NISQ devicesQuantum Science and Technology, 2020
- Quantum image edge extraction based on Laplacian operator and zero-cross methodQuantum Information Processing, 2018
- Automated optimization of large quantum circuits with continuous parametersnpj Quantum Information, 2018
- Concrete resource analysis of the quantum linear-system algorithm used to compute the electromagnetic scattering cross section of a 2D targetQuantum Information Processing, 2017
- High-order quantum algorithm for solving linear differential equationsJournal of Physics A: Mathematical and Theoretical, 2014
- Quantum Computation and Quantum Information2012
- Interacting quantum observables: categorical algebra and diagrammaticsNew Journal of Physics, 2011
- Towards dense linear algebra for hybrid GPU accelerated manycore systemsParallel Computing, 2010