Supercharge Your Innovation With Domain-Expert AI Agents!

Code conversion method and device, electronic equipment and storage medium

A code conversion and code technology, applied in the computer field, can solve problems such as the inability to control quantum computing equipment, and the inability to control quantum computing equipment.

Active Publication Date: 2021-12-10
CHINAINSTRU & QUANTUMTECH (HEFEI) CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

IBM's open-source QISKit provides a variety of quantum computing process description schemes. For example, the OpenPulse scheme is based on pulse waveforms. However, the code corresponding to the OpenPulse scheme code cannot be used to control quantum computing equipment, and there are codes that cannot be based on the OpenPulse scheme. The technical problem of controlling quantum computing devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code conversion method and device, electronic equipment and storage medium
  • Code conversion method and device, electronic equipment and storage medium
  • Code conversion method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flow chart of a code conversion method provided by Embodiment 1 of the present invention. This embodiment is applicable to the control of each waveform output channel of each quantum computing device through the basic waveform code, so that each waveform output channel of each quantum device outputs In the case of a waveform, the method can be executed by a code conversion device, which can be realized by software and / or hardware, and can be integrated into electronic equipment such as a computer or a server.

[0028] Such as figure 1 As shown, the method of the present embodiment includes:

[0029] S110. Obtain an implementation class of the quantum computing process description scheme to be converted, and create a quantum computing process description scheme object to be converted based on the implementation class of the quantum computing process description scheme to be converted.

[0030] Wherein, the realization class of the quantum com...

Embodiment 2

[0071] figure 2 It is a schematic flow chart of a code conversion method provided in Embodiment 2 of the present invention. On the basis of the foregoing embodiments, optionally, the output waveform of each waveform output channel of each quantum device controlled based on the basic waveform code includes: For each waveform output channel, determine the channel occupancy time of the waveform output channel according to each waveform output start moment of the waveform output channel; generate a waveform control code based on the channel occupancy time and the basic waveform code, and based on the The waveform control code controls the output waveform of the waveform output channel.

[0072] Optionally, the method further includes: for a single quantum computing device, respectively determining the latest waveform output start moment corresponding to each waveform output channel, and the latest waveform output start moment among the latest waveform output start moments. The l...

Embodiment 3

[0101] image 3 It is a schematic structural diagram of a code conversion device provided by Embodiment 3 of the present invention. The present invention provides a code conversion device, which includes: an object creation module 310, an instruction data traversal module 320, a data split processing module 330, and a waveform code Module 340 is obtained.

[0102] Wherein, the object creation module 310 is used to obtain the implementation class of the quantum computing process description scheme to be converted, and create the quantum computing process description scheme object to be converted based on the realization class of the quantum computing process description scheme to be converted;

[0103] The instruction data traversal module 320 is used for traversing multiple pieces of instruction data included in the instruction attribute of the description object of the quantum computing process to be converted, wherein each piece of instruction data is each Operation wavefor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a code conversion method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining an implementation class of a to-be-converted quantum computing process description scheme, and creating a to-be-converted quantum computing process description scheme object; traversing a plurality of pieces of instruction data contained in the instruction attribute of the to-be-converted quantum computing process description scheme object; aiming at each piece of instruction data, performing data splitting processing on the instruction data based on a pre-configured corresponding relationship between quantum computing equipment and waveform output channels, and determining an operation waveform instruction of each waveform output channel of each quantum computing equipment at each waveform output starting moment; and if the operation waveform instruction is an execution instruction, replacing the operation waveform instruction with a basic waveform code corresponding to the execution instruction to obtain the basic waveform code, and enabling each waveform output channel of each quantum device to output the waveform based on the basic waveform code so as to realize the code control quantum computing equipment based on the pulse waveform implementation scheme.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a code conversion method, device, electronic equipment, and storage medium. Background technique [0002] The Quantum Information Software Kit (QISKit) is an open source software development kit (SDK) for using the OpenQASM quantum language and quantum processors within IBM QExperience. QISKit is also an open-source quantum programming framework that provides the basic building blocks needed for quantum programming by building quantum processors on classical computers for research. IBM's open-source QISKit provides a variety of quantum computing process description schemes. For example, the OpenPulse scheme is based on pulse waveforms. However, the code corresponding to the OpenPulse scheme code cannot be used to control quantum computing equipment, and there are codes that cannot be based on the OpenPulse scheme. Technical problems of controllin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/51G06N10/00
CPCG06F8/51G06N10/00
Inventor 刘永磊张俊斌吴亚
Owner CHINAINSTRU & QUANTUMTECH (HEFEI) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More