QiBAM: Approximate Sub-String Index Search on Quantum Accelerators Applied to DNA Read Alignment
Abstract
:1. Introduction
- In genomic sequences, since reads can contain errors, an approximate matching query is required;
- A constant Oracle is useful as compiling the Oracle differently for every read at run-time is tedious;
- The associated index in the reference needs to be retrieved, instead of the corrected query.
2. DNA Sequence Reconstruction
Reconstruction Using Read Alignment
3. Quantum Search
4. Related Algorithms
4.1. Quantum Associative Memory
4.2. Quantum Associative Search
4.3. Quantum Indexed Memory
5. Proposed Algorithm: QiBAM
- Approximate query matching to handle read errors;
- A constant Oracle to prevent run-time quantum circuit compilation;
- Retrieval of the associated index in the reference along with the corrected query.
5.1. Quantum Indexed Multi-Associative Memory
5.2. Qubit and Gate Complexity
5.3. Run-Time Architecture
- The application can be described in hybrid quantum-classical logic as mathematical state evolution designed to perform the desired task. They need to be decomposed into programming constructs as input to the compiler;
- To ease development of algorithms, many compilers now offer libraries which consist of an arsenal of primitives that help a quantum algorithm developer;
- Compiler and programming language (like OpenQL) is the interface for the algorithm designer to precisely define the quantum operators and state in abstracted high-level constructs;
- The compilation process generates an assembly level code (common-QASM) specifying the gate operations;
- Quantum runtime unit is responsible for scheduling the operations required for the compiler code. This includes quantum error correction (QEC) and qubit logical to physical mapping. The input for this is provided as hardware parameters. The executable-QASM is generated via this process;
- Quantum Instruction Set Architecture defines the runtime operations of both classical control and quantum parts of the algorithm. It encapsulates the hardware dependence;
- Micro-architecture takes into account the precise timing controls and the instruction pipelines;
- Quantum-classical interface comprises of ADC and DAC and their controls for interacting with the physical qubits. Finally, the quantum processing unit houses the physical qubits. This can be superconductors, semiconductors, or other types of competing qubit technologies;
- Hardware agnostics application development (as discussed in this paper) can bypass to directly interface the cQASM with the simulator (which in turn runs on the classical CPU). The simulated qubits are perfect in nature for testing the functionality of the algorithm.
- Algorithm: This pertains to the core algorithm running on a simulator, where the internal state vector can be accessed. It refers to the inherent gate complexity of the algorithm and other classical pre/post-processing involved;
- No-cloning: If the internal state vector cannot be accessed (like in real quantum processors), the experiment needs to be repeated multiple times and the measurement is aggregated. Most algorithm demands a statistical estimate of the state’s probability distribution. The central tendency of these measurements is the resultant output from the quantum algorithm.Quantum state tomography is an active area of research. Advanced methods based on linear inversion, linear regression, maximum likelihood, Bayesian, compressed-sensing and neural networks [35] exists for estimating the state with fewer tomographic trials.
- Experimental: For algorithm development (using perfect qubits) and proof-of-concept testing, a simulator platform is preferable, such as the QX Simulator used for this research. After sufficient confidence in the logic is established, it needs to be ported to an experimental quantum processing unit [36]. This adds complexity overhead for topological mapping [37] and quantum error correction cycles [38].
6. QiBAM Results on DNA Sequences
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Feynman, R.P. There’s plenty of room at the bottom: An invitation to enter a new field of physics. In Handbook of Nanoscience, Engineering, and Technology, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2012; pp. 26–35. [Google Scholar]
- Riesebos, L.; Fu, X.; Moueddenne, A.; Lao, L.; Varsamopoulos, S.; Ashraf, I.; van Someren, J.; Khammassi, N.; Almudever, C.; Bertels, K. Quantum Accelerated Computer Architectures. In Proceedings of the 2019 IEEE International Symposium on Circuits and Systems (ISCAS), Sapporo, Japan, 26–29 May 2019; pp. 1–4. [Google Scholar] [CrossRef]
- Bertels, K.; Sarkar, A.; Ashraf, I. Quantum Computing—From NISQ to PISQ. IEEE Micro 2021, 41, 24–32. [Google Scholar] [CrossRef]
- Smelyanskiy, M.; Sawaya, N.P.; Aspuru-Guzik, A. qHiPSTER: The quantum high performance software testing environment. arXiv 2016, arXiv:1601.07195. [Google Scholar]
- Khammassi, N.; Ashraf, I.; Fu, X.; Almudever, C.G.; Bertels, K. QX: A high-performance quantum computer simulation platform. In Proceedings of the 2017 Design, Automation & Test in Europe Conference & Exhibition (DATE), Lausanne, Switzerland, 27–31 March 2017; pp. 464–469. [Google Scholar] [CrossRef]
- Khammassi, N.; Ashraf, I.; Someren, J.v.; Nane, R.; Krol, A.M.; Rol, M.A.; Lao, L.; Bertels, K.; Almudever, C.G. OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. arXiv 2020, arXiv:2005.13283. [Google Scholar]
- Sarkar, A. Quantum Algorithms for Pattern-Matching in Genomic Sequences. Master’s Thesis, Delft University of Technology, Delft, The Netherlands, 2018. [Google Scholar]
- Sarkar, A.; Al-Ars, Z.; Bertels, K. QuASeR: Quantum Accelerated de novo DNA sequence reconstruction. PLoS ONE 2021, 16, e0249850. [Google Scholar]
- Sarkar, A.; Al-Ars, Z.; Bertels, K. Estimating Algorithmic Information Using Quantum Computing for Genomics Applications. Appl. Sci. 2021, 11, 2696. [Google Scholar] [CrossRef]
- Broad Institute GATK Best Practices Pipeline. Available online: https://gatk.broadinstitute.org/hc/en-us (accessed on 9 September 2021).
- Houtgast, E.J.; Sima, V.M.; Bertels, K.; Al-Ars, Z. Hardware acceleration of BWA-MEM genomic short read mapping for longer read lengths. Comput. Biol. Chem. 2018, 75, 54–64. [Google Scholar] [CrossRef]
- Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, Philadelphia, PA, USA, 1 July 1996; pp. 212–219. [Google Scholar] [CrossRef] [Green Version]
- Grover, L.K. Quantum mechanics helps in searching for a needle in a haystack. Phys. Rev. Lett. 1997, 79, 325. [Google Scholar] [CrossRef] [Green Version]
- Zalka, C. Grover’s quantum searching algorithm is optimal. Phys. Rev. A 1999, 60, 2746. [Google Scholar] [CrossRef] [Green Version]
- Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight bounds on quantum searching. Fortschr. Der Phys. Prog. Phys. 1998, 46, 493–505. [Google Scholar] [CrossRef] [Green Version]
- Biham, E.; Biham, O.; Biron, D.; Grassl, M.; Lidar, D.A. Grover’s quantum search algorithm for an arbitrary initial amplitude distribution. Phys. Rev. A 1999, 60, 2742. [Google Scholar] [CrossRef] [Green Version]
- Brassard, G.; Høyer, P.; Tapp, A. Quantum counting. In International Colloquium on Automata, Languages, and Programming; Springer: Berlin/Heidelberg, Germany, 1998; pp. 820–831. [Google Scholar] [CrossRef] [Green Version]
- John, M. Sampling with quantum mechanics. arXiv 2003, arXiv:quant-ph/0306181. [Google Scholar]
- Viamontes, G.F.; Markov, I.L.; Hayes, J.P. Is quantum search practical? Comput. Sci. Eng. 2005, 7, 62–70. [Google Scholar] [CrossRef]
- Mateus, P.; Omar, Y. Quantum pattern matching. arXiv 2005, arXiv:quant-ph/0508237. [Google Scholar]
- Ventura, D.; Martinez, T. Quantum associative memory with exponential capacity. In Proceedings of the 1998 IEEE International Joint Conference on Neural Networks Proceedings, IEEE World Congress on Computational Intelligence (Cat. No.98CH36227), Anchorage, AK, USA, 4–9 May 1998; Volume 1, pp. 509–513. [Google Scholar] [CrossRef] [Green Version]
- Ventura, D. Artificial associative memory using quantum processes. In Proceedings of the International Conference on Computational Intelligence and Neuroscience, Draper, UT, USA, 18–22 October 1998; Volume 2, pp. 218–221. [Google Scholar]
- Ventura, D.; Martinez, T. Initializing the amplitude distribution of a quantum state. Found. Phys. Lett. 1999, 12, 547–559. [Google Scholar] [CrossRef]
- Ventura, D.; Martinez, T. A quantum associative memory based on Grover’s algorithm. In Artificial Neural Nets and Genetic Algorithms; Springer: Vienna, Austria, 1999; pp. 22–27. [Google Scholar] [CrossRef] [Green Version]
- Ventura, D.; Martinez, T. Quantum associative memory. Inf. Sci. 2000, 124, 273–296. [Google Scholar] [CrossRef] [Green Version]
- Ezhov, A.; Nifanova, A.; Ventura, D. Quantum associative memory with distributed queries. Inf. Sci. 2000, 128, 271–293. [Google Scholar] [CrossRef] [Green Version]
- Njafa, J.P.T.; Engo, S.N.; Woafo, P. Quantum associative memory with improved distributed queries. Int. J. Theor. Phys. 2013, 52, 1787–1801. [Google Scholar] [CrossRef] [Green Version]
- Hollenberg, L.C. Fast quantum search algorithms in protein sequence comparisons: Quantum bioinformatics. Phys. Rev. E 2000, 62, 7532. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Giannakis, K.; Papalitsas, C.; Theocharopoulou, G.; Fanarioti, S.; Andronikos, T. A Quantum-inspired optimization Heuristic for the Multiple Sequence Alignment Problem in Bio-computing. In Proceedings of the 2019 10th International Conference on Information, Intelligence, Systems and Applications (IISA), Patras, Greece, 15–17 July 2019; pp. 1–8. [Google Scholar] [CrossRef]
- Gidney, C. Constructing Large Controlled Nots. Available online: https://algassert.com/circuits/2015/06/05/Constructing-Large-Controlled-Nots.html (accessed on 9 September 2021).
- Yamagishi, M.E.B. Mathematical Grammar of Biology; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
- Shende, V.V.; Bullock, S.S.; Markov, I.L. Synthesis of quantum-logic circuits. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2006, 25, 1000–1010. [Google Scholar] [CrossRef] [Green Version]
- Krol, A.; Sarkar, A.; Ashraf, I.; Al-Ars, Z.; Bertels, K. Efficient decomposition of unitary matrices in quantum circuit compilers. arXiv 2021, arXiv:2101.02993. [Google Scholar]
- Bertels, K.; Sarkar, A.; Hubregtsen, T.; Serrao, M.; Mouedenne, A.; Yadav, A.; Krol, A.; Ashraf, I. Quantum computer architecture: Towards full-stack quantum accelerators. In Proceedings of the 2020 Design, Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, France, 9–13 March 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Torlai, G.; Mazzola, G.; Carrasquilla, J.; Troyer, M.; Melko, R.; Carleo, G. Neural-network quantum state tomography. Nat. Phys. 2018, 14, 447–450. [Google Scholar] [CrossRef] [Green Version]
- Fu, X.; Rol, M.; Bultink, C.; Van Someren, J.; Khammassi, N.; Ashraf, I.; Vermeulen, R.; De Sterke, J.; Vlothuizen, W.; Schouten, R.; et al. An experimental microarchitecture for a superconducting quantum processor. In Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture, Cambridge, MA, USA, 14 October 2017; pp. 813–825. [Google Scholar] [CrossRef] [Green Version]
- Lao, L.; Manzano, D.M.; van Someren, H.; Ashraf, I.; Almudever, C.G. Mapping of quantum circuits onto NISQ superconducting processors. arXiv 2019, arXiv:1908.04226. [Google Scholar]
- Varsamopoulos, S.; Bertels, K.; Almudever, C.G. Decoding surface code with a distributed neural network–based decoder. Quantum Mach. Intell. 2020, 2, 1–12. [Google Scholar] [CrossRef] [Green Version]
- Khammassi, N.; Guerreschi, G.G.; Ashraf, I.; Hogaboam, J.W.; Almudever, C.G.; Bertels, K. cQASM v1.0 towards a Common Quantum Assembly Language. arXiv 2018, arXiv:1805.09607. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sarkar, A.; Al-Ars, Z.; Almudever, C.G.; Bertels, K.L.M. QiBAM: Approximate Sub-String Index Search on Quantum Accelerators Applied to DNA Read Alignment. Electronics 2021, 10, 2433. https://doi.org/10.3390/electronics10192433
Sarkar A, Al-Ars Z, Almudever CG, Bertels KLM. QiBAM: Approximate Sub-String Index Search on Quantum Accelerators Applied to DNA Read Alignment. Electronics. 2021; 10(19):2433. https://doi.org/10.3390/electronics10192433
Chicago/Turabian StyleSarkar, Aritra, Zaid Al-Ars, Carmen G. Almudever, and Koen L. M. Bertels. 2021. "QiBAM: Approximate Sub-String Index Search on Quantum Accelerators Applied to DNA Read Alignment" Electronics 10, no. 19: 2433. https://doi.org/10.3390/electronics10192433
APA StyleSarkar, A., Al-Ars, Z., Almudever, C. G., & Bertels, K. L. M. (2021). QiBAM: Approximate Sub-String Index Search on Quantum Accelerators Applied to DNA Read Alignment. Electronics, 10(19), 2433. https://doi.org/10.3390/electronics10192433