SearcharxivSearch

arXiv subjects

Matthias Deiml

Publications and source records attributed to Matthias Deiml.

6 recordsLinked to original sources

Unitaria: Quantum Linear Algebra via Block Encodings

We introduce Unitaria, a Python library that brings the simplicity of classical linear algebra toolkits such as NumPy and SciPy to the implementation of quantum algorithms based on block encodings, a general-purpose abstraction in which a matrix is embedded as a sub-block of a larger unitary operator. Their implementation has so far required deep knowledge of low-level circuit construction, which Unitaria aims to eliminate. The library provides a composable, array-like interface through which users can define block encodings of matrices and vectors, combine them through standard operations such as addition, multiplication, tensor products, and the Quantum Singular Value Transformation, and extract the resulting quantum circuits automatically. A key feature is a matrix-arithmetic evaluation path in which every operation can be computed directly on encoded vectors and matrices without dependence on ancilla qubits or circuit simulation. This enables correctness verification and classical simulation that scale well beyond what state vector simulation permits and also allows resource estimation, including gate counts, qubit counts, and normalization constants, without executing any circuit. Together, these capabilities allow researchers to develop, verify, and analyze quantum linear algebra algorithms today, ahead of the availability of error-corrected hardware. Unitaria is open source and available at https://github.com/tequilahub/unitaria.

quant-ph

Constrained Optimal Polynomials for Quantum Linear System Solvers

Quantum linear system solvers typically realize the inverse map as a polynomial transformation of the spectrum, so their practical cost hinges on implementing this transformation at a low polynomial degree. We introduce constrained optimal polynomials as a framework for this task, drawing on classical Krylov subspace theory. Within this framework, we develop two classes of solvers. Constrained Uniform Polynomial (CUP) solvers optimize the tradeoff between approximation accuracy and block encoding normalization under a uniform spectral model consistent with the available bounds. Constrained Adaptive Polynomial (CAP) solvers retain this structure but replace the uniform model with a probability measure reconstructed from spectral moments via a maximum entropy ansatz, where the moments are extracted from QSVT measurements. Numerical experiments under hardware and stochastic noise show that these methods achieve lower error than standard QSVT-based and Chebyshev-iteration-type solvers, particularly in noise-limited regimes. CUP offers robust performance under generic spectra, while CAP provides further improvement when the spectral structure can be exploited.

math.NA

Quantum Enhanced Numerical Homogenization

We propose a numerical homogenization method for scalar linear partial differential equations with rough coefficients that integrates classical coarse-scale solvers with quantum subroutines for fine-scale corrections. Inspired by the Localized Orthogonal Decomposition, we employ quantum local problem solvers to capture fine-scale features efficiently. Unlike periodic homogenization approaches, it does not rely on any periodicity assumption. Moreover, the coupling between quantum computation and the coarse model requires only selected measurements of quantum representative volume elements, thereby mitigating the quantum-interface information bottleneck that could otherwise negate a potential speed-up. We show that the local quantum solver can achieve solutions with the required level of accuracy with an operation count that scales only logarithmically with the fine-scale resolution, as determined by the smallest length scale encoded in the diffusion coefficient. The potential of the approach is illustrated through two-dimensional numerical experiments, using a classical simulation of the local quantum solver.

math.NA

Nonlinear quantum computation by amplified encodings

This paper presents a novel framework for high-dimensional nonlinear quantum computation that exploits tensor products of amplified vector and matrix encodings to efficiently evaluate multivariate polynomials. The approach enables the solution of nonlinear equations by quantum implementations of the fixed-point iteration and Newton's method, with quantitative runtime bounds derived in terms of the error tolerance. These results show that a quantum advantage, characterized by a logarithmic scaling of complexity with the dimension of the problem, is preserved. While Newton's method attains near-optimal theoretical complexity, the fixed-point iteration may be better suited to near-term noisy hardware, as supported by our numerical experiments.

quant-ph

Quantum Sampling and Moment Estimation for Transformed Gaussian Random Fields

We present a quantum algorithm for efficiently sampling transformed Gaussian random fields on $d$-dimensional domains, based on an enhanced version of the classical moving average method. Pointwise transformations enforcing boundedness are essential for using Gaussian random fields in quantum computation and arise naturally, for example, in modeling coefficient fields representing microstructures in partial differential equations. Generating this microstructure from its few statistical parameters directly on the quantum device bypasses the input bottleneck. Our method enables an efficient quantum representation of the resulting random field and prepares a quantum state approximating it to accuracy $\mathtt{tol} > 0$ in time $\mathcal{O}(\operatorname{polylog} \mathtt{tol}^{-1})$. Combined with amplitude estimation and a quantum pseudorandom number generator, this leads to algorithms for estimating linear and nonlinear observables, including mixed and higher-order moments, with total complexity $\mathcal{O}(\mathtt{tol}^{-1} \operatorname{polylog} \mathtt{tol}^{-1})$. We illustrate the theoretical findings through numerical experiments on simulated quantum hardware.

quant-ph

Quantum Realization of the Finite Element Method

This paper presents a quantum algorithm for the solution of prototypical second-order linear elliptic partial differential equations discretized by $d$-linear finite elements on Cartesian grids of a bounded $d$-dimensional domain. An essential step in the construction is a BPX preconditioner, which transforms the linear system into a sufficiently well-conditioned one, making it amenable to quantum computation. We provide a constructive proof demonstrating that, for any fixed dimension, our quantum algorithm can compute suitable functionals of the solution to a given tolerance $\mathtt{tol}$ with an optimal complexity of order $\mathtt{tol}^{-1}$ up to logarithmic terms, significantly improving over existing approaches. Notably, this approach does not rely on regularity of the solution and achieves quantum advantage over classical solvers in two dimensions, whereas prior quantum methods required at least four dimensions for asymptotic benefits. We further detail the design and implementation of a quantum circuit capable of executing our algorithm, present simulator results, and report numerical experiments on current quantum hardware, confirming the feasibility of preconditioned finite element methods for near-term quantum computing.

quant-ph