计算机科学 > 程序设计语言
[提交于 2024年6月28日]
标题:Dataflow-Based Optimization for Quantum Intermediate Representation Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper proposes QDFO, a dataflow-based optimization approach to Microsoft QIR. QDFO consists of two main functions: one is to preprocess the QIR code so that the LLVM optimizer can capture more optimization opportunities, and the other is to optimize the QIR code so that duplicate loading and constructing of qubits and qubit arrays can be avoided. We evaluated our work on the IBM Challenge Dataset, the results show that our method effectively reduces redundant operations in the QIR code. We also completed a preliminary implementation of QDFO and conducted a case study on the real-world code. Our observational study indicates that the LLVM optimizer can further optimize the QIR code preprocessed by our algorithm. Both the experiments and the case study demonstrate the effectiveness of our approach.
提交历史
来自:Junjie Luo[v1] 2024年6月28日 星期五 01:13:16 UTC