| 摘要: |
| 简要介绍了量子程序设计语言NDQJava的一个处理系统.其特点是:程序中经典部分之处理借助Java系统,着重考虑量子部分之处理.该处理系统遵循编译-解释的途径,由词法分析程序、语法分析与代码转换程序以及量子汇编与解释程序3部分组成.文末还给出了示例,该系统已于2006年6月底在经典计算机上模拟实现. |
| 关键词: 量子程序设计语言 编译 解释 模拟 词法分析程序 语法分析与代码转换程序 量子汇编与解释程序 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the Natural Science Foundation of Jiangsu Province of China under Grant No.BK2007138 (江苏省自然科学基金) |
|
| Processing System of Quantum Programming Language NDQJava |
|
QIAN Shi-Jun,DAI Jing-An,ZHANG Yun-Jie,XU Jia-Fu
|
| Abstract: |
| This paper describes one of the processing systems for the quantum programming language NDQJava. Its main feature lies that the classical parts of NDQJava programs are processed by the Java processing system, so this effort emphasizes on the processing of program's quantum parts. This processing system follows the compilation-interpretation approach, and it includes lexical analyzer, syntactic analyzer, code transformer, quantum assembler and quantum interpreter. By the end of this paper, some examples are given. The system was implemented by simulation in June 2006 on the classical computer. |
| Key words: quantum programming language compilation interpretation simulation lexical analyzer syntactic analyzer and code transformer quantum assembler and quantum interpreter |