Font Size: a A A

Design And Research Of Quantum Communication Protocol Based On DSL

Posted on:2022-02-27Degree:MasterType:Thesis
Country:ChinaCandidate:C C HuFull Text:PDF
GTID:2480306326997379Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of quantum communication technology in recent years,a large number of communication protocols based on quantum characteristics have been designed and proposed.Due to the limitations of experimental conditions and equipment,most researchers in the quantum field need to use classical computers to simulate and simulate related protocols.This requires communication between the researchers and the development team,but sometimes due to unclear requirements or too professional expertise,There are major communication problems,which reduces the work efficiency of developers and researchers.In order to solve the above problems,based on the Xtext plug-in in the Eclipse development environment,this article uses the Ecore model-driven development method to design and implement a domain-specific language QDSL(Quantum Domain Specific Language)describing the quantum communication protocol.QDSL is designed and developed based on the principle of quantum communication protocol,which provides a more efficient choice for the simulation of quantum communication protocol.This thesis designs and implements a domain-specific language(QDSL)describing quantum communication protocols.The main function of this language is to simulate quantum communication protocols.1)According to the execution process of the quantum communication protocol,realize the simulation of BB84 protocol,B92 protocol and other quantum communication protocols through Java language,and encapsulate the Java implementation classes in the simulation process for QDSL to call to reduce the language scale and grammatical complexity.2)It analyzes the domain characteristics of the principle of the quantum communication protocol,extracts the domain Ecore meta-model through the domain characteristics,and uses the EMF(Eclipse Modeling Framework)modeling framework to construct the domain meta-model of the quantum communication protocol.According to the built EMF framework,the EBNF grammar rule paradigm of QDSL is independently designed,and the grammar realization of QDSL is completed through the Xtext language development plug-in.3)Design and implement a code generator and a grammar checker that match the QDSL grammar rules.The grammar checker mainly completes the type checking and type matching functions of the source code,and checks the prescribed grammar rules to avoid possible grammatical errors during the development process and improve development efficiency.The code generator can map QDSL code to Java code,and realize the conversion from domain-specific language to general assembly language.Through the protocol comparison experiment,the designed QDSL and Java,C++,Python are compared and evaluated in terms of basic(including abstraction,functionality,and simplicity)and the accuracy of protocol simulation.The experimental results show that compared with the commonly used programming language QDSL,it is easier to learn and easy to use,and the amount of code required for higher development efficiency is less,and the simulation results are basically the same as the theoretical results,verifying the accuracy of QDSL simulation.It shows that QDSL is a high-efficiency quantum communication protocol simulation solution,which has certain engineering application value and research significance.
Keywords/Search Tags:Domain Specific Language, Quantum Communication Protocol, Xtext, EBNF Paradigm, Domain Meta-model
PDF Full Text Request
Related items