Step-by-Step HHL Algorithm Walkthrough to Enhance the Understanding of Critical Quantum Computing Concepts
Authors:
- Hector Jose Morrell JrHJHector Jose Morrell Jr
- Hiu Yung WongHiu Yung Wong
Preprint
Abstract
After learning basic quantum computing concepts, it is desirable to reinforce the learning using an important and relatively complex algorithm through which the students can observe and appreciate how the qubits evolve and interact with each other. Harrow-Hassidim-Lloyd (HHL) quantum algorithm, which can solve Linear System Problems with exponential speed-up over classical method and is the basic 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 which can be used 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 Phase Estimation, Quantum Fourier Transformation, and quantum programming.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Quantum Computing for Finance: State-of-the-Art and Future ProspectsIEEE Transactions on Quantum Engineering, 2020
- The prospects of quantum computing in computational molecular biologyWIREs Computational Molecular Science, 2020
- Quantum supremacy using a programmable superconducting processorNature, 2019
- Quantum circuit design for solving linear systems of equationsMolecular Physics, 2012
- Quantum Algorithm for Linear Systems of EquationsPhysical Review Letters, 2009
- Could Feynman Have Said This?Physics Today, 2004
- Algorithms for quantum computation: discrete logarithms and factoring2002