Abstract
Mapping quantum circuits to real quantum architectures (while keeping the respectively considered cost as small as possible) has become an important research task since it is required to execute algorithms on real devices. Since the underlying problem is NP-complete, several heuristic approaches have been proposed. Recently, approaches utilizing A\(^*\) search to map quantum circuits to, e.g., Nearest Neighbor architectures or IBM QX architectures have gained substantial interest. However, their performance usually has only been evaluated in a rather narrow context, i.e., for single architectures and objectives only. In this work, we evaluate the flexibility of A\(^*\) in the context of mapping quantum circuits to physical devices. To this end, we review the underlying concepts and show its flexibility with respect to the considered architecture. Furthermore, we demonstrate how easy such solutions can be adjusted towards optimizing different design objectives or cost metrics by providing a generalized and parameterizable cost function for the A\(^*\) search that can also be easily extended to support future cost metrics.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
The new state of the qubit is determined by multiplying the corresponding state vector and the unitary matrix [27].
- 2.
Albert Einstein referred to this effect as spooky action at a distance.
- 3.
Note that we do not further specify the functionality of the single qubit gates since it is irrelevant for the mapping process.
- 4.
Note that this constraint is still valid for many recent architectures, e.g., Google’s Bristlecone relies on such a 2D architecture [29].
- 5.
Note that there also exist other methods to overcome the problems [25], but they tend to generate larger overhead for bigger circuits.
- 6.
Note that 1-qubit gates can be neglected when forming the sub-circuits.
- 7.
Note that a similar strategy is used in [24] (even though the permutation is not found using A\(^*\) search).
- 8.
More precisely, the distance of the physical qubits to which the logical ones are mapped is taken.
- 9.
Note that the distance might also include 4 Hadamard gates to indicate that the direction of the CNOT has to be switched.
- 10.
Note that we store the depth and the workload distribution for each physical qubit (considering the already mapped part of the circuit) to keep track of these values.
- 11.
- 12.
Note that no Hadamard operations have to be inserted since these architectures allow CNOTs in any direction between neighboring qubits.
References
Nielsen, M., Chuang, I.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2000)
Shor, P.W.: Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM J. Comput. 26(5), 1484–1509 (1997)
Grover, L.K.: A fast quantum mechanical algorithm for database search. In: Symposium on Theory of Computing, pp. 212–219 (1996)
Montanaro, A.: Quantum algorithms: an overview. NPJ Quantum Inf. 2, 15023 (2016)
Debnath, S., Linke, N., Figgatt, C., Landsman, K., Wright, K., Monroe, C.: Demonstration of a small programmable quantum computer with atomic qubits. Nature 536(7614), 63–66 (2016)
Linke, N.M., et al.: Experimental comparison of two quantum computing architectures. In: Proceedings of the National Academy of Sciences (2017). https://doi.org/10.1073/pnas.1618020114
IBM Q Team: IBM Q. https://www.research.ibm.com/ibm-q/. Accessed 02 May 2019
Nay, C.: IBM unveils world’s first integrated quantum computing system for commercial use. https://newsroom.ibm.com/2019-01-08-IBM-Unveils-Worlds-First-Integrated-Quantum-Computing-System-for-Commercial-Use. Accessed 02 May 2019
Preskill, J.: Quantum computing in the NISQ era and beyond. arXiv preprint arXiv:1801.00862 (2018)
Sete, E.A., Zeng, W.J., Rigetti, C.T.: A functional architecture for scalable quantum computing. In: International Conference on Rebooting Computing, pp. 1–6 (2016)
Neill, C., et al.: A blueprint for demonstrating quantum supremacy with superconducting qubits. Science 360(6385), 195–199 (2018)
Barenco, A., et al.: Elementary gates for quantum computation. Phys. Rev. A 52(5), 3457 (1995)
Amy, M., Maslov, D., Mosca, M., Roetteler, M.: A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits. Trans. Comput. Aided Des. Integr. Circ. Syst. 32(6), 818–830 (2013)
Miller, D.M., Wille, R., Sasanian, Z.: Elementary quantum gate realizations for multiple-control Toffoli gates. In: International Symposium on Multi-valued Logic, pp. 288–293 (2011)
Siraichi, M., Dos Santos, V.F., Collange, S., Pereira, F.M.Q.: Qubit allocation. In: International Symposium on Code Generation and Optimization, pp. 1–12 (2018)
Botea, A., Kishimoto, A., Marinescu, R.: On the complexity of quantum circuit compilation. In: Symposium on Combinatorial Search (2018)
Saeedi, M., Wille, R., Drechsler, R.: Synthesis of quantum circuits for linear nearest neighbor architectures. Quantum Inf. Process. 10(3), 355–377 (2011)
Wille, R., Lye, A., Drechsler, R.: Exact reordering of circuit lines for nearest neighbor quantum architectures. Trans. Comput. Aided Des. Integr. Circ. Syst. 33(12), 1818–1831 (2014)
Wille, R., Keszocze, O., Walter, M., Rohrs, P., Chattopadhyay, A., Drechsler, R.: Look-ahead schemes for nearest neighbor optimization of 1D and 2D quantum circuits. In: Asia and South Pacific Design Automation Conference, pp. 292–297 (2016)
Hattori, W., Yamashita, S.: Quantum circuit optimization by changing the gate order for 2D nearest neighbor architectures. In: Kari, J., Ulidowski, I. (eds.) RC 2018. LNCS, vol. 11106, pp. 228–243. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99498-7_16
IBM Q Team: QISKit Python SDK Version 0.4.15. https://github.com/QISKit/qiskit-sdk-py. Accessed 02 May 2019
Zulehner, A., Paler, A., Wille, R.: An efficient methodology for mapping quantum circuits to the IBM QX architectures. Trans. Comput. Aided Des. Integr. Circ. Syst. (2018)
Zulehner, A., Wille, R.: Compiling SU(4) quantum circuits to IBM QX architectures. In: Asia and South Pacific Design Automation Conference, pp. 185–190 (2019)
Itoko, T., Raymond, R., Imamichi, T., Matsuo, A., Cross, A.W.: Quantum circuit compilers using gate commutation rules. In: Proceedings of the 24th Asia and South Pacific Design Automation Conference, pp. 191–196 (2019)
Dueck, G.W., Pathak, A., Rahman, M.M., Shukla, A., Banerjee, A.: Optimization of circuits for IBM’s five-qubit quantum computers. In: Euromicro Conference on Digital System Design, pp. 680–684 (2018)
Wille, R., Burgholzer, L., Zulehner, A.: Mapping quantum circuits to IBM QX architectures using the minimal number of SWAP and H operations. In: Design Automation Conference (2019)
Zulehner, A., Wille, R.: Advanced simulation of quantum computations. Trans. Comput. Aided Des. Integr. Circ. Syst. (2018)
Tannu, S.S., Qureshi, M.K.: Not all qubits are created equal: a case for variability-aware policies for NISQ-era quantum computers. In: International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 987–999 (2019)
Kelly, J.: A preview of Bristlecone, Google’s new quantum processor (2018). https://ai.googleblog.com/2018/03/a-preview-of-bristlecone-googles-new.html
IBM Q Team: IBM Q 16 Rueschlikon backend specification v1.1.0. https://ibm.biz/qiskit-rueschlikon. Accessed 02 May 2019
Wille, R., Große, D., Teuber, L., Dueck, G.W., Drechsler, R.: RevLib: an online resource for reversible functions and reversible circuits. In: International Symposium on Multi-valued Logic, pp. 220–225 (2008). RevLib: http://www.revlib.org
Acknowledgements
This work has partially been supported by the LIT Secure and Correct System Lab funded by the State of Upper Austria and the European Union through the COST Action IC1405.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Zulehner, A., Bauer, H., Wille, R. (2019). Evaluating the Flexibility of A* for Mapping Quantum Circuits. In: Thomsen, M., Soeken, M. (eds) Reversible Computation. RC 2019. Lecture Notes in Computer Science(), vol 11497. Springer, Cham. https://doi.org/10.1007/978-3-030-21500-2_11
Download citation
DOI: https://doi.org/10.1007/978-3-030-21500-2_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-21499-9
Online ISBN: 978-3-030-21500-2
eBook Packages: Computer ScienceComputer Science (R0)