On the Impact of Affine Loop Transformations in Qubit Allocation
Author:
Open Access
- 30 September 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Quantum Computing
- Vol. 2 (3) , 1-40
Abstract
Most quantum compiler transformations and qubit allocation techniques to date are either peep-hole focused or rely on sliding windows that depend on a number of external parameters including the topology of the quantum processor. Thus, global optimization criteria are still lacking. In this article, we explore the synergies and impact of affine loop transformations in the context of qubit allocation and mapping. With this goal in mind, we designed and implemented AXL , a domain specific language and source-to-source compiler for quantum circuits that can be directly described with affine relations. We conduct an extensive evaluation spanning circuits from the recently introduced QUEKO benchmark suite, eight quantum circuits taken from the literature, three distinct coupling graphs, four affine transformations (including the Pluto dependence distance minimization and Feautrier’s minimum latency algorithms), four qubit allocators, and two back-end quantum compilers. Our results demonstrate that affine transformations using global optimization criteria can cooperate effectively in several scenarios with quantum qubit mapping algorithms to reduce the circuit depth, size and allocation time.Keywords
All Related Versions
This publication has 60 references indexed in Scilit:
- Polyhedral parallel code generation for CUDAACM Transactions on Architecture and Code Optimization, 2013
- A practical automatic polyhedral parallelizer and locality optimizerACM SIGPLAN Notices, 2008
- Iterative optimization in the polyhedral modelACM SIGPLAN Notices, 2008
- Experimental Demonstration of a Compiled Version of Shor’s Algorithm with Quantum EntanglementPhysical Review Letters, 2007
- Quantum programming languages: survey and bibliographyMathematical Structures in Computer Science, 2006
- Grover's search algorithm: An optical approachJournal of Modern Optics, 2000
- Linear scan register allocationACM Transactions on Programming Languages and Systems, 1999
- Improving data locality with loop transformationsACM Transactions on Programming Languages and Systems, 1996
- Approximate quantum Fourier transform and decoherencePhysical Review A, 1996
- Register allocation & spilling via graph coloringACM SIGPLAN Notices, 1982