Compiler Management of Communication and Parallelism for Quantum Computation

被引:0
作者
Heckey, Jeff [1 ]
Patil, Shruti [2 ]
JavadiAbhari, Ali [2 ]
Holmes, Adam [3 ]
Kudrow, Daniel [1 ]
Brown, Kenneth R. [4 ]
Franklin, Diana [1 ]
Chong, Frederic T. [1 ]
Martonosi, Margaret [2 ]
机构
[1] UC Santa Barbara, Santa Barbara, CA USA
[2] Princeton Univ, Princeton, NJ 08544 USA
[3] Cornell Univ, Ithaca, NY 14853 USA
[4] Georgia Inst Technol, Atlanta, GA 30332 USA
关键词
Quantum; LLVM; Compilers; Scheduling; ARCHITECTURE; REALIZATION; DESIGN;
D O I
10.1145/2775054.2694357
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Quantum computing (QC) offers huge promise to accelerate a range of computationally intensive benchmarks. Quantum computing is limited, however, by the challenges of decoherence: i.e., a quantum state can only be maintained for short windows of time before it decoheres. While quantum error correction codes can protect against decoherence, fast execution time is the best defense against decoherence, so efficient architectures and effective scheduling algorithms are necessary. This paper proposes the Multi-SIMD QC architecture and then proposes and evaluates effective schedulers to map benchmark descriptions onto Multi-SIMD architectures. The Multi-SIMD model consists of a small number of SIMD regions, each of which may support operations on up to thousands of qubits per cycle. Efficient Multi-SIMD operation requires efficient scheduling. This work develops schedulers to reduce communication requirements of qubits between operating regions, while also improving parallelism. We find that communication to global memory is a dominant cost in QC. We also note that many quantum benchmarks have long serial operation paths (although each operation may be data parallel). To exploit this characteristic, we introduce Longest-Path-First Scheduling (LPFS) which pins operations to SIMD regions to keep data in-place and reduce communication to memory. The use of small, local scratchpad memories also further reduces communication. Our results show a 3% to 308% improvement for LPFS over conventional scheduling algorithms, and an additional 3% to 64% improvement using scratchpad memories. Our work is the most comprehensive software-to-quantum toolflow published to date, with efficient and practical scheduling techniques that reduce communication and increase parallelism for full-scale quantum code executing up to a trillion quantum gate operations.
引用
收藏
页码:445 / 456
页数:12
相关论文
共 53 条
[1]  
[Anonymous], P 14 INT C ARCH SUPP
[2]  
[Anonymous], MICROWAVE CONTROL EL
[3]  
[Anonymous], FIPS PUB
[4]  
[Anonymous], 1996, P 28 ANN ACM S THEOR
[5]  
[Anonymous], QUANTPH0610063 ARXIV
[6]  
[Anonymous], P 48 ANN IEEE S FDN
[7]  
[Anonymous], P 34 ANN INT S COMP
[8]  
[Anonymous], P SPIE DEF SEC S ORL
[9]  
[Anonymous], STOC
[10]  
[Anonymous], P 36 ANN INT S COMP