Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/87736
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor洪士灝zh_TW
dc.contributor.advisorShih-Hao Hongen
dc.contributor.author徐乃威zh_TW
dc.contributor.authorNai-Wei Hsuen
dc.date.accessioned2023-07-19T16:11:57Z-
dc.date.available2023-11-09-
dc.date.copyright2023-07-19-
dc.date.issued2023-
dc.date.submitted2023-06-16-
dc.identifier.citation[1] Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators. https://github.com/quantumlib/Cirq.
[2] DRAM HX436C18FB3K2/64. https://amazon.com/dp/B089QV3HX2.
[3] Ibm quantum composer. https://quantum-computing.ibm.com/composer/.
[4] NVM Express. 2021. NVM Express over Fabric 1.1a. Retrieved from. https://nvm-express.org/specifications/.
[5] NVMe SSD SFYRD/2000G. https://amazon.com/dp/B09K36S11S.
[6] pread(2) - Linux manual page. https://linux.die.net/man/2/pread.
[7] A quantum computer is the ultimate black box. our quantum user interface is here to help. https://qui.research.unimelb.edu.au/.
[8] Quirk is a toy quantum circuit simulator, intended to help people in learning about quantum computing. https://github.com/Strilanc/Quirk.
[9] The OpenMP API specification for parallel programming specification. https://www.openmp.org/.
[10] T. Alexander, N. Kanazawa, D. J. Egger, L. Capelluto, C. J. Wood, A. Javadi-Abhari, and D. C. McKay. Qiskit pulse: programming quantum computers through the cloud with pulses. Quantum Science and Technology, 5(4):044006, aug 2020.
[11] M.-D. Choi. Completely positive linear maps on complex matrices. Linear Algebra and its Applications, 10(3):285–290, 1975.
[12] J. Chow, O. Dial, and J. Gambetta. IBM Quantum breaks the 100‑qubit processor barrier. https://research.ibm.com/blog/127-qubit-quantum-processor-eagle.
[13] A. W. Cross, L. S. Bishop, J. A. Smolin, and J. M. Gambetta. Open quantum assembly language, 2017.
[14] T. cuQuantum development team. cuquantum, Apr. 2023. If you use this software, please cite it as below.
[15] H. De Raedt, F. Jin, D. Willsch, M. Willsch, N. Yoshioka, N. Ito, S. Yuan, and K. Michielsen. Massively parallel quantum computer simulator, eleven years later. Computer Physics Communications, 237:47–61, 2019.
[16] K. De Raedt, K. Michielsen, H. De Raedt, B. Trieu, G. Arnold, M. Richter, T. Lippert, H. Watanabe, and N. Ito. Massively parallel quantum computer simulator. Computer Physics Communications, 176(2):121–136, 2007.
[17] V. Gheorghiu. Quantum++: A modern c++ quantum computing library. PLOS ONE, 13(12):e0208073, dec 2018.
[18] Y. Huang and M. Martonosi. Statistical assertions for validating patterns and finding bugs in quantum programs. In Proceedings of the 46th International Symposium on Computer Architecture. ACM, jun 2019.
[19] T. Häner and D. S. Steiger. 0.5 petabyte simulation of a 45-qubit quantum circuit. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. ACM, nov 2017.
[20] T. Jones, A. Brown, I. Bush, and S. Benjamin. Quest and high performance simulation of quantum computers. Scientific Reports, 9, 07 2019.
[21] R. LaRose. Distributed memory techniques for classical simulation of quantum circuits, 2018.
[22] Y. A. Liu, X. L. Liu, F. N. Li, H. Fu, Y. Yang, J. Song, P. Zhao, Z. Wang, D. Peng, H. Chen, C. Guo, H. Huang, W. Wu, and D. Chen. Closing the ”quantum supremacy” gap. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. ACM, nov 2021.
[23] S. A. Metwalli and R. V. Meter. A tool for debugging quantum circuits, 2022.
[24] J. Niwa, K. Matsumoto, and H. Imai. General-purpose parallel simulator for quantum computing. Phys. Rev. A, 66:062317, Dec 2002.
[25] R. Okazai, T. Tabata, S. Sakashita, K. Kitamura, N. Takagi, H. Sakata, T. Ishibashi, T. Nakamura, and Y. Ajima. Supercomputer Fugaku CPU A64FX Realizing High Performance, High Density Packaging, and Low Power Consumption. https://www.fujitsu.com/global/documents/about/resources/publications/technicalreview/2020-03/article03.pdf.
[26] D. Park, H. Kim, J. Kim, T. Kim, and J. Lee. Snuqs: Scaling quantum circuit simulation using storage devices. In Proceedings of the 36th ACM International Conference on Supercomputing, ICS ’22, New York, NY, USA, 2022. Association for Computing Machinery.
[27] K. D. Raedt, K. Michielsen, H. D. Raedt, B. Trieu, G. Arnold, M. Richter, T. Lippert, H. Watanabe, and N. Ito. Massively parallel quantum computer simulator. Computer Physics Communications, 176(2):121–136, jan 2007.
[28] K. D. Raedt, K. Michielsen, H. D. Raedt, B. Trieu, G. Arnold, M. Richter, T. Lippert, H. Watanabe, and N. Ito. Massively parallel quantum computer simulator. Computer Physics Communications, 176(2):121–136, jan 2007.
[29] E. Roloff, M. Diener, E. D. Carreño, F. B. Moreira, L. P. Gaspary, and P. O. Navaux. Exploiting price and performance tradeoffs in heterogeneous clouds. In Companion Proceedings of The10th International Conference on Utility and Cloud Computing, UCC ’17 Companion, page 71–76, New York, NY, USA, 2017. Association for Computing Machinery.
[30] M. Smelyanskiy, N. P. D. Sawaya, and A. Aspuru-Guzik. qhipster: The quantum high performance software testing environment, 2016.
[31] D. S. Steiger, T. Häner, and M. Troyer. ProjectQ: an open source software framework for quantum computing. Quantum, 2:49, jan 2018.
[32] A. Suau, G. Staffelbach, and A. Todri-Sanial. qprof: a gprof-inspired quantum profiler, 2021.
[33] D. B. Trieu. Large-Scale Simulations of Error-Prone Quantum Computation Devices. Dr. (univ.), Universität Wuppertal, Jülich, 2009. Record converted from VDB: 12.11.2012; Universität Wuppertal, Diss., 2009.
[34] C.-H. Wu, C.-Y. Hsieh, J.-Y. Li, and J. C.-M. Li. qatg: Automatic test generation for quantum circuits. In 2020 IEEE International Test Conference (ITC), pages 1–10, 2020.
-
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/87736-
dc.description.abstract隨著量子運算發展出解決各式應用的方法與軟硬體快速地發展, 許多具有高度平行化的量子模擬框架陸續被推出。
量子模擬需要大量的記憶體和計算能力,尤其是當需要模擬的qubit數目非常大時。為了解決這個問題,基於多節點的解決方案被推出以應對大qubit的案例。
然而多節點的模擬意味著使用者除了應付記憶體增加的費用外,還要額外對計算單元進行付費。
這樣的惡性循環使得量子電腦不能被普及到普羅大眾。
在此篇論文,我們提出一個新穎的解決方案,Quokka,緩和上述的額外成本。
Quokka在軟體層面以資料流的角度下去實作,在硬體層面可透過SSD這個特化的硬體來達到最佳的運算效能。
由於資料串流需要更多的調參,我們定義了針對不同硬體做調整的格式並給出如何在特定硬體下做出各種適配的調整。
在我們的實驗中,我們能達到memory-based 版本的0.8倍,並在價格中省下了80 倍預算,這是之前的論文所媲美不了的全新研究。
zh_TW
dc.description.abstractWith the growing demand for quantum computing in a variety of applications, numerous highly parallel quantum circuit simulation (QCS) frameworks have been introduced.
These frameworks utilize multiple machines to provide the memory capacity required for large-scale QCS.
Unfortunately, such approaches are expensive and inefficient as the performance is bounded by the bandwidth of the interconnection network.
In this thesis, we develop a storage-based quantum circuit simulator is proposed to provide a cost-effective alternative to existing memory-based schemes.
To efficiently utilize multicore CPUs and solid-state disk arrays, a qubit representation is developed, together with a threading model, to enable efficient simulation of quantum circuits of different qubit sizes with parameterized configurations. Moreover, several performance issues are addressed by proposed strategies. The experimental results show that the proposed storage-based simulation provides a platform-aware approach to increase the qubit size supported by the simulator. The size of quantum circuit is bounded by the volume sizes of the adopted SSDs and the resulted performance is limited by the maximum bandwidth of the storage system. Thanks to the combination of high capacity, good data bandwidth, and low cost of SSDs, as well as the expandability of I/O devices, our approach provides a cost-effective and flexible solution for large-scale quantum circuit simulation. As a result, the proposed approach reduced costs by 80 times compared to memory-based version.
en
dc.description.provenanceSubmitted by admin ntu (admin@lib.ntu.edu.tw) on 2023-07-19T16:11:57Z
No. of bitstreams: 0
en
dc.description.provenanceMade available in DSpace on 2023-07-19T16:11:57Z (GMT). No. of bitstreams: 0en
dc.description.tableofcontentsContents
Acknowledgements i
摘要 iii
Abstract v
Contents vii
List of Figures ix
List of Tables xi
Chapter 1 Introduction 1
Chapter 2 Background 5
2.1 Quantum Circuit Simulation . . . . . . . . . . . . . . . . . . . . . . 5
2.1.1 State Vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.2 Gate Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.3 Density Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Challenges in Quantum Circuit Simulation . . . . . . . . . . . . . . 8
Chapter 3 Methodology 11
3.1 Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Multithreading and State Files . . . . . . . . . . . . . . . . . . . . . 14
3.3 Data Access Patterns in Parallel Simulation . . . . . . . . . . . . . . 17
3.3.1 Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.2 1-Qubit Gates in Memory-based Simulation . . . . . . . . . . . . . 20
3.3.3 1-Qubit Gates in Storage-based Simulation . . . . . . . . . . . . . . 23
3.4 Extension to Multi-Qubit Gates . . . . . . . . . . . . . . . . . . . . 29
3.5 Performance Optimization Strategies . . . . . . . . . . . . . . . . . 30
3.5.1 Contention for the File Descriptor . . . . . . . . . . . . . . . . . . 30
3.5.2 Choices of Filesystem Formats . . . . . . . . . . . . . . . . . . . . 32
3.5.3 Selection of Configuration Parameters . . . . . . . . . . . . . . . . 32
3.5.4 Reducing Idle Time with Barrier-free State File Parity Index Finder 34
Chapter 4 Evaluation 37
4.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.2 Comparison to Existing Works . . . . . . . . . . . . . . . . . . . . . 38
4.3 Evaluation of Optimization Strategies . . . . . . . . . . . . . . . . . 40
Chapter 5 Conclusion 45
References 47
Appendix A — One-qubit Gate Derivation 53
Appendix B — Gate Transformation 59
B.1 Two-qubit Gate Cases . . . . . . . . . . . . . . . . . . . . . . . . . 59
B.2 Generalized Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
-
dc.language.isoen-
dc.titleQuokka: 基於檔案之量子計算模擬器zh_TW
dc.titleQuokka: a File-based Quantum Computing Simulatoren
dc.typeThesis-
dc.date.schoolyear111-2-
dc.description.degree碩士-
dc.contributor.oralexamcommittee江介宏;涂嘉恒zh_TW
dc.contributor.oralexamcommitteeJie-Hong Roland Jiang;Chia-Heng Tuen
dc.subject.keyword量子計算,量子電路模擬,量子電路模擬器,平行計算,效能分析,zh_TW
dc.subject.keywordQuantum Computing,Quantum Circuit Simulation,Quantum Circuit Simulator,Parallel Computing,Performance Analysis,en
dc.relation.page62-
dc.identifier.doi10.6342/NTU202300661-
dc.rights.note同意授權(全球公開)-
dc.date.accepted2023-06-16-
dc.contributor.author-college電機資訊學院-
dc.contributor.author-dept資訊工程學系-
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-111-2.pdf924.79 kBAdobe PDF檢視/開啟
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved