1
|
Trahan CJ, Loveland M, Davis N, Ellison E. A Variational Quantum Linear Solver Application to Discrete Finite-Element Methods. ENTROPY (BASEL, SWITZERLAND) 2023; 25:580. [PMID: 37190367 PMCID: PMC10137608 DOI: 10.3390/e25040580] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Subscribe] [Scholar Register] [Received: 02/21/2023] [Revised: 03/21/2023] [Accepted: 03/22/2023] [Indexed: 05/17/2023]
Abstract
Finite-element methods are industry standards for finding numerical solutions to partial differential equations. However, the application scale remains pivotal to the practical use of these methods, even for modern-day supercomputers. Large, multi-scale applications, for example, can be limited by their requirement of prohibitively large linear system solutions. It is therefore worthwhile to investigate whether near-term quantum algorithms have the potential for offering any kind of advantage over classical linear solvers. In this study, we investigate the recently proposed variational quantum linear solver (VQLS) for discrete solutions to partial differential equations. This method was found to scale polylogarithmically with the linear system size, and the method can be implemented using shallow quantum circuits on noisy intermediate-scale quantum (NISQ) computers. Herein, we utilize the hybrid VQLS to solve both the steady Poisson equation and the time-dependent heat and wave equations.
Collapse
Affiliation(s)
- Corey Jason Trahan
- Information and Technology Laboratory, U.S. Army Engineer Research and Development Center, Vicksburg, MS 39180, USA
| | - Mark Loveland
- Information and Technology Laboratory, U.S. Army Engineer Research and Development Center, Vicksburg, MS 39180, USA
| | - Noah Davis
- Applied Research Laboratories, The University of Texas at Austin, Austin, TX 78713, USA
| | - Elizabeth Ellison
- Information and Technology Laboratory, U.S. Army Engineer Research and Development Center, Vicksburg, MS 39180, USA
| |
Collapse
|
2
|
Hai VT, Ho LB. Universal compilation for quantum state tomography. Sci Rep 2023; 13:3750. [PMID: 36879023 PMCID: PMC9988891 DOI: 10.1038/s41598-023-30983-4] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/03/2022] [Accepted: 03/03/2023] [Indexed: 03/08/2023] Open
Abstract
Universal compilation is a training process that compiles a trainable unitary into a target unitary. It has vast potential applications from depth-circuit compressing to device benchmarking and quantum error mitigation. Here we propose a universal compilation algorithm for quantum state tomography in low-depth quantum circuits. We apply the Fubini-Study distance as a trainable cost function and employ various gradient-based optimizations. We evaluate the performance of various trainable unitary topologies and the trainability of different optimizers for getting high efficiency and reveal the crucial role of the circuit depth in robust fidelity. The results are comparable with the shadow tomography method, a similar fashion in the field. Our work expresses the adequate capability of the universal compilation algorithm to maximize the efficiency in the quantum state tomography. Further, it promises applications in quantum metrology and sensing and is applicable in the near-term quantum computers for various quantum computing tasks.
Collapse
Affiliation(s)
- Vu Tuan Hai
- University of Information Technology, Ho Chi Minh City, 700000, Vietnam.,Vietnam National University, Ho Chi Minh City, 700000, Vietnam
| | - Le Bin Ho
- Ho Chi Minh City Institute of Physics, National Institute of Applied Mechanics and Informatics, Vietnam Academy of Science and Technology, Ho Chi Minh City, 700000, Vietnam. .,Frontier Research Institute for Interdisciplinary Sciences, Tohoku University, Sendai, 980-8578, Japan. .,Department of Applied Physics, Graduate School of Engineering, Tohoku University, Sendai, 980-8579, Japan.
| |
Collapse
|
3
|
Laha A, Kumar S. Random density matrices: Analytical results for mean fidelity and variance of squared Bures distance. Phys Rev E 2023; 107:034206. [PMID: 37073067 DOI: 10.1103/physreve.107.034206] [Citation(s) in RCA: 1] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/16/2022] [Accepted: 02/07/2023] [Indexed: 04/20/2023]
Abstract
One of the key issues in problems related to quantum information theory is concerned with the distinguishability of quantum states. In this context, Bures distance serves as one of the foremost choices among various distance measures. It also relates to fidelity, which is another quantity of immense importance in quantum information theory. In this work we derive exact results for the average fidelity and variance of the squared Bures distance between a fixed density matrix and a random density matrix and also between two independent random density matrices. These results go beyond the recently obtained results for the mean root fidelity and mean of the squared Bures distance. The availability of both mean and variance also enables us to provide a gamma-distribution-based approximation for the probability density of the squared Bures distance. The analytical results are corroborated using Monte Carlo simulations. Furthermore, we compare our analytical results with the mean and variance of the squared Bures distance between reduced density matrices generated using coupled kicked tops and a correlated spin chain system in a random magnetic field. In both cases, we find good agreement.
Collapse
Affiliation(s)
- Aritra Laha
- Department of Physics, Shiv Nadar Institution of Eminence, Gautam Buddha Nagar, Uttar Pradesh 201314, India
| | - Santosh Kumar
- Department of Physics, Shiv Nadar Institution of Eminence, Gautam Buddha Nagar, Uttar Pradesh 201314, India
| |
Collapse
|
4
|
Sharma K, Cerezo M, Cincio L, Coles PJ. Trainability of Dissipative Perceptron-Based Quantum Neural Networks. PHYSICAL REVIEW LETTERS 2022; 128:180505. [PMID: 35594093 DOI: 10.1103/physrevlett.128.180505] [Citation(s) in RCA: 10] [Impact Index Per Article: 5.0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 07/31/2020] [Revised: 09/22/2021] [Accepted: 04/06/2022] [Indexed: 06/15/2023]
Abstract
Several architectures have been proposed for quantum neural networks (QNNs), with the goal of efficiently performing machine learning tasks on quantum data. Rigorous scaling results are urgently needed for specific QNN constructions to understand which, if any, will be trainable at a large scale. Here, we analyze the gradient scaling (and hence the trainability) for a recently proposed architecture that we call dissipative QNNs (DQNNs), where the input qubits of each layer are discarded at the layer's output. We find that DQNNs can exhibit barren plateaus, i.e., gradients that vanish exponentially in the number of qubits. Moreover, we provide quantitative bounds on the scaling of the gradient for DQNNs under different conditions, such as different cost functions and circuit depths, and show that trainability is not always guaranteed. Our work represents the first rigorous analysis of the scalability of a perceptron-based QNN.
Collapse
Affiliation(s)
- Kunal Sharma
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
- Hearne Institute for Theoretical Physics and Department of Physics and Astronomy, Louisiana State University, Baton Rouge, Louisiana 70803, USA
| | - M Cerezo
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Lukasz Cincio
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Patrick J Coles
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| |
Collapse
|
5
|
Nguyen QC, Ho LB, Nguyen Tran L, Nguyen HQ. Qsun: an open-source platform towards practical quantum machine learning applications. MACHINE LEARNING: SCIENCE AND TECHNOLOGY 2022. [DOI: 10.1088/2632-2153/ac5997] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/12/2022] Open
Abstract
Abstract
Currently, quantum hardware is restrained by noises and qubit numbers. Thus, a quantum virtual machine (QVM) that simulates operations of a quantum computer on classical computers is a vital tool for developing and testing quantum algorithms before deploying them on real quantum computers. Various variational quantum algorithms (VQAs) have been proposed and tested on QVMs to surpass the limitations of quantum hardware. Our goal is to exploit further the VQAs towards practical applications of quantum machine learning (QML) using state-of-the-art quantum computers. In this paper, we first introduce a QVM named Qsun, whose operation is underlined by quantum state wavefunctions. The platform provides native tools supporting VQAs. Especially using the parameter-shift rule, we implement quantum differentiable programming essential for gradient-based optimization. We then report two tests representative of QML: quantum linear regression and quantum neural network.
Collapse
|
6
|
Sharma K, Cerezo M, Holmes Z, Cincio L, Sornborger A, Coles PJ. Reformulation of the No-Free-Lunch Theorem for Entangled Datasets. PHYSICAL REVIEW LETTERS 2022; 128:070501. [PMID: 35244415 DOI: 10.1103/physrevlett.128.070501] [Citation(s) in RCA: 9] [Impact Index Per Article: 4.5] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Received: 01/16/2021] [Accepted: 01/19/2022] [Indexed: 06/14/2023]
Abstract
The no-free-lunch (NFL) theorem is a celebrated result in learning theory that limits one's ability to learn a function with a training dataset. With the recent rise of quantum machine learning, it is natural to ask whether there is a quantum analog of the NFL theorem, which would restrict a quantum computer's ability to learn a unitary process with quantum training data. However, in the quantum setting, the training data can possess entanglement, a strong correlation with no classical analog. In this Letter, we show that entangled datasets lead to an apparent violation of the (classical) NFL theorem. This motivates a reformulation that accounts for the degree of entanglement in the training set. As our main result, we prove a quantum NFL theorem whereby the fundamental limit on the learnability of a unitary is reduced by entanglement. We employ Rigetti's quantum computer to test both the classical and quantum NFL theorems. Our Letter establishes that entanglement is a commodity in quantum machine learning.
Collapse
Affiliation(s)
- Kunal Sharma
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
- Hearne Institute for Theoretical Physics and Department of Physics and Astronomy, Louisiana State University, Baton Rouge, Louisiana 70803, USA
| | - M Cerezo
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Zoë Holmes
- Information Sciences, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Lukasz Cincio
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Andrew Sornborger
- Information Sciences, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| | - Patrick J Coles
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
| |
Collapse
|
7
|
Wang S, Fontana E, Cerezo M, Sharma K, Sone A, Cincio L, Coles PJ. Noise-induced barren plateaus in variational quantum algorithms. Nat Commun 2021; 12:6961. [PMID: 34845216 PMCID: PMC8630047 DOI: 10.1038/s41467-021-27045-6] [Citation(s) in RCA: 41] [Impact Index Per Article: 13.7] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/04/2021] [Accepted: 11/01/2021] [Indexed: 11/20/2022] Open
Abstract
Variational Quantum Algorithms (VQAs) may be a path to quantum advantage on Noisy Intermediate-Scale Quantum (NISQ) computers. A natural question is whether noise on NISQ devices places fundamental limitations on VQA performance. We rigorously prove a serious limitation for noisy VQAs, in that the noise causes the training landscape to have a barren plateau (i.e., vanishing gradient). Specifically, for the local Pauli noise considered, we prove that the gradient vanishes exponentially in the number of qubits n if the depth of the ansatz grows linearly with n. These noise-induced barren plateaus (NIBPs) are conceptually different from noise-free barren plateaus, which are linked to random parameter initialization. Our result is formulated for a generic ansatz that includes as special cases the Quantum Alternating Operator Ansatz and the Unitary Coupled Cluster Ansatz, among others. For the former, our numerical heuristics demonstrate the NIBP phenomenon for a realistic hardware noise model.
Collapse
Affiliation(s)
- Samson Wang
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA.
- Imperial College London, London, UK.
| | - Enrico Fontana
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA
- University of Strathclyde, Glasgow, UK
- National Physical Laboratory, Teddington, UK
| | - M Cerezo
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA.
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, NM, USA.
| | - Kunal Sharma
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA
- Hearne Institute for Theoretical Physics and Department of Physics and Astronomy, Louisiana State University, Baton Rouge, LA, USA
- Joint Center for Quantum Information and Computer Science, University of Maryland, College Park, Maryland, MD, USA
| | - Akira Sone
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, NM, USA
- Aliro Technologies, Inc, Boston, MA, 02135, USA
| | - Lukasz Cincio
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA
| | - Patrick J Coles
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, 87545, USA.
| |
Collapse
|
8
|
Geller MR. Conditionally Rigorous Mitigation of Multiqubit Measurement Errors. PHYSICAL REVIEW LETTERS 2021; 127:090502. [PMID: 34506180 DOI: 10.1103/physrevlett.127.090502] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Received: 10/24/2020] [Accepted: 07/26/2021] [Indexed: 06/13/2023]
Abstract
Several techniques have been recently introduced to mitigate errors in near-term quantum computers without the overhead required by quantum error correcting codes. While most of the focus has been on gate errors, measurement errors are significantly larger than gate errors on some platforms. A widely used transition matrix error mitigation (TMEM) technique uses measured transition probabilities between initial and final classical states to correct subsequently measured data. However from a rigorous perspective, the noisy measurement should be calibrated with perfectly prepared initial states, and the presence of any state-preparation error corrupts the resulting mitigation. Here we develop a measurement error mitigation technique, a conditionally rigorous TMEM, that is not sensitive to state-preparation errors and thus avoids this limitation. We demonstrate the importance of the technique for high-precision measurement and for quantum foundations experiments by measuring Mermin polynomials on IBM Q superconducting qubits. An extension of the technique allows one to correct for both state-preparation and measurement (SPAM) errors in expectation values as well; we illustrate this by giving a protocol for fully SPAM-corrected quantum process tomography.
Collapse
Affiliation(s)
- Michael R Geller
- Center for Simulational Physics, University of Georgia, Athens, Georgia 30602, USA
| |
Collapse
|
9
|
Cerezo M, Sone A, Volkoff T, Cincio L, Coles PJ. Cost function dependent barren plateaus in shallow parametrized quantum circuits. Nat Commun 2021; 12:1791. [PMID: 33741913 PMCID: PMC7979934 DOI: 10.1038/s41467-021-21728-w] [Citation(s) in RCA: 60] [Impact Index Per Article: 20.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/05/2020] [Accepted: 02/05/2021] [Indexed: 11/09/2022] Open
Abstract
Variational quantum algorithms (VQAs) optimize the parameters θ of a parametrized quantum circuit V(θ) to minimize a cost function C. While VQAs may enable practical applications of noisy quantum computers, they are nevertheless heuristic methods with unproven scaling. Here, we rigorously prove two results, assuming V(θ) is an alternating layered ansatz composed of blocks forming local 2-designs. Our first result states that defining C in terms of global observables leads to exponentially vanishing gradients (i.e., barren plateaus) even when V(θ) is shallow. Hence, several VQAs in the literature must revise their proposed costs. On the other hand, our second result states that defining C with local observables leads to at worst a polynomially vanishing gradient, so long as the depth of V(θ) is [Formula: see text]. Our results establish a connection between locality and trainability. We illustrate these ideas with large-scale simulations, up to 100 qubits, of a quantum autoencoder implementation.
Collapse
Affiliation(s)
- M Cerezo
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, USA.
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, NM, USA.
| | - Akira Sone
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, USA
- Center for Nonlinear Studies, Los Alamos National Laboratory, Los Alamos, NM, USA
| | - Tyler Volkoff
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, USA
| | - Lukasz Cincio
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, USA
| | - Patrick J Coles
- Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM, USA.
| |
Collapse
|