-
New aspects of quantum topological data analysis: Betti number estimation, and testing and tracking of homology and cohomology classes
Authors:
Nhat A. Nghiem,
Junseo Lee
Abstract:
Recently, the application of quantum computation to topological data analysis (TDA) has received increasing attention. In particular, several quantum algorithms have been proposed for estimating (normalized) Betti numbers, a central challenge in TDA. However, it was recently proven that estimating Betti numbers is an NP-hard problem, revealing a complexity-theoretic limitation to achieving a gener…
▽ More
Recently, the application of quantum computation to topological data analysis (TDA) has received increasing attention. In particular, several quantum algorithms have been proposed for estimating (normalized) Betti numbers, a central challenge in TDA. However, it was recently proven that estimating Betti numbers is an NP-hard problem, revealing a complexity-theoretic limitation to achieving a generic quantum advantage for this task. Motivated by this limitation and inspired by previous progress, we explore broader quantum approaches to TDA. First, we consider scenarios in which a simplicial complex is specified in a more informative form, enabling alternative quantum algorithms to estimate Betti numbers and persistent Betti numbers. We then move beyond Betti numbers and study the problem of testing the homology class of a given cycle, as well as distinguishing between homology classes. We also introduce cohomological techniques for these problems, along with a quantum algorithm. We then discuss their potential use in the testing and tracking of homology classes, which can be useful for TDA applications. Our results show that, despite the hardness of general Betti number estimation, quantum algorithms can still offer speed-ups in structured settings.
△ Less
Submitted 2 June, 2025;
originally announced June 2025.
-
Refined Quantum Algorithms for Principal Component Analysis and Solving Linear System
Authors:
Nhat A. Nghiem
Abstract:
We outline refined versions of two major quantum algorithms for performing principal component analysis and solving linear equations. Our methods are exponentially faster than their classical counterparts and even previous quantum algorithms/dequantization algorithms. Oracle/black-box access to classical data is not required, thus implying great capacity for near-term realization. Several applicat…
▽ More
We outline refined versions of two major quantum algorithms for performing principal component analysis and solving linear equations. Our methods are exponentially faster than their classical counterparts and even previous quantum algorithms/dequantization algorithms. Oracle/black-box access to classical data is not required, thus implying great capacity for near-term realization. Several applications and implications of these results are discussed. First, we show that a Hamiltonian $H$ with classically known rows/columns can be efficiently simulated, adding another model in addition to the well-known sparse access and linear combination of unitaries models. Second, we provide a simpler proof of the known result that quantum matrix inversion cannot achieve sublinear complexity $κ^{1-γ}$ where $κ$ is the conditional number of the inverted matrix.
△ Less
Submitted 1 April, 2025;
originally announced April 2025.
-
Quantum Advantage in Testing (Local) Convexity and Monotonicity of Function
Authors:
Nhat A. Nghiem
Abstract:
It is shown that a quantum computer can test the convexity and monotonicity of a given function exponentially more efficiently than a classical computer. This establishes another prominent example that showcases the potential of quantum computers in function-related problems, which can be practical in functional optimization.
It is shown that a quantum computer can test the convexity and monotonicity of a given function exponentially more efficiently than a classical computer. This establishes another prominent example that showcases the potential of quantum computers in function-related problems, which can be practical in functional optimization.
△ Less
Submitted 24 March, 2025;
originally announced March 2025.
-
Quantum Speedup in Dissecting Roots and Solving Nonlinear Algebraic Equations
Authors:
Nhat A. Nghiem
Abstract:
It is shown that quantum computer can detect the existence of root of a function almost exponentially more efficient than the classical counterpart. It is also shown that a quantum computer can produce quantum state corresponding to the solution of nonlinear algebraic equations quadratically faster than the best known classical approach. Various applications and implications are discussed, includi…
▽ More
It is shown that quantum computer can detect the existence of root of a function almost exponentially more efficient than the classical counterpart. It is also shown that a quantum computer can produce quantum state corresponding to the solution of nonlinear algebraic equations quadratically faster than the best known classical approach. Various applications and implications are discussed, including a quantum algorithm for solving dense linear systems with quadratic speedup, determining equilibrium states, simulating the dynamics of nonlinear coupled oscillators, estimating Lyapunov exponent, an improved quantum partial differential equation solver, and a quantum-enhanced collision detector for robotic motion planning. This provides further evidence of quantum advantage without requiring coherent quantum access to classical data, delivering meaningful real-world applications.
△ Less
Submitted 9 March, 2025;
originally announced March 2025.
-
Quantum Computer Does Not Need Coherent Quantum Access for Advantage
Authors:
Nhat A. Nghiem
Abstract:
Demonstrating quantum advantage has been a pressing challenge in the field. A majority of claimed quantum speedups rely on a subroutine in which classical information can be accessed in a coherent quantum manner, which imposes a crucial constraint on the practicability of these quantum algorithms. It has even been shown that without such an access, the quantum computer cannot be (exponentially) st…
▽ More
Demonstrating quantum advantage has been a pressing challenge in the field. A majority of claimed quantum speedups rely on a subroutine in which classical information can be accessed in a coherent quantum manner, which imposes a crucial constraint on the practicability of these quantum algorithms. It has even been shown that without such an access, the quantum computer cannot be (exponentially) stronger than the classical counterpart for many problems. Thus, whether or not a quantum computer can be useful for practical applications has been central to investigation. In this work, we develop a quantum gradient descent algorithm for polynomial optimization, which is a fundamental technique that enjoys a wide range of applications. The algorithm's running time is logarithmical relative to the number of variables and consumes logarithmic numbers of qubits. Our method can work with many classes of polynomials and, most importantly, it removes the requirement for such a coherent quantum access. Thus, it implies great potential for near-term realization and particularly surpasses the belief that quantum speedup is only possible with strong input assumptions. As immediate applications, we show how to translate the capability of performing gradient descent into solving a linear system, performing least-square fitting, building a support vector machine, performing supervised cluster assignment, training neural network, and solving for ground-state/excited-state energy, performing principle component analysis, with end-to-end applications of quantum algorithms. Thus, our result adds another prominent example to some existing literature, provably demonstrating the quantum advantage toward highly practical problems, suggesting a new and promising prospect for the real-world application of a quantum computer.
△ Less
Submitted 4 March, 2025;
originally announced March 2025.
-
New Quantum Algorithm For Solving Linear System of Equations
Authors:
Nhat A. Nghiem
Abstract:
Linear equations play a pivotal role in many areas of science and engineering, making efficient solutions to linear systems highly desirable. The development of quantum algorithms for solving linear systems has been a significant breakthrough, with such algorithms rapidly becoming some of the most influential in quantum computing. Subsequent advances have focused on improving the efficiency of qua…
▽ More
Linear equations play a pivotal role in many areas of science and engineering, making efficient solutions to linear systems highly desirable. The development of quantum algorithms for solving linear systems has been a significant breakthrough, with such algorithms rapidly becoming some of the most influential in quantum computing. Subsequent advances have focused on improving the efficiency of quantum linear solvers and extending their core techniques to address various challenges, such as least-squares data fitting. In this article, we introduce a new quantum algorithm for solving linear systems based on the gradient descent method. Inspired by the vector/density state formalism, we represent a point, or vector, as a density state-like entity, enabling us to leverage recent advancements in quantum algorithmic frameworks, such as block encoding, to directly manipulate operators and carry out the gradient descent method in a quantum setting. The operator corresponding to the intermediate solution is updated iteratively, with a provable guarantee of convergence. The quantum state representing the final solution to the linear system can then be extracted by further measurement. We provide a detailed complexity analysis and compare our approach with existing methods, demonstrating significant improvement in certain aspects.
△ Less
Submitted 19 February, 2025;
originally announced February 2025.
-
Estimation of Nonlinear Physical Quantities By Measuring Ancillas
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
In this article, we present quantum algorithms for estimating von Neumann entropy and Renyi entropy, which are crucial physical and information-theoretical properties of a given quantum state $ρ$. Although there have been existing works that achieved the same goal, some prior developments assume the unitary that prepares the purification to the target state $ρ$. Here, we consider an alternative se…
▽ More
In this article, we present quantum algorithms for estimating von Neumann entropy and Renyi entropy, which are crucial physical and information-theoretical properties of a given quantum state $ρ$. Although there have been existing works that achieved the same goal, some prior developments assume the unitary that prepares the purification to the target state $ρ$. Here, we consider an alternative setting where only copies of $ρ$ are given and construct a quantum algorithm that estimates the desired entropy. Our framework can complete the given task by measuring a small number of ancilla qubits without directly measuring the system, and that it achieves significant improvement over prior relevant developments. For example, for the Renyi entropy of the order of non-integral $α$, our method achieves almost power-of-two improvement in sample complexity with respect to the rank of the given state and almost a power-of-two improvement in error tolerance compared with the work by Wang et al. [Phys. Rev. Applied 19, 044041 (2023)].
△ Less
Submitted 11 February, 2025;
originally announced February 2025.
-
New Quantum Algorithm for Principal Component Analysis
Authors:
Nhat A. Nghiem
Abstract:
Quantum principal component analysis (QPCA) ignited a new development toward quantum machine learning algorithms. Initially showcasing as an active way for analyzing a quantum system using the quantum state itself, QPCA also found potential application in analyzing a large-scale dataset, represented by the so-called covariance matrix. Inspired by recent advancement in quantum algorithms, we give a…
▽ More
Quantum principal component analysis (QPCA) ignited a new development toward quantum machine learning algorithms. Initially showcasing as an active way for analyzing a quantum system using the quantum state itself, QPCA also found potential application in analyzing a large-scale dataset, represented by the so-called covariance matrix. Inspired by recent advancement in quantum algorithms, we give an alternatively new quantum framework for performing principal component analysis. By analyzing the performance in detail, we shall identify the regime in which our proposal performs better than the original QPCA. In addition, we also provide a new approach for preparing the covariance matrix, given classical dataset, on a quantum computer. Thus, our work provides an efficient complementary framework for revealing features of the quantum state, while keeping the philosophy of original QPCA, as the state could play an active role in analyzing itself.
△ Less
Submitted 14 January, 2025;
originally announced January 2025.
-
Simple Quantum Gradient Descent Without Coherent Oracle Access
Authors:
Nhat A. Nghiem
Abstract:
The gradient descent method aims at finding local minima of a given multivariate function by moving along the direction of its gradient, and hence, the algorithm typically involves computing all partial derivatives of a given function, before updating the solution iteratively. In the work of Rebentrost et al. [New Journal of Physics, 21(7):073023, 2019], the authors translated the iterative optimi…
▽ More
The gradient descent method aims at finding local minima of a given multivariate function by moving along the direction of its gradient, and hence, the algorithm typically involves computing all partial derivatives of a given function, before updating the solution iteratively. In the work of Rebentrost et al. [New Journal of Physics, 21(7):073023, 2019], the authors translated the iterative optimization algorithm into a quantum setting, with some assumptions regarding certain structure of the given function, with oracle or black-box access to some matrix that specifies the structure. Here, we develop an alternative quantum framework for the gradient descent problem, based on the seminal quantum singular value transformation framework. We show that given only classical information of function of interest, it is possible to construct a quantum gradient descent algorithm with a running time logarithmical in the number of variables. In particular, our framework consumes exponentially less qubits than the prior quantum gradient descent algorithm and removes the need for any coherent oracle access to classical information. Thus, our work provides another example demonstrating the power of quantum singular value transformation framework, and in particular, it adds another instance revealing that quantum coherent access is not necessary for quantum computational advantage.
△ Less
Submitted 24 February, 2025; v1 submitted 24 December, 2024;
originally announced December 2024.
-
A Framework For Estimating Amplitudes of Quantum State With Single-Qubit Measurement
Authors:
Nhat A. Nghiem
Abstract:
We propose and analyze a simple framework for estimating the amplitudes of a given $n$-qubit quantum state $\ketψ = \sum_{i=0}^{2^n-1} a_i \ket{i}$ in computational basis, utilizing a single-qubit measurement only. Previously, it was a common procedure that one could measure all qubits in order to collect measurement outcomes, from which one can estimate amplitudes of given quantum state. Here, we…
▽ More
We propose and analyze a simple framework for estimating the amplitudes of a given $n$-qubit quantum state $\ketψ = \sum_{i=0}^{2^n-1} a_i \ket{i}$ in computational basis, utilizing a single-qubit measurement only. Previously, it was a common procedure that one could measure all qubits in order to collect measurement outcomes, from which one can estimate amplitudes of given quantum state. Here, we show that if restricting to single-qubit measurement, and one can perform measurement on arbitrary basis, then the measurement outcomes can be used to assist the finding of amplitudes in the usual computational, or Z basis. More concretely, such outcomes are capable of constructing a system of nonlinear algebraic equations, and by classically solving them, we obtain $\Tilde{a}_i$, which is the approximation to the corresponding amplitudes $a_i$, including both real and imaginary component. We then discuss our framework from a broader perspective. First, we show that estimating all (norms of) amplitudes to additive accuracy $δ$, i.e., $| |\Tilde{a}_i - |a_i| | \leq δ$ for all $i$, $\mathcal{O}(4^n/δ^4)$ single-qubit measurements is sufficient. Second, we show that to achieve total variation $\sum_{i=0}^{2^n-1} | |\Tilde{a}_i|^2 - |a_i|^2| \leq δ$, $\mathcal{O}(6^n/δ^4)$ a single bit measurement is required. Finally, in order to achieve an average $L_1$ norm error $ \sum_{i=0}^{2^n-1} | |\Tilde{a}_i| - |a_i| |/2^n \leq δ$, a single bit measurement $\mathcal{O}(2^n/ δ^4)$ is needed.
△ Less
Submitted 9 December, 2024;
originally announced December 2024.
-
Improved Time-independent Hamiltonian Simulation
Authors:
Nhat A. Nghiem
Abstract:
We describe a simple method for simulating time-independent Hamiltonian $H$ that could be decomposed as $H = \sum_{i=1}^m H_i$ where each $H_i$ can be efficiently simulated. Approaches relying on product formula generally work by splitting the evolution time into segments, and approximate the evolution in each segment by the evolution of composing Hamiltonian $H_i$. This key step incur a constrain…
▽ More
We describe a simple method for simulating time-independent Hamiltonian $H$ that could be decomposed as $H = \sum_{i=1}^m H_i$ where each $H_i$ can be efficiently simulated. Approaches relying on product formula generally work by splitting the evolution time into segments, and approximate the evolution in each segment by the evolution of composing Hamiltonian $H_i$. This key step incur a constraint, that prohibits a (poly)logarithmic scaling on approximation error. We employ the recently introduced quantum singular value transformation framework to utilize the ability to simulate $H_i$ in an alternative way, which then allows us to construct and simulate the main Hamiltonian $H$ with polylogarithmical scaling on the inverse of desired error, which is a major improvement with respect to product formula approaches.
△ Less
Submitted 19 October, 2024;
originally announced October 2024.
-
Simulating Time-dependent Hamiltonian Based On High Order Runge-Kutta and Forward Euler Method
Authors:
Nhat A. Nghiem
Abstract:
We propose a new method for simulating certain type of time-dependent Hamiltonian $H(t) = \sum_{i=1}^m γ_i(t) H_i$ where $γ_i(t)$ (and its higher order derivatives) is bounded, computable function of time $t$, and each $H_i$ is time-independent, and could be efficiently simulated. Our quantum algorithms are based on high-order Runge-Kutta method and forward Euler method, where the time interval is…
▽ More
We propose a new method for simulating certain type of time-dependent Hamiltonian $H(t) = \sum_{i=1}^m γ_i(t) H_i$ where $γ_i(t)$ (and its higher order derivatives) is bounded, computable function of time $t$, and each $H_i$ is time-independent, and could be efficiently simulated. Our quantum algorithms are based on high-order Runge-Kutta method and forward Euler method, where the time interval is divided into subintervals. Then in an iterative manner, the evolution operator at given time step is built upon the evolution operator at previous time step, utilizing algorithmic operations from the recently introduced quantum singular value transformation framework.
△ Less
Submitted 18 October, 2024;
originally announced October 2024.
-
(Nearly) Optimal Time-dependent Hamiltonian Simulation
Authors:
Nhat A. Nghiem
Abstract:
We describe a simple quantum algorithm to simulate time-dependent Hamiltonian, extending the methodology of quantum signal processing. The framework achieves optimal scaling up to some factor with respect to other parameters, and nearly optimal in inverse of error tolerance, which could be improved to optimal scaling under certain input models. As applications, we discuss the problem of simulating…
▽ More
We describe a simple quantum algorithm to simulate time-dependent Hamiltonian, extending the methodology of quantum signal processing. The framework achieves optimal scaling up to some factor with respect to other parameters, and nearly optimal in inverse of error tolerance, which could be improved to optimal scaling under certain input models. As applications, we discuss the problem of simulating generalized lattice system and time-periodic, or Floquet system, showing that our framework provides a neater yet highly efficient solution, achieving optimal/nearly optimal scaling in all parameters. In particular, our method also paves a new way for studying phase transition on quantum computer, extending the reach of quantum simulation.
△ Less
Submitted 9 March, 2025; v1 submitted 18 October, 2024;
originally announced October 2024.
-
Quantum Algorithm For Testing Convexity of Function
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
Functions are a fundamental object in mathematics, with countless applications to different fields, and are usually classified based on certain properties, given their domains and images. An important property of a real-valued function is its convexity, which plays a very crucial role in many areas, such as thermodynamics and geometry. Motivated by recent advances in quantum computation as well as…
▽ More
Functions are a fundamental object in mathematics, with countless applications to different fields, and are usually classified based on certain properties, given their domains and images. An important property of a real-valued function is its convexity, which plays a very crucial role in many areas, such as thermodynamics and geometry. Motivated by recent advances in quantum computation as well as the quest for quantum advantage, we give a quantum algorithm for testing convexity of polynomial functions, which appears frequently in multiple contexts, such as optimization, machine learning, physics, etc. We show that quantum computers can reveal the convexity property superpolynomially faster than classical computers with respect to number of variables. As a corollary, we provide a significant improvement and extension on quantum Newton's method constructed in earlier work of Rebentrost et al [New J. Phys. \textbf{21} 073023 (2019)]. We further discuss our algorithm in a broader context, such as potential application in the study of geometric structure of manifold, testing training landscape of variational quantum algorithm and also gradient descent/Newton's method for optimization.
△ Less
Submitted 5 September, 2024;
originally announced September 2024.
-
Improved Quantum Power Method and Numerical Integration Using Quantum Singular Value Transformation
Authors:
Nhat A. Nghiem,
Hiroki Sukeno,
Shuyu Zhang,
Tzu-Chieh Wei
Abstract:
Quantum singular value transformation (QSVT) is a framework that has been shown to unify many primitives in quantum algorithms. In this work, we leverage the QSVT framework in two directions. We first show that the QSVT framework can accelerate one recently introduced quantum power method, which substantially improves its running time. Additionally, we incorporate several elementary numerical inte…
▽ More
Quantum singular value transformation (QSVT) is a framework that has been shown to unify many primitives in quantum algorithms. In this work, we leverage the QSVT framework in two directions. We first show that the QSVT framework can accelerate one recently introduced quantum power method, which substantially improves its running time. Additionally, we incorporate several elementary numerical integration techniques, such as the rectangular method, Monte Carlo method, and quadrature method, into the QSVT framework, which results in polynomial speedup with respect to the size or the number of points of the grid. Our results thus provide further examples to demonstrate the potential of the QSVT and how it may enhance quantum algorithmic tasks.
△ Less
Submitted 16 July, 2024;
originally announced July 2024.
-
Quantum Algorithm For Solving Nonlinear Algebraic Equations
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
Nonlinear equations are challenging to solve due to their inherently nonlinear nature. As analytical solutions typically do not exist, numerical methods have been developed to tackle their solutions. In this article, we give a quantum algorithm for solving a system of nonlinear algebraic equations, in which each equation is a multivariate polynomial of known coefficients. Building upon the classic…
▽ More
Nonlinear equations are challenging to solve due to their inherently nonlinear nature. As analytical solutions typically do not exist, numerical methods have been developed to tackle their solutions. In this article, we give a quantum algorithm for solving a system of nonlinear algebraic equations, in which each equation is a multivariate polynomial of known coefficients. Building upon the classical Newton method and some recent works on quantum algorithm plus block encoding from the quantum singular value transformation, we show how to invert the Jacobian matrix to execute Newton's iterative method for solving nonlinear equations, where each contributing equation is a homogeneous polynomial of an even degree. A detailed analysis are then carried out to reveal that our method achieves polylogarithmic time in relative to the number of variables. Furthermore, the number of required qubits is logarithmic in the number of variables. In particular, we also show that our method can be modified with little effort to deal with polynomial of various types, thus implying the generality of our approach. Some examples coming from physics and algebraic geometry, such as Gross-Pitaevski equation, Lotka-Volterra equations, and intersection of algebraic varieties, involving nonlinear partial differential equations are provided to motivate the potential application, with a description on how to extend our algorithm with even less effort in such a scenario. Our work thus marks a further important step towards quantum advantage in nonlinear science, enabled by the framework of quantum singular value transformation.
△ Less
Submitted 1 August, 2024; v1 submitted 4 April, 2024;
originally announced April 2024.
-
Alternative Method for Estimating Betti Numbers
Authors:
Nhat A. Nghiem
Abstract:
Topological data analysis (TDA) is a fast-growing field that utilizes advanced tools from topology to analyze large-scale data. A central problem in topological data analysis is estimating the so-called Betti numbers of the underlying simplicial complex. While the difficulty of this problem has been established as NP-hard, previous works have showcased appealing quantum speedup. In this article, w…
▽ More
Topological data analysis (TDA) is a fast-growing field that utilizes advanced tools from topology to analyze large-scale data. A central problem in topological data analysis is estimating the so-called Betti numbers of the underlying simplicial complex. While the difficulty of this problem has been established as NP-hard, previous works have showcased appealing quantum speedup. In this article, we provide an alternative method for estimating Betti numbers and normalized Betti numbers of given simplicial complex, based on some recent advances in quantum algorithm, specifically, quantum singular value transformation. Our method can be faster than the best-known classical method for finding Betti numbers, and interestingly, it can also find the Betti numbers of the complement graph to our original one. Comparing to the best known quantum algorithm, our method generally requires lower depth circuit, in trade-off for longer running time. Regarding normalized Betti numbers, our method could match the running time of best-known quantum method in the case of dense simplices.
△ Less
Submitted 21 April, 2024; v1 submitted 7 March, 2024;
originally announced March 2024.
-
Improved Quantum Algorithms for Eigenvalues Finding and Gradient Descent
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
Block encoding is a key ingredient in the recently developed quantum singular value transformation (QSVT) framework, which provides a unifying description for many quantum algorithms. Initially introduced to simplify and optimize resource utilization in various problems, such as searching, amplitude estimation, and Hamiltonian simulation, it is reasonable to expect that the capabilities of QSVT ex…
▽ More
Block encoding is a key ingredient in the recently developed quantum singular value transformation (QSVT) framework, which provides a unifying description for many quantum algorithms. Initially introduced to simplify and optimize resource utilization in various problems, such as searching, amplitude estimation, and Hamiltonian simulation, it is reasonable to expect that the capabilities of QSVT extend beyond these applications and offer untapped potential for designing new quantum algorithms. In this article, we affirm this perspective by leveraging block encoding to substantially enhance two previously proposed quantum algorithms: largest eigenvalue estimation and quantum gradient descent. Unlike previous works that rely on sophisticated approaches, our findings demonstrate that even just elementary operations within the unitary block encoding framework can eliminate major scaling factors present in their original counterparts. This results in significantly more efficient quantum algorithms capable of tackling target computational problems with remarkable efficiency. Furthermore, we illustrate how our proposed method can be extended to other contexts, including matrix inversion and multiple eigenvalue estimation.
△ Less
Submitted 30 March, 2025; v1 submitted 22 December, 2023;
originally announced December 2023.
-
An Improved Method for Quantum Matrix Multiplication
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
Following the celebrated quantum algorithm for solving linear equations (so-called HHL algorithm), Childs, Kothari and Somma [SIAM Journal on Computing, {\bf 46}: 1920, (2017)] provided an approach to solve a linear system of equations with exponentially improved dependence on precision. In this note, we aim to complement such a result for applying a matrix to some quantum state, based upon their…
▽ More
Following the celebrated quantum algorithm for solving linear equations (so-called HHL algorithm), Childs, Kothari and Somma [SIAM Journal on Computing, {\bf 46}: 1920, (2017)] provided an approach to solve a linear system of equations with exponentially improved dependence on precision. In this note, we aim to complement such a result for applying a matrix to some quantum state, based upon their Chebyshev polynomial approach. A few examples that motivate this application are included and we further discuss an application of this improved matrix application algorithm explicitly with an efficient quantum procedure.
△ Less
Submitted 23 November, 2023;
originally announced November 2023.
-
Quantum Algorithm for Estimating Betti Numbers Using a Cohomology Approach
Authors:
Nhat A. Nghiem,
Xianfeng David Gu,
Tzu-Chieh Wei
Abstract:
Topological data analysis has emerged as a powerful tool for analyzing large-scale data. High-dimensional data form an abstract simplicial complex, and by using tools from homology, topological features could be identified. Given a simplex, an important feature is so-called Betti numbers. Calculating Betti numbers classically is a daunting task due to the massive volume of data and its possible hi…
▽ More
Topological data analysis has emerged as a powerful tool for analyzing large-scale data. High-dimensional data form an abstract simplicial complex, and by using tools from homology, topological features could be identified. Given a simplex, an important feature is so-called Betti numbers. Calculating Betti numbers classically is a daunting task due to the massive volume of data and its possible high-dimension. While most known quantum algorithms to estimate Betti numbers rely on homology, here we consider the `dual' approach, which is inspired by Hodge theory and de Rham cohomology, combined with recent advanced techniques in quantum algorithms. Our cohomology method offers a relatively simpler, yet more natural framework that requires exponentially less qubits, in comparison with the known homology-based quantum algorithms. Furthermore, our algorithm can calculate its $r$-th Betti number $β_r$ up to some multiplicative error $δ$ with running time $\mathcal{O}\big( \log(c_r) c_r^2 / (c_r - β_r)^2 δ^2 \big)$, where $c_r$ is the number of $r$-simplex. It thus works best when the $r$-th Betti number is considerably smaller than the number of the $r$-simplex in the given triangulated manifold.
△ Less
Submitted 20 October, 2023; v1 submitted 19 September, 2023;
originally announced September 2023.
-
Quantum Algorithm for Computing Distances Between Subspaces
Authors:
Nhat A. Nghiem
Abstract:
Geometry and topology have generated impacts far beyond their pure mathematical primitive, providing a solid foundation for many applicable tools. Typically, real-world data are represented as vectors, forming a linear subspace for a given data collection. Computing distances between different subspaces is generally a computationally challenging problem with both theoretical and applicable consequ…
▽ More
Geometry and topology have generated impacts far beyond their pure mathematical primitive, providing a solid foundation for many applicable tools. Typically, real-world data are represented as vectors, forming a linear subspace for a given data collection. Computing distances between different subspaces is generally a computationally challenging problem with both theoretical and applicable consequences, as, for example, the results can be used to classify data from different categories. Fueled by the fast-growing development of quantum algorithms, we consider such problems in the quantum context and provide a quantum algorithm for estimating two kinds of distance: Grassmann distance and ellipsoid distance. Under appropriate assumptions and conditions, the speedup of our quantum algorithm is exponential with respect to both the dimension of the given data and the number of data points. Some extensions regarding estimating different kinds of distance are then discussed as a corollary of our main quantum algorithmic method.
△ Less
Submitted 30 April, 2024; v1 submitted 29 August, 2023;
originally announced August 2023.
-
Predicting COVID-19 pandemic by spatio-temporal graph neural networks: A New Zealand's study
Authors:
Viet Bach Nguyen,
Truong Son Hy,
Long Tran-Thanh,
Nhung Nghiem
Abstract:
Modeling and simulations of pandemic dynamics play an essential role in understanding and addressing the spreading of highly infectious diseases such as COVID-19. In this work, we propose a novel deep learning architecture named Attention-based Multiresolution Graph Neural Networks (ATMGNN) that learns to combine the spatial graph information, i.e. geographical data, with the temporal information,…
▽ More
Modeling and simulations of pandemic dynamics play an essential role in understanding and addressing the spreading of highly infectious diseases such as COVID-19. In this work, we propose a novel deep learning architecture named Attention-based Multiresolution Graph Neural Networks (ATMGNN) that learns to combine the spatial graph information, i.e. geographical data, with the temporal information, i.e. timeseries data of number of COVID-19 cases, to predict the future dynamics of the pandemic. The key innovation is that our method can capture the multiscale structures of the spatial graph via a learning to cluster algorithm in a data-driven manner. This allows our architecture to learn to pick up either local or global signals of a pandemic, and model both the long-range spatial and temporal dependencies. Importantly, we collected and assembled a new dataset for New Zealand. We established a comprehensive benchmark of statistical methods, temporal architectures, graph neural networks along with our spatio-temporal model. We also incorporated socioeconomic cross-sectional data to further enhance our prediction. Our proposed model have shown highly robust predictions and outperformed all other baselines in various metrics for our new dataset of New Zealand along with existing datasets of England, France, Italy and Spain. For a future work, we plan to extend our work for real-time prediction and global scale. Our data and source code are publicly available at https://github.com/HySonLab/pandemic_tgnn
△ Less
Submitted 12 May, 2023;
originally announced May 2023.
-
Quantum Algorithm For Estimating Eigenvalue
Authors:
Nhat A. Nghiem,
Tzu-Chieh Wei
Abstract:
A majority of numerical scientific computation relies heavily on handling and manipulating matrices, such as solving linear equations, finding eigenvalues and eigenvectors, and so on. Many quantum algorithms have been developed to advance these computational tasks, and in some cases, such as solving linear equations, can be shown to yield exponential speedup. Here, employing the techniques in the…
▽ More
A majority of numerical scientific computation relies heavily on handling and manipulating matrices, such as solving linear equations, finding eigenvalues and eigenvectors, and so on. Many quantum algorithms have been developed to advance these computational tasks, and in some cases, such as solving linear equations, can be shown to yield exponential speedup. Here, employing the techniques in the HHL algorithm and the ideas of the classical power method, we provide a simple quantum algorithm for estimating the largest eigenvalue in magnitude of a given Hermitian matrix. As in the case of the HHL algorithm, our quantum procedure can also yield exponential speedup compared to classical algorithms that solve the same problem. We also discuss a few possible extensions and applications of our quantum algorithm, such as a version of a hybrid quantum-classical Lanczos algorithm.
△ Less
Submitted 20 June, 2023; v1 submitted 11 November, 2022;
originally announced November 2022.
-
Constant-time Quantum Algorithm for Homology Detection in Closed Curves
Authors:
Nhat A. Nghiem,
Xianfeng David Gu,
Tzu-Chieh Wei
Abstract:
Given a loop or more generally 1-cycle $r$ of size L on a closed two-dimensional manifold or surface, represented by a triangulated mesh, a question in computational topology asks whether or not it is homologous to zero. We frame and tackle this problem in the quantum setting. Given an oracle that one can use to query the inclusion of edges on a closed curve, we design a quantum algorithm for such…
▽ More
Given a loop or more generally 1-cycle $r$ of size L on a closed two-dimensional manifold or surface, represented by a triangulated mesh, a question in computational topology asks whether or not it is homologous to zero. We frame and tackle this problem in the quantum setting. Given an oracle that one can use to query the inclusion of edges on a closed curve, we design a quantum algorithm for such a homology detection with a constant running time, with respect to the size or the number of edges on the loop $r$, requiring only a single usage of oracle. In contrast, classical algorithm requires $Ω(L)$ oracle usage, followed by a linear time processing and can be improved to logarithmic by using a parallel algorithm. Our quantum algorithm can be extended to check whether two closed loops belong to the same homology class. Furthermore, it can be applied to a specific problem in the homotopy detection, namely, checking whether two curves are \textit{not} homotopically equivalent on a closed two-dimensional manifold.
△ Less
Submitted 27 February, 2023; v1 submitted 25 September, 2022;
originally announced September 2022.
-
Make The Most of Prior Data: A Solution for Interactive Text Summarization with Preference Feedback
Authors:
Duy-Hung Nguyen,
Nguyen Viet Dung Nghiem,
Bao-Sinh Nguyen,
Dung Tien Le,
Shahab Sabahi,
Minh-Tien Nguyen,
Hung Le
Abstract:
For summarization, human preference is critical to tame outputs of the summarizer in favor of human interests, as ground-truth summaries are scarce and ambiguous. Practical settings require dynamic exchanges between human and AI agent wherein feedback is provided in an online manner, a few at a time. In this paper, we introduce a new framework to train summarization models with preference feedback…
▽ More
For summarization, human preference is critical to tame outputs of the summarizer in favor of human interests, as ground-truth summaries are scarce and ambiguous. Practical settings require dynamic exchanges between human and AI agent wherein feedback is provided in an online manner, a few at a time. In this paper, we introduce a new framework to train summarization models with preference feedback interactively. By properly leveraging offline data and a novel reward model, we improve the performance regarding ROUGE scores and sample-efficiency. Our experiments on three various datasets confirm the benefit of the proposed framework in active, few-shot and online settings of preference learning.
△ Less
Submitted 11 May, 2022; v1 submitted 11 April, 2022;
originally announced April 2022.
-
Robust Deep Reinforcement Learning for Extractive Legal Summarization
Authors:
Duy-Hung Nguyen,
Bao-Sinh Nguyen,
Nguyen Viet Dung Nghiem,
Dung Tien Le,
Mim Amina Khatun,
Minh-Tien Nguyen,
Hung Le
Abstract:
Automatic summarization of legal texts is an important and still a challenging task since legal documents are often long and complicated with unusual structures and styles. Recent advances of deep models trained end-to-end with differentiable losses can well-summarize natural text, yet when applied to legal domain, they show limited results. In this paper, we propose to use reinforcement learning…
▽ More
Automatic summarization of legal texts is an important and still a challenging task since legal documents are often long and complicated with unusual structures and styles. Recent advances of deep models trained end-to-end with differentiable losses can well-summarize natural text, yet when applied to legal domain, they show limited results. In this paper, we propose to use reinforcement learning to train current deep summarization models to improve their performance on the legal domain. To this end, we adopt proximal policy optimization methods and introduce novel reward functions that encourage the generation of candidate summaries satisfying both lexical and semantic criteria. We apply our method to training different summarization backbones and observe a consistent and significant performance gain across 3 public legal datasets.
△ Less
Submitted 23 November, 2021; v1 submitted 13 November, 2021;
originally announced November 2021.
-
Subtleties in the trainability of quantum machine learning models
Authors:
Supanut Thanasilp,
Samson Wang,
Nhat A. Nghiem,
Patrick J. Coles,
M. Cerezo
Abstract:
A new paradigm for data science has emerged, with quantum data, quantum models, and quantum computational devices. This field, called Quantum Machine Learning (QML), aims to achieve a speedup over traditional machine learning for data analysis. However, its success usually hinges on efficiently training the parameters in quantum neural networks, and the field of QML is still lacking theoretical sc…
▽ More
A new paradigm for data science has emerged, with quantum data, quantum models, and quantum computational devices. This field, called Quantum Machine Learning (QML), aims to achieve a speedup over traditional machine learning for data analysis. However, its success usually hinges on efficiently training the parameters in quantum neural networks, and the field of QML is still lacking theoretical scaling results for their trainability. Some trainability results have been proven for a closely related field called Variational Quantum Algorithms (VQAs). While both fields involve training a parametrized quantum circuit, there are crucial differences that make the results for one setting not readily applicable to the other. In this work we bridge the two frameworks and show that gradient scaling results for VQAs can also be applied to study the gradient scaling of QML models. Our results indicate that features deemed detrimental for VQA trainability can also lead to issues such as barren plateaus in QML. Consequently, our work has implications for several QML proposals in the literature. In addition, we provide theoretical and numerical evidence that QML models exhibit further trainability issues not present in VQAs, arising from the use of a training dataset. We refer to these as dataset-induced barren plateaus. These results are most relevant when dealing with classical data, as here the choice of embedding scheme (i.e., the map between classical data and quantum states) can greatly affect the gradient scaling.
△ Less
Submitted 27 October, 2021;
originally announced October 2021.
-
A Unified Framework for Quantum Supervised Learning
Authors:
Nhat A. Nghiem,
Samuel Yen-Chi Chen,
Tzu-Chieh Wei
Abstract:
Quantum machine learning is an emerging field that combines machine learning with advances in quantum technologies. Many works have suggested great possibilities of using near-term quantum hardware in supervised learning. Motivated by these developments, we present an embedding-based framework for supervised learning with trainable quantum circuits. We introduce both explicit and implicit approach…
▽ More
Quantum machine learning is an emerging field that combines machine learning with advances in quantum technologies. Many works have suggested great possibilities of using near-term quantum hardware in supervised learning. Motivated by these developments, we present an embedding-based framework for supervised learning with trainable quantum circuits. We introduce both explicit and implicit approaches. The aim of these approaches is to map data from different classes to separated locations in the Hilbert space via the quantum feature map. We will show that the implicit approach is a generalization of a recently introduced strategy, so-called \textit{quantum metric learning}. In particular, with the implicit approach, the number of separated classes (or their labels) in supervised learning problems can be arbitrarily high with respect to the number of given qubits, which surpasses the capacity of some current quantum machine learning models. Compared to the explicit method, this implicit approach exhibits certain advantages over small training sizes. Furthermore, we establish an intrinsic connection between the explicit approach and other quantum supervised learning models. Combined with the implicit approach, this connection provides a unified framework for quantum supervised learning. The utility of our framework is demonstrated by performing both noise-free and noisy numerical simulations. Moreover, we have conducted classification testing with both implicit and explicit approaches using several IBM Q devices.
△ Less
Submitted 16 February, 2021; v1 submitted 25 October, 2020;
originally announced October 2020.
-
Modelling the health impact of food taxes and subsidies with price elasticities: the case for additional scaling of food consumption using the total food expenditure elasticity
Authors:
Tony Blakely,
Nhung Nghiem,
Murat Genc,
Anja Mizdrak,
Linda Cobiac,
Cliona Ni Mhurchu,
Boyd Swinburn,
Peter Scarborough,
Christine Cleghorn
Abstract:
Background Food taxes and subsidies are one intervention to address poor diets. Price elasticity (PE) matrices are commonly used to model the change in food purchasing. Usually a PE matrix is generated in one setting then applied to another setting with differing starting consumption and prices of foods. This violates econometric assumptions resulting in likely misestimation of total food consumpt…
▽ More
Background Food taxes and subsidies are one intervention to address poor diets. Price elasticity (PE) matrices are commonly used to model the change in food purchasing. Usually a PE matrix is generated in one setting then applied to another setting with differing starting consumption and prices of foods. This violates econometric assumptions resulting in likely misestimation of total food consumption. We illustrate rescaling all consumption after applying a PE matrix using a total food expenditure elasticity (TFEe, the expenditure elasticity for all food combined given the policy induced change in the total price of food). We use case studies of NZ$2 per 100g saturated fat (SAFA) tax, NZ$0.4 per 100g sugar tax, and a 20% fruit and vegetable (F&V) subsidy. Methods We estimated changes in food purchasing using a NZ PE matrix applied conventionally, then with TFEe adjustment. Impacts were quantified for total food expenditure and health adjusted life years (HALYs) for the total NZ population alive in 2011 over the rest of their lifetime using a multistate lifetable model. Results Two NZ studies gave TFEes of 0.68 and 0.83, with international estimates ranging from 0.46 to 0.90. Without TFEe adjustment, total food expenditure decreased with the tax policies and increased with the F&V subsidy, implausible directions of shift given economic theory. After TFEe adjustment, HALY gains reduced by a third to a half for the two taxes and reversed from an apparent health loss to a health gain for the F&V subsidy. With TFEe adjustment, HALY gains (in 1000s) were 1,805 (95% uncertainty interval 1,337 to 2,340) for the SAFA tax, 1,671 (1,220 to 2,269) for the sugar tax, and 953 (453 to 1,308) for the F&V subsidy. Conclusions If PE matrices are applied in settings beyond where they were derived, additional scaling is likely required. We suggest that the TFEe is a useful scalar.
△ Less
Submitted 28 September, 2019;
originally announced September 2019.