In this work we present an empirical-based comparative analysis of quantum circuit simulators that are implemented using C and Python programming languages, focusing on advanced measurement capabilities with state collapse mechanisms. The simulators support full quantum state evolution and feature our unique contribution that allows both projective (collapsing) and weak (non-collapsing) measurements. Our implementation extends traditional quantum simulation by incorporating flexible measurement schemes that can maintain quantum superposition when desired, enabling the study of quantum trajectories and partial measurements. The C implementation focuses on performance through optimized memory management and efficient tensor contractions. The Python version, while slower, offers better extensibility and seamless integration with existing scientific computing libraries and insightful contributions from the vast community of the language developers. This will facilitate fast prototyping and analysis thereby making the study of quantum simulation more accessible to researchers in the field. Both versions implement identical quantum operations, allowing validation of results across implementations. Our implementation achieves simulation capabilities of up to 29 qubits in C and 20 qubits in Python, with demonstrated zero back-action across weak measurements (0.1–0.5 strength). The direct method shows approximately 30% better performance than the tensor method for larger systems, while maintaining measurement precision with outcome distributions centered at 0.5. Validation through GHZ state preparation demonstrates perfect qubit correlations, confirming reliable quantum state manipulation. Performance benchmarks demonstrate the trade-offs between computational efficiency and development flexibility, providing insights for choosing appropriate tools for different quantum simulation scenarios.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Cross-Platform Analysis of Quantum Circuit Simulators with State Collapse Mechanisms and Back-Action Tracking in C and Python

  • Paul O. Onoja,
  • Seyi Tope Ogunji,
  • Moises Sanchez-Adame,
  • Oscar Montiel,
  • Ushnik Nath,
  • Lubna M Siddiqui,
  • Fernando Alonso Morquecho Lara

摘要

In this work we present an empirical-based comparative analysis of quantum circuit simulators that are implemented using C and Python programming languages, focusing on advanced measurement capabilities with state collapse mechanisms. The simulators support full quantum state evolution and feature our unique contribution that allows both projective (collapsing) and weak (non-collapsing) measurements. Our implementation extends traditional quantum simulation by incorporating flexible measurement schemes that can maintain quantum superposition when desired, enabling the study of quantum trajectories and partial measurements. The C implementation focuses on performance through optimized memory management and efficient tensor contractions. The Python version, while slower, offers better extensibility and seamless integration with existing scientific computing libraries and insightful contributions from the vast community of the language developers. This will facilitate fast prototyping and analysis thereby making the study of quantum simulation more accessible to researchers in the field. Both versions implement identical quantum operations, allowing validation of results across implementations. Our implementation achieves simulation capabilities of up to 29 qubits in C and 20 qubits in Python, with demonstrated zero back-action across weak measurements (0.1–0.5 strength). The direct method shows approximately 30% better performance than the tensor method for larger systems, while maintaining measurement precision with outcome distributions centered at 0.5. Validation through GHZ state preparation demonstrates perfect qubit correlations, confirming reliable quantum state manipulation. Performance benchmarks demonstrate the trade-offs between computational efficiency and development flexibility, providing insights for choosing appropriate tools for different quantum simulation scenarios.