Content area

Abstract

The emergence of quantum computing raises the question of how to identify (security-relevant) programming errors during development. However, current static code analysis tools fail to model information specific to quantum computing. In this paper, we identify this information and propose to extend classical code analysis tools accordingly. Among such tools, we identify the Code Property Graph to be very well suited for this task as it can be easily extended with quantum computing specific information. For our proof of concept, we implemented a tool which includes information from the quantum world in the graph and demonstrate its ability to analyze source code written in Qiskit and OpenQASM. Our tool brings together the information from the classical and quantum world, enabling analysis across both domains. By combining all relevant information into a single detailed analysis, this powerful tool can facilitate tackling future quantum source code analysis challenges.

Details

1009240
Identifier / keyword
Title
A Uniform Representation of Classical and Quantum Source Code for Static Code Analysis
Publication title
arXiv.org; Ithaca
Publication year
2023
Publication date
Dec 12, 2023
Section
Computer Science
Publisher
Cornell University Library, arXiv.org
Source
arXiv.org
Place of publication
Ithaca
Country of publication
United States
University/institution
Cornell University Library arXiv.org
e-ISSN
2331-8422
Source type
Working Paper
Language of publication
English
Document type
Working Paper
Publication history
 
 
Online publication date
2023-12-13
Milestone dates
2023-08-11 (Submission v1); 2023-12-12 (Submission v2)
Publication history
 
 
   First posting date
13 Dec 2023
ProQuest document ID
2850388779
Document URL
https://www.proquest.com/working-papers/uniform-representation-classical-quantum-source/docview/2850388779/se-2?accountid=208611
Full text outside of ProQuest
Copyright
© 2023. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2023-12-14
Database
ProQuest One Academic