A Step-by-Step HHL Algorithm Walkthrough to Enhance Understanding of Critical Quantum Computing Concepts
Top Cited Papers
Open Access
- 21 July 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 77117-77131
Abstract
After learning basic quantum computing concepts, it is desirable to reinforce the learning using an important and relatively complex algorithm through which students can observe and appreciate how qubits evolve and interact with each other. Harrow-Hassidim-Lloyd (HHL) quantum algorithm, which can solve linear system problems with exponential speed-up over the classical method and is the basis of many important quantum computing algorithms, is used to serve this purpose. The HHL algorithm is explained analytically followed by a 4-qubit numerical example in bra-ket notation. Matlab code corresponding to the numerical example is available for students to gain a deeper understanding of the HHL algorithm from a pure matrix point of view. A quantum circuit programmed using qiskit is also provided for real hardware execution in IBM quantum computers. After going through the material, students are expected to have a better appreciation of the concepts such as basis transformation, bra-ket and matrix representations, superposition, entanglement, controlled operations, measurement, quantum Fourier transformation, quantum phase estimation, and quantum programming. To help readers review these basic concepts, brief explanations augmented by the HHL numerical examples in the main text are provided in the Appendix.Keywords
All Related Versions
Funding Information
- National Science Foundation (2046220)
This publication has 15 references indexed in Scilit:
- A survey on HHL algorithm: From theory to application in quantum machine learningPhysics Letters A, 2020
- The prospects of quantum computing in computational molecular biologyWIREs Computational Molecular Science, 2020
- Quantum fast Poisson solver: the algorithm and complete and modular circuit designQuantum Information Processing, 2020
- Quantum supremacy using a programmable superconducting processorNature, 2019
- Read the fine printNature Physics, 2015
- Quantum circuit design for solving linear systems of equationsMolecular Physics, 2012
- Quantum Algorithm for Linear Systems of EquationsPhysical Review Letters, 2009
- Efficient Quantum Algorithms for Simulating Sparse HamiltoniansCommunications in Mathematical Physics, 2006
- Could Feynman Have Said This?Physics Today, 2004
- Algorithms for quantum computation: discrete logarithms and factoring2002