Purdue Researchers Build Quantum Circuits for Numerical Integration

Researchers affiliated with Purdue University have developed quantum circuits that directly output numerical derivatives and integrals, addressing a need for quantum calculus algorithms that operate directly using data samples. The new methodology employs a spectral approach leveraging the quantum Fourier transform to evaluate outputs at all domain points simultaneously using quantum superposition. The resulting quantum state vectors, proportional to the derivative or integral, are made available to subsequent quantum computations, potentially streamlining workflows in fields like image processing and machine learning. This result, as presented in the paper, lays the foundation for the proposed algorithms to serve as core subroutines in applied quantum computing operations.

Spectral Quantum Algorithm for Differentiation & Integration

Quantum algorithms can now calculate derivatives and integrals from sampled data, a departure from previous methods requiring known functional forms. Researchers, including Fabio Semperlotti at Purdue University, are leveraging the computational power of the quantum Fourier transform in a spectral approach to achieve this, enabling parallel computation at all domain points simultaneously. This addresses a need for algorithms that operate directly using data samples, rather than relying on closed-form expressions like Algorithmic Differentiation, which necessitates prior knowledge of the input function to reduce it to known derivatives. The newly developed algorithms output quantum state vectors proportional to the numerical derivative or integral, making the results available to subsequent quantum computations. This is particularly advantageous for complex operations such as image processing, data analysis, and machine learning. The differentiation approach is also extended to enable gradient estimation, and post-processing procedures are presented to recover sign information.

Unlike existing quantum integration methods focused on Quantum Monte Carlo Integration, this work offers a pathway to indefinite integration using only data samples. The team anticipates this will address a gap in the field, providing tools for numerical calculus that require minimal prior knowledge and deliver domain-wide results concurrently.

Beyond established techniques for quantum differentiation and integration, a new spectral approach is gaining traction, addressing a specific need for algorithms that operate directly using data samples. Current quantum algorithms often demand detailed prior knowledge of the input function, a significant constraint when dealing with real-world data typically represented as samples rather than closed-form expressions. Methods like Algorithmic Differentiation require the functional form itself, while Variational Quantum Eigensolvers necessitate encoding the function as a Hamiltonian. Even Jordan’s algorithm evaluates the function at points surrounding the origin. This emerging methodology circumvents these requirements by leveraging the quantum Fourier transform to evaluate outputs at all domain points simultaneously, allowing the correctly signed results to be made available to subsequent quantum computations. Unlike Quantum Monte Carlo Integration, this approach operates directly on sampled data, offering a versatile tool for a wider range of scientific computing challenges.

Fabio Semperlotti and colleagues are developing new methods for numerical calculus on quantum computers, addressing a need for algorithms that operate directly using data samples. Current quantum differentiation algorithms largely fall into three categories: Algorithmic Differentiation, Variational Quantum Eigensolvers, and Jordan’s algorithm, each with specific drawbacks detailed in their recent work. Algorithmic Differentiation, for example, necessitates knowing the functional form of the input to reduce it to a composition of primitive functions with known derivatives. Similarly, Variational Quantum Eigensolver approaches require encoding the input as the expectation value of a Hamiltonian operator, limiting its generalizability; the team points out that Jordan’s algorithm evaluates the function at points surrounding the origin, though extensions using separable variable techniques have broadened its scope. The researchers state that their work lays the foundation for the proposed algorithms to serve as core subroutines in applied quantum computing operations. A key finding is that these methods lack the ability to evaluate outputs at all domain points simultaneously.

The demand for practical quantum algorithms extends to numerical calculus, with applications spanning scientific computing disciplines like chemistry, optimization, and image processing. This work introduces a new methodology centered on a spectral approach that leverages the computational efficiency of the quantum Fourier transform, offering a departure from techniques like Algorithmic Differentiation which require closed-form functional inputs. The researchers aimed to address these gaps by developing algorithms for quantum differentiation and integration operating directly on data samples, simultaneously delivering results evaluated at all domain points. This spectral approach promises to broaden the applicability of quantum calculus beyond scenarios with pre-defined functional forms.

This methodology differs from techniques like Algorithmic Differentiation, which requires closed-form functional inputs, and Variational Quantum Eigensolvers, which necessitate encoding the input as a Hamiltonian operator. The authors explain that unlike Quantum Monte Carlo Integration, which dominates current quantum integration research, this work focuses on evaluating outputs at all domain points simultaneously. This new approach aims to provide a more versatile and efficient pathway for numerical calculus within the expanding field of fault-tolerant quantum computing.

Jordan’s Algorithm for Gradient Estimation via Taylor Series

A new spectral approach to quantum calculus delivers derivative and integral estimations without relying on pre-existing functional forms. Researchers have detailed a methodology centered around the quantum Fourier transform, enabling numerical differentiation and indefinite integration directly from sampled data, a departure from existing quantum algorithms. This innovation addresses a need for algorithms that work with sampled data, rather than requiring closed-form functional inputs. This direct output is a key advantage; traditionally, quantum results are made available to subsequent quantum computations, rather than being fed directly into subsequent computations. The differentiation approach is also extended to enable gradient estimation, and post-processing procedures are presented to recover sign information. The algorithms evaluate outputs at all domain points simultaneously, leveraging quantum superposition and the efficiency of the quantum Fourier transform.

Unlike Algorithmic Differentiation, which requires knowledge of the input function’s form, or Variational Quantum Eigensolvers, which demand a Hamiltonian encoding, this spectral approach operates directly on data samples. The work addresses a gap in existing methods by providing domain-wide differentiation and integration results concurrently, rather than single-point estimations. The implications extend to a wide range of applications, from scientific computing to machine learning, potentially accelerating complex workflows and enabling new quantum algorithms.

This approach diverges from algorithms demanding closed-form functional inputs, instead operating directly on sampled data. The researchers state that their work lays the foundation for the proposed algorithms to serve as core subroutines in applied quantum computing operations. This is a crucial advantage given the prevalence of discrete datasets in real-world applications. Current quantum differentiation techniques, such as Algorithmic Differentiation and Variational Quantum Eigensolvers, often require substantial prior knowledge of the input function, limiting their versatility.

Researchers continue to refine methods for extracting usable data from quantum computations, with a recent focus on recovering the sign of numerical results, a critical detail often lost in the transition from quantum state to output value. Fabio Semperlotti and colleagues extended the differentiation approach to enable gradient estimation, and post-processing procedures were presented to recover sign information. The team’s methodology, leveraging a spectral approach and the quantum Fourier transform, evaluates outputs at all domain points simultaneously. The primary output of the proposed algorithms are quantum state vectors directly proportional to the numerical derivative or integral of the given data; therefore, the correctly signed results are made available to subsequent quantum computations. This result lays the foundation for the proposed algorithms to serve as core subroutines in applied quantum computing operations such as image processing, data analysis, and machine learning.

The potential for streamlined workflows across data-intensive fields represents a significant near-term benefit of this new quantum calculus methodology. This direct output is crucial, as it allows for chaining quantum operations, potentially accelerating complex analyses currently bottlenecked by data conversion. Image processing stands to gain from the ability to perform rapid, domain-wide differentiation and integration, essential for tasks like edge detection and feature extraction. Beyond image analysis, the technique’s extension to gradient estimation enables gradient estimation, and post-processing procedures are presented to recover sign information. Accurate and efficient gradient calculation is fundamental to training algorithms; this quantum capability could accelerate model optimization, particularly for complex datasets. The algorithms’ capacity to recover sign information is valuable for applications requiring directional data.

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Rusty Flint

Rusty Flint

Rusty is a quantum science nerd. He's been into academic science all his life, but spent his formative years doing less academic things. Now he turns his attention to write about his passion, the quantum realm. He loves all things Quantum Physics especially. Rusty likes the more esoteric side of Quantum Computing and the Quantum world. Everything from Quantum Entanglement to Quantum Physics. Rusty thinks that we are in the 1950s quantum equivalent of the classical computing world. While other quantum journalists focus on IBM's latest chip or which startup just raised $50 million, Rusty's over here writing 3,000-word deep dives on whether quantum entanglement might explain why you sometimes think about someone right before they text you. (Spoiler: it doesn't, but the exploration is fascinating)

Latest Posts by Rusty Flint: