SearcharxivSearch

arXiv subjects

Aaron Miller

Publications and source records attributed to Aaron Miller.

15 recordsLinked to original sources

Caspar: CUDA Accelerator for Symbolic Programming with Adaptive Reordering

We present Caspar, a library that makes the power of modern GPUs more accessible in robotics and provides a state-of-the-art nonlinear GPU solver that can be applied to a wide range of different optimization problems. Caspar bridges the gap between expressive symbolic programming in Python and high-performance GPU runtimes in C++ by automatically generating optimized CUDA kernels from symbolic expressions. Building on the SymForce library, users can easily define and combine symbolic expressions, including Lie group operations, to generate custom CUDA kernels. To use Caspar as a solver, users need only define the symbolic residual functions; Caspar then uses symbolic differentiation to generate the necessary GPU kernels and interfaces to perform nonlinear optimization. In this paper, we present the core components of Caspar and showcase its performance by performing bundle adjustment on the Bundle Adjustment in the Large (BAL) dataset. We benchmark Caspar against other state-of-the-art bundle adjusters and show that it is 5 to 20 times faster than the best alternative, requires less memory, and achieves similar accuracy. This illustrates the benefit of our symbolic GPU programming approach. Caspar is released as part of SymForce and is freely available at https://github.com/symforce-org/symforce

cs.RO

Scalable quantum circuit generation for iterative ground state approximation using Majorana Propagation

We introduce the Adaptive Derivative-Assembled Pseudo-Trotter ansatz Variational Majorana Propagation Eigensolver (ADAPT-VMPE), a quantum-inspired classical algorithm that exploits Majorana Propagation (MP) to produce circuits for approximating the ground state of molecular Hamiltonians. Equipped with the theoretical guarantees of MP, which provide controllable bounds on the approximation error, ADAPT-VMPE offers an efficient and scalable approach for iterative ansatz construction. A theoretical analysis of the computational complexity demonstrates that it is polynomial in both the number of qubits and the number of iterations. We present an in-depth analysis of circuit construction strategies, analyzing their impact on convergence and provide practical guidance for efficient ansatz generation. Using ADAPT-VMPE, we construct up to 100-qubit ans\"atze for a strongly correlated photosensitizer currently undergoing human clinical trials for cancer treatment. Our results demonstrate that constant overlap with the ground state across system sizes can be reached in polynomial time with polynomially sized circuits.

quant-ph

Structure tensor Reynolds-averaged Navier-Stokes turbulence models with equivariant neural networks

Accurate and generalizable Reynolds-averaged Navier-Stokes (RANS) models for turbulent flows rely on effective closures, but currently available closures are notoriously unreliable. Kassinos et al. (J. Fluid Mechanics, 428, pp. 213-248, 2001) hypothesized that this unreliability of RANS models was due to an insufficient description of the statistical state of the turbulence and proposed a set of structure tensors as a candidate for a sufficiently rich description. To test this hypothesis for the rapid pressure-strain term, we introduce tensor-based, symmetry aware closures in terms of the structure tensors using equivariant neural networks (ENNs), and present an algorithm for enforcing algebraic contraction relations among tensor components. Using data from rapid distortion theory, experiments show that such ENNs can effectively learn relationships involving high-order tensors. The resulting ENN structure tensor models are orders of magnitude more accurate than existing models for the rapid pressure-strain correlation, effectively validating the Kassinos et al. hypothesis for this term. Results show that ENNs provide a physically consistent alternative to classical tensor basis models, enabling end-to-end learning of unclosed terms in RANS and other tensor modeling domains, and rapid exploration of model dependencies.

physics.flu-dyn

Approximate quantum circuit compilation for proton-transfer kinetics on quantum processors

Proton transfer reactions are fundamental to many chemical and biological systems, where quantum effects such as tunneling, delocalization, and zero-point motion play key kinetic control roles. However, classical methods capable of accurately capturing these phenomena scale prohibitively with system size. Here, we develop and demonstrate quantum computing algorithms based on the Nuclear-Electronic Orbital framework, treating the transferring proton quantum mechanically. We assess the potential of current quantum devices for simulating proton transfer kinetics with high accuracy. We first construct a deep initial ans\"atze within a truncated orbital space by employing the frozen natural orbital approximation. Then, to balance circuit depth against state fidelity, we implement an adaptive form of approximate quantum compiling. Using resulting circuits at varying compression levels transpiled for the ibm_fez device, we compute barrier heights and delocalised proton densities along the proton transfer pathway using a realistic hardware noise model. We find that, although current quantum hardware introduces significant noise relative to the demanding energy tolerances involved, our approach allows substantial circuit simplification while maintaining energy barrier estimates within 13% of the reference value. Despite present hardware limitations, these results offer a practical means of approximating key circuit segments in near-term devices and early fault-tolerant quantum computing systems.

quant-ph

Simulation of Fermionic circuits using Majorana Propagation

We introduce Majorana Propagation, an algorithmic framework for the classical simulation of Fermionic circuits. Inspired by Pauli Propagation, Majorana Propagation operates by applying successive truncations throughout the Heisenberg evolution of the observable. We identify monomial length as an effective truncation strategy for typical, unstructured circuits by proving that high-length Majorana monomials are exponentially unlikely to contribute to expectation values and the backflow of high-length monomials to lower-length monomials is quadratically suppressed. We provide performance guarantees by proving analytically that approximation errors decrease exponentially with the truncation threshold and that only polynomial resources are required to compute the expectation value of observables up to a fixed error for an ensemble of circuits relevant to quantum chemistry. Majorana Propagation can be used either independently, or in conjunction with quantum hardware, to simulate Fermionic systems relevant to quantum chemistry and condensed matter. We exemplify this by using Majorana Propagation to find circuits that approximate ground states for strongly correlated systems of up to 52 Fermionic modes. Our results indicate that Majorana Propagation is orders of magnitude faster and more accurate than state-of-the-art tensor-network-based circuit simulators.

quant-ph

Treespilation: Architecture- and State-Optimised Fermion-to-Qubit Mappings

Quantum computers hold great promise for efficiently simulating Fermionic systems, benefiting fields like quantum chemistry and materials science. To achieve this, algorithms typically begin by choosing a Fermion-to-qubit mapping to encode the Fermioinc problem in the qubits of a quantum computer. In this work, we introduce "treespilation," a technique for efficiently mapping Fermionic systems using a large family of favourable tree-based mappings previously introduced by some of the authors. We use this technique to minimise the number of CNOT gates required to simulate chemical groundstates found numerically using the ADAPT-VQE algorithm. We observe significant reductions, up to $74\%$, in CNOT counts on full connectivity and for limited qubit connectivity-type devices such as IBM Eagle and Google Sycamore, we observe similar reductions in CNOT counts. In many instances, the reductions achieved on these limited connectivity devices even surpass the initial full connectivity CNOT count. Additionally, we find our method improves the CNOT and parameter efficiency of QEB- and qubit-ADAPT-VQE, which are, to our knowledge, the most CNOT-efficient VQE protocols for molecular state preparation.

quant-ph

GPT4All: An Ecosystem of Open Source Compressed Language Models

Large language models (LLMs) have recently achieved human-level performance on a range of professional and academic benchmarks. The accessibility of these models has lagged behind their performance. State-of-the-art LLMs require costly infrastructure; are only accessible via rate-limited, geo-locked, and censored web interfaces; and lack publicly available code and technical reports. In this paper, we tell the story of GPT4All, a popular open source repository that aims to democratize access to LLMs. We outline the technical details of the original GPT4All model family, as well as the evolution of the GPT4All project from a single model into a fully fledged open source ecosystem. It is our hope that this paper acts as both a technical overview of the original GPT4All models as well as a case study on the subsequent growth of the GPT4All open source ecosystem.

cs.CL

Toward Accurate Post-Born-Oppenheimer Molecular Simulations on Quantum Computers: An Adaptive Variational Eigensolver with Nuclear-Electronic Frozen Natural Orbitals

Nuclear quantum effects such as zero-point energy and hydrogen tunnelling play a central role in many biological and chemical processes. The nuclear-electronic orbital (NEO) approach captures these effects by treating selected nuclei quantum mechanically on the same footing as electrons. On classical computers, the resources required for an exact solution of NEO-based models grow exponentially with system size. By contrast, quantum computers offer a means of solving this problem with polynomial scaling. However, due to the limitations of current quantum devices, NEO simulations are confined to the smallest systems described by minimal basis sets whereas realistic simulations beyond the Born--Oppenheimer approximation require more sophisticated basis sets. For this purpose, we herein extend a hardware-efficient ADAPT-VQE method to the NEO framework in the frozen natural orbital (FNO) basis. We demonstrate on H$_2$ and D$_2$ molecules that the NEO-FNO-ADAPT-VQE method reduces the CNOT count by a several orders of magnitude relative to the NEO unitary coupled cluster method with singles and doubles (NEO-UCCSD) while maintaining the desired accuracy. This extreme reduction in the CNOT gate count is sufficient to permit practical computations employing the NEO method -- an important step toward accurate simulations involving non-classical nuclei and non--Born--Oppenheimer effects on near-term quantum devices. We further show that the method can capture isotope effects and we demonstrate that inclusion of correlation energy systematically improves the prediction of $\Delta$ZPE.

physics.chem-ph

On the non-uniqueness of the quasi-static magnetic forward problem and its impact on source current reconstruction

We introduce a formulation where individual line segments of a current loop have translationally non-invariant contributions to the electro-quasi-static magnetic scalar potential and magnetic field in source-free regions. While closed current loops composed of these open segments have translationally invariant contributions, our formulation indicates that there are multiple ways to decompose the magnetic field due to a closed current loop into the open current segments. By defining the path-independent magnetic scalar potential using a radial integration path with respect to a given origin, a formula has been derived that shows that only non-radial line current segments have non-zero contributions, whereas radial current segments are magnetically silent. This indicates that magnetic forward models for open current segments are non-unique, since the orientations of the currents are dependent on the choice of the computational origin. This finding affects the conventional physical interpretation of the significance of primary/volume currents in biomagnetic forward and inverse models of brain activity, since their contributions are shown to vary with the choice of origin in our formulation. As an example, we perform a simple magnetoencephalography (MEG) equivalent current dipole (ECD) fit for a spherical head model with various origin choices to localize a primary current source. The primary current can be made to have zero contributions in certain translated origin choices (and the volume currents contribute to the signal entirely). Thus, there exist origins in which the ECD model fits the data with high confidence but incorrect estimated location of the primary current segment. In such cases, the dipole is fit to a segment of the volume current. If one were unaware of any origin translations, such ECD fits may be incorrectly interpreted as the primary current source.

physics.med-ph

The Bonsai algorithm: grow your own fermion-to-qubit mapping

Fermion-to-qubit mappings are used to represent fermionic modes on quantum computers, an essential first step in many quantum algorithms for electronic structure calculations. In this work, we present a formalism to design flexible fermion-to-qubit mappings from ternary trees. We discuss in an intuitive manner the connection between the generating trees' structure and certain properties of the resulting mapping, such as Pauli weight and the delocalisation of mode occupation. Moreover, we introduce a recipe that guarantees Fock basis states are mapped to computational basis states in qubit space, a desirable property for many applications in quantum computing. Based on this formalism, we introduce the Bonsai algorithm, which takes as input the potentially limited topology of the qubit connectivity of a quantum device and returns a tailored fermion-to-qubit mapping that reduces the SWAP overhead with respect to other paradigmatic mappings. We illustrate the algorithm by producing mappings for the heavy-hexagon topology widely used in IBM quantum computers. The resulting mappings have a favourable Pauli weight scaling $\mathcal{O}(\sqrt{N})$ on this connectivity, while ensuring that no SWAP gates are necessary for single excitation operations.

quant-ph

Accelerating Progress Towards Practical Quantum Advantage: The Quantum Technology Demonstration Project Roadmap

Quantum information science and technology (QIST) is a critical and emerging technology with the potential for enormous world impact and is currently invested in by over 40 nations. To bring these large-scale investments to fruition and bridge the lower technology readiness levels (TRLs) of fundamental research at universities to the high TRLs necessary to realize the promise of practical quantum advantage accessible to industry and the public, we present a roadmap for Quantum Technology Demonstration Projects (QTDPs). Such QTDPs, focused on intermediate TRLs, are large-scale public-private partnerships with a high probability of translation from laboratory to practice. They create technology demonstrating a clear 'quantum advantage' for science breakthroughs that are user-motivated and will provide access to a broad and diverse community of scientific users. Successful implementation of a program of QTDPs will have large positive economic impacts.

quant-ph

SymForce: Symbolic Computation and Code Generation for Robotics

We present SymForce, a library for fast symbolic computation, code generation, and nonlinear optimization for robotics applications like computer vision, motion planning, and controls. SymForce combines the development speed and flexibility of symbolic math with the performance of autogenerated, highly optimized code in C++ or any target runtime language. SymForce provides geometry and camera types, Lie group operations, and branchless singularity handling for creating and analyzing complex symbolic expressions in Python, built on top of SymPy. Generated functions can be integrated as factors into our tangent-space nonlinear optimizer, which is highly optimized for real-time production use. We introduce novel methods to automatically compute tangent-space Jacobians, eliminating the need for bug-prone handwritten derivatives. This workflow enables faster runtime code, faster development time, and fewer lines of handwritten code versus the state-of-the-art. Our experiments demonstrate that our approach can yield order of magnitude speedups on computational tasks core to robotics. Code is available at https://github.com/symforce-org/symforce.

cs.RO

Simulation-free estimation of an individual-based SEIR model for evaluating nonpharmaceutical interventions with an application to COVID-19 in Iowa

The ongoing COVID-19 pandemic has overwhelmingly demonstrated the need to accurately evaluate the effects of implementing new or altering existing nonpharmaceutical interventions. Since these interventions applied at the societal level cannot be evaluated through traditional experimental means, public health officials and other decision makers must rely on statistical and mathematical epidemiological models. Nonpharmaceutical interventions are typically focused on contacts between members of a population, and yet most epidemiological models rely on homogeneous mixing which has repeatedly been shown to be an unrealistic representation of contact patterns. An alternative approach is individual based models (IBMs), but these are often time intensive and computationally expensive to implement, requiring a high degree of expertise and computational resources. More often, decision makers need to know the effects of potential public policy decisions in a very short time window using limited resources. This paper presents an estimation algorithm for an IBM designed to evaluate nonpharmaceutical interventions. By utilizing recursive relationships, our method can quickly compute the expected epidemiological outcomes even for large populations based on any arbitrary contact network. We utilize our methods to evaluate the effects of relaxing current social distancing measures in Iowa, USA, at various times and to various degrees. \verb!R! code for our method is provided in the supplementary material, thereby allowing others to utilize our approach for other regions.

q-bio.PE

Direct observation of 2D magnons in atomically thin CrI$_3$

Exfoliated chromium triiodide (CrI$_3$) is a layered van der Waals (vdW) magnetic insulator that consists of ferromagnetic layers coupled through antiferromagnetic interlayer exchange. The resulting permutations of magnetic configurations combined with the underlying crystal symmetry produces tunable magneto-optical phenomena that is unique to the two-dimensional (2D) limit. Here, we report the direct observation of 2D magnons through magneto-Raman spectroscopy with optical selection rules that are strictly determined by the honeycomb lattice and magnetic states of atomically thin CrI$_3$. In monolayers, we observe an acoustic magnon mode of ~0.3 meV with cross-circularly polarized selection rules locked to the magnetization direction. These unique selection rules arise from the discrete conservation of angular momentum of photons and magnons dictated by threefold rotational symmetry in a rotational analogue to Umklapp scattering. In bilayers, by tuning between the layered antiferromagnetic and ferromagnetic-like states, we observe the switching of two magnon modes. The bilayer structure also enables Raman activity from the optical magnon mode at ~17 meV (~4.2 THz) that is otherwise Raman-silent in the monolayer. From these measurements, we quantitatively extract the spin wave gap, magnetic anisotropy, intralayer and interlayer exchange constants, and establish 2D magnets as a new system for exploring magnon physics.

cond-mat.mes-hall

Potentiation Decay of Synapses and the Length Distributions of Synfire Chains Self-organized in Recurrent Neural Networks

Synfire chains are thought to underlie precisely-timed sequences of spikes observed in various brain regions and across species. How they are formed is not understood. Here we analyze self-organization of synfire chains through the spike-timing dependent plasticity (STDP) of the synapses, axon remodeling, and potentiation decay of synaptic weights in networks of neurons driven by noisy external inputs and subject to dominant feedback inhibition. Potentiation decay is the gradual, activity-independent reduction of synaptic weights over time. We show that potentiation decay enables a dynamic and statistically stable network connectivity when neurons spike spontaneously. Periodic stimulation of a subset of neurons leads to formation of synfire chains through a random recruitment process, which terminates when the chain connects to itself and forms a loop. We demonstrate that chain length distributions depend on the potentiation decay. Fast potentiation decay leads to long chains with wide distributions, while slow potentiation decay leads to short chains with narrow distributions. We suggest that the potentiation decay, which corresponds to the decay of early long-term potentiation of synapses (E-LTP), is an important synaptic plasticity rule in regulating formation of neural circuity through STDP.

q-bio.NC