variational quantum algorithms for state preparation
play

Variational quantum algorithms for state preparation & matrix - PowerPoint PPT Presentation

Variational quantum algorithms for state preparation & matrix decomposition Xin Wang Baidu Research PCL Innovation Salon 2020/07/31 Based on arXiv:2005.08797 and 2006.02336. Overview l Near-term Quantum Computing l Quantum Gibbs State


  1. Variational quantum algorithms for state preparation & matrix decomposition Xin Wang Baidu Research PCL Innovation Salon 2020/07/31 Based on arXiv:2005.08797 and 2006.02336.

  2. Overview l Near-term Quantum Computing l Quantum Gibbs State Preparation l Quantum Singular Value Decomposition l Summary

  3. PA R T 0 1 Backgr ound

  4. Backgr ound • Major academic and industry efforts are currently in progress to realize scalable quantum hardware and develop powerful quantum software. • The quantity and quality of physical qubits are continuously increasing! • This is an exciting time for quantum computing! Theoretical Study: Physics Implementation: q. Information, q. algorithm, super-conducting, ion-trap, q. complexity, q. crypto, .. NV-center, sensing, .. • Killer quantum application/algorithms • Control & debugging of quantum devices • Resource-aware compilation • Q uantum software (development kit) • …….

  5. Existing quantum algorithms for classically hard problems - Linear systems of equations - Graph problems (shortest path, triangle finding, etc.) - …… 图片: www.sciencenews.org , en.wikipedia.org

  6. Towards Near-term Quantum Applications Near-term Quantum Quantum Algorithm Applications Universal QC NISQ, 50-200 noisy qubits Requirements Goals killer apps executable killer apps Techs ML, optimization, etc. Algorithm design Quantum SDK QML platform, etc. simulator platform There are still many challenge s .

  7. Near-term quantum algorithms l A trend of near-term quantum algorithms is to VQAs proposed for: employ the promising hybrid quantum-classical ○ Quantum data compression algorithms as machine learning models ○ Quantum eigen-solver l Use parameterized circuits to search the Hilbert ○ Quantum metrology space and combine classical optimization ○ Quantum error correction methods to find optimal parameters. ○ Quantum state diagonalization ○ Quantum fidelity estimation l Believed to be best hope for near-term ○ Quantum simulation quantum advantage ○ Solving linear systems of equations l Few rigorous scaling results known for VQAs ○ … l Opportunities and challenges • Parameterized quantum circuit (PQC) ≈ Quantum neural network (QNN) • Hybrid quantum-classical algorithm ≈ Variational quantum algorithm (VQA) Review: Benedetti et al. Parameterized quantum circuits as machine learning models. S. McArdle, S. Endo, A. Aspuru-Guzik, S. C. Benjamin, and X. Yuan, Quantum computational chemistry, RMP 2020

  8. Variational quantum algorithms as ML models

  9. Variational quantum algorithms as ML models 飞桨 (PaddlePaddle) 中国首个开源开放、技术领先、 功能完备的产业级深度学习平台 Paddle Quantum (量桨) 是基于百度飞桨开发的量子 机器学习工具集 • Machine learning may help us better solve problems in quantum computation. • With QML development platforms, we could focus more on the study of near- term quantum applications.

  10. PART 02 Quantum Gibbs State Preparation Joint work with Youle Wang and Guangxi Li arXiv:2005.08797

  11. What is quantum Gibbs state?

  12. Related work and our goal l Existing methods 1. Quantum rejection sampling. [ PW09, PRL; WKS16, QIC2016] 2. Quantum walk. [YG12, PNAS] 3. Dimension reduction. [BB10, PRL] 4. Dynamic simulation. [KKR17, PRL, RGE12, PRL] l Require the use of complex quantum subroutines such as quantum phase estimation, which are costly and hard to implement on near term quantum computers. l How to prepare Gibbs state on NISQ devices? l A feasible scheme is to employ variational quantum algorithms.

  13. Our Approach Starting point: A key feature of the Gibbs state is that it minimizes the free energy Minimize free energy Find the optimal state (estimator)

  14. Loss function • Major obstacle for the free energy evaluation is von Neumann entropy estimation. • We truncate the von Neumann entropy. • Let H denote the Hamiltonian and β>0 be the inverse temperature, we define

  15. 2-truncated free energy • In particular, we choose the 2-truncated free energy (convex) as the loss function and show that both the loss function and their gradients can be evaluated on NISQ devices. • Analytical gradients • With analytical gradients, one could apply gradient-based methods to minimize the loss function. • Either gradient-based or gradient-free optimization methods. • Gradients for VQA: Mitarai et al. arXiv:1803.00745, Schuld et al. arXiv:1811.11184, Ostaszewski et al. arXiv:1905.09692, Li et al. arXiv:1608.00677

  16. Compute the loss function (gradients) via Swap test Swap Test: characterized by the probability of getting 0 Destructive Swap Test • does not need the ancillary qubit. • classical post-processing as a simple dot product with the probability vector [1] Y. Subasi, L. Cincio, and P. J. Coles, J. Phys. A Math. Theor. 52, 044001 (2019).

  17. Overview of this hybrid quantum-classical algorithm

  18. Ansatz for our numerics (Parameterized circuits) Our ansatz Others… Alternating Layered Ansatz

  19. Ising chain model • Shallow parameterized circuits • Only one additional qubit in the ansatz • Prepare the Ising chain Gibbs states with a fidelity higher than 95%.

  20. Findings for Ising chain model

  21. XY spin-1/2 chain model • Our second instance is the XY spin-1/2 chain of length L=5, with the Hamiltonian and periodic boundary conditions. • 6-qubit parametrized circuit with one ancillary qubit, where the basic circuit module (which contains a CNOT layer and a layer of single qubit Pauli-Y rotation operators) is repeated d times

  22. Summary for Gibbs state preparation l We propose a variational quantum algorithm for quantum Gibbs state preparation. l We utilize the truncated free energy to evaluate the free energy. l We demonstrate our results by providing theoretical evidences and numerical experiments for Ising chain and spin chain Gibbs states.

  23. PART 03 Variational Quantum SVD Joint work with Zhixin Song and Youle Wang arXiv:2006.02336

  24. What is Singular Value Decomposition (SVD)?

  25. Example (Application in image compression) 2.5e+05 4.7e+03 Mathematical applications of the SVD computing the pseudo inverse • matrix approximation • estimating the range and null space of a matrix. • SVD has also been successfully applied to many areas of science, engineering, and statistics, such • as signal processing, image processing, and recommender systems.

  26. Setup and motivation l For a given n×n matrix M, there exists a decomposition of the form l Assumption on the input matrix as a linear combination of unitaries l Our goal is to design a quantum algorithm for SVD. l Motivations ○ Compression of quantum data ○ Analysis of quantum data (e.g., eigenvalues of Hamiltonians/quantum states) ○ Quantum linear system solver ○ Potential speed-up for SVD and many related applications

  27. Starting point: Variational principles of SVD • A naïve approach is to design QNNs to learn each singular value. • However, this is not efficient. Can we find a way to learn U and V directly? Ref on SVD : https://www.caam.rice.edu/~caam440/pca.pdf

  28. Our solution We introduce the following loss function This loss function has several nice properties • Could find all the singular values and singular vectors via training • Theoretical guarantee of the ideally optimized solution • Could be computed on near-term quantum devices ( Hadamard Test )

  29. Theoretical reason for choosing • Let's assume that are real numbers for simplicity. • We have

  30. Compute the loss function via Hadamard Test [1] D. Aharonov, V. Jones, and Z. Landau, Algorithmica 55, 395(2009), arXiv:0511096 [quant-ph].

  31. Schematic diagram of VQSVD algorithm

  32. Optimization • Both gradient-based and gradient-free methods could be used to do the optimization. • We show that analytical gradients in our VQSVD could be estimated easily on near-term devices by a “parameter shift rule” [1]. Compare to the finite difference method (FDM), we only need to rotate the angle once not twice . • Additionally, Harrow & Napp [2] find positive evidence that circuit learning using the analytical • gradient outperforms any FDM. [1] https://arxiv.org/pdf/1811.11184.pdf [2] https://arxiv.org/pdf/1901.05374.pdf

  33. Numerical experiments We use the following Hardware-efficient Ansatz [1] as our circuit model: The above ansatz works well for problems with real numbers. [1] https://arxiv.org/pdf/1704.05018.pdf

  34. SVD for random matrices

  35. Toy example in image compression • Retrieve the mian information • Background noise

  36. Summary of VQSVD and future directions u A novel loss function to train the QNNs to learn the left and right singular vectors and output the target singular values. u Positive numerics for SVD of random matrices and image compression u Extensive applications in solving linear systems of equations. u How to load classical data into quantum devices efficiently? u How would quantum noise affect the performance of QML algorithms? u How to better train the QNNs and avoid barren plateaus issues? u More applications? u New QNN architectures?

  37. Features of Paddle Quantum Easy to use Extensibility Featured toolkits l Provide toolkits for l Support general l Easy-to-build QNN quantum chemistry, circuit model l Fruitful tutorials QAOA l Hybrid quantum- l Self-innovate QML classical applications algorithms

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend