Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Journal of Software

Processing System of Quantum Programming Language NDQJava

Fangmin Song

Published Mar 11, 2008• 5 citations
Publisher

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.

DOI
10.3724/sp.j.1001.2008.00009

Related papers

Quantum Programming Language NDQJava2 Processing System:Code Converter

Cai Xihu

NDQJava2 language is a hybrid,structured and imperative quantum programming language,which is an extension of NDQJava language with some additional quantum components. The processing system of NDQJava2is a simulative implementation of NDQJava2 on classical computers. This paper describes the code converter of NDQJava2 processing system,and discusses its design and implementation in detail. It adopts top-down and layer-bylayer conversion method,and converts syntax tree into Java code with quantum assembly instructions. Experiments show that the code converter achieves the desired purpose.

Jisuanji kexue yu tansuo•Jan 1, 2013•0 citations

Quantum Programming Language NDQJava2 Processing System: Assembler and Interpreter

Zhu Zhengwen

NDQJava2 is a hybrid, structured and imperative quantum programming language, which is an extension of NDQJava with some additional quantum components, such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module and quantum exception handling mechanism. To execute NDQJava2 programs on a classical computer, this paper gives the design of the basic instruction set and assembly instruction set of a conceivable quantum computer, and the implementation of the corresponding assembler and interpreter. Combined with the other parts of the processing system, the Deutsch algorithm is verified. Experiments show that the assembler and interpreter achieve the desired purpose.

Jisuanji kexue yu tansuo•Jan 1, 2013•0 citations

Quantum Programming Language NDQJava2 Processing System: Lexical Analyzer and Syntactic Analyzer

Cheng Zhenwe

NDQJava2 is a hybrid, structured and imperative quantum programming language, which is an extension of NDQJava with some additional quantum components, such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module and quantum exception handling mechanism. After briefly stating the NDQJava2 processing system, this paper focuses on the lexical analyzer and the syntactic analyzer, which uses direct steering method for lexical analysis, identifies the words then generates a sequence of words, uses recursive subroutine method for syntax analysis, generates syntax tree. The example shows that the result of this process is correct,fulfills lexical analysis and syntax analysis tasks.

Jisuanji kexue yu tansuo•Jan 1, 2013•0 citations

Quantum Programming Language NDQJava-2

Ling Liu, Jiafu Xu

This paper presents an overview of a quantum programming language NDQJava-2.NDQJava-2 is an extension of NDQJava with additional quantum components such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module, and quantum exception handling mechanism.The added commponents make NDQJava-2 a structured quantum programming language.Experience in writing quantum programs indicates that compared with NDQJava, NDQJava-2 is a more practical, more readable and more suitable (components setting) quantum programming language.

Journal of Software•Jun 23, 2011•0 citations

Quantum Programming Language NDQJava-2

Xu Jia

This paper presents an overview of a quantum programming language NDQJava-2.NDQJava-2 is an extension of NDQJava with additional quantum components such as quantum conditional statement,quantum loop statement,quantum subprogram,quantum module,and quantum exception handling mechanism.The added commponents make NDQJava-2 a structured quantum programming language.Experience in writing quantum programs indicates that compared with NDQJava,NDQJava-2 is a more practical,more readable and more suitable(components setting) quantum programming language.

•Jan 1, 2008•4 citations

QJava: A Monadic Java Library for Quantum Programming

Juliana Kaizer Vizzotto, Bruno Crestani Calegaro

To help the understanding and development of quantum algorithms there is an effort focused on the investigation of new semantic models and programming languages for quantum computing. Researchers in computer science have the challenge of deve loping programming languages to support the creation, analysis, modeling and simulation of high level quantum algorithms. Based on previous works that use monads inside the programming language Haskell to elegantly explain the odd characteristics of quantum computation (like superposition and entanglement), in this work we present a monadic Java library for quantum programming. We use the extension of the programming language Java called BGGA Closure, that allow the manipulation of anonymous functions (closures) inside Java. We exemplify the use of the library with an implementation of the Toffoli quantum circuit.

Revista de Informática Teórica e Aplicada•May 18, 2015•2 citations
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.
NDQJava2 language is a hybrid,structured and imperative quantum programming language,which is an extension of NDQJava language with some additional quantum components. The processing system of NDQJava2is a simulative implementation of NDQJava2 on classical computers. This paper describes the code converter of NDQJava2 processing system,and discusses its design and implementation in detail. It adopts top-down and layer-bylayer conversion method,and converts syntax tree into Java code with quantum assembly instructions. Experiments show that the code converter achieves the desired purpose.
NDQJava2 is a hybrid, structured and imperative quantum programming language, which is an extension of NDQJava with some additional quantum components, such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module and quantum exception handling mechanism. To execute NDQJava2 programs on a classical computer, this paper gives the design of the basic instruction set and assembly instruction set of a conceivable quantum computer, and the implementation of the corresponding assembler and interpreter. Combined with the other parts of the processing system, the Deutsch algorithm is verified. Experiments show that the assembler and interpreter achieve the desired purpose.
NDQJava2 is a hybrid, structured and imperative quantum programming language, which is an extension of NDQJava with some additional quantum components, such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module and quantum exception handling mechanism. After briefly stating the NDQJava2 processing system, this paper focuses on the lexical analyzer and the syntactic analyzer, which uses direct steering method for lexical analysis, identifies the words then generates a sequence of words, uses recursive subroutine method for syntax analysis, generates syntax tree. The example shows that the result of this process is correct,fulfills lexical analysis and syntax analysis tasks.
This paper presents an overview of a quantum programming language NDQJava-2.NDQJava-2 is an extension of NDQJava with additional quantum components such as quantum conditional statement, quantum loop statement, quantum subprogram, quantum module, and quantum exception handling mechanism.The added commponents make NDQJava-2 a structured quantum programming language.Experience in writing quantum programs indicates that compared with NDQJava, NDQJava-2 is a more practical, more readable and more suitable (components setting) quantum programming language.
This paper presents an overview of a quantum programming language NDQJava-2.NDQJava-2 is an extension of NDQJava with additional quantum components such as quantum conditional statement,quantum loop statement,quantum subprogram,quantum module,and quantum exception handling mechanism.The added commponents make NDQJava-2 a structured quantum programming language.Experience in writing quantum programs indicates that compared with NDQJava,NDQJava-2 is a more practical,more readable and more suitable(components setting) quantum programming language.
To help the understanding and development of quantum algorithms there is an effort focused on the investigation of new semantic models and programming languages for quantum computing. Researchers in computer science have the challenge of deve loping programming languages to support the creation, analysis, modeling and simulation of high level quantum algorithms. Based on previous works that use monads inside the programming language Haskell to elegantly explain the odd characteristics of quantum computation (like superposition and entanglement), in this work we present a monadic Java library for quantum programming. We use the extension of the programming language Java called BGGA Closure, that allow the manipulation of anonymous functions (closures) inside Java. We exemplify the use of the library with an implementation of the Toffoli quantum circuit.