Unlock instant, AI-driven research and patent intelligence for your innovation.

Quantum program running method and device, storage medium and electronic device

A program operation and subprogram technology, applied in the field of quantum computers, can solve problems such as the limited speed of quantum program operation, the reduction of quantum program operation efficiency, and the increase of quantum program complexity, so as to reduce the error rate, improve the quantum operation efficiency, The effect of increasing the running speed

Active Publication Date: 2019-03-01
HEFEI ORIGIN QUANTUM COMP TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A quantum program may contain tens of thousands of quantum logic gates with multiple operating bits. As the number of operating bits contained in the quantum program increases, the complexity of the quantum program increases, and the speed at which the quantum program runs will be limited. Error rates will increase, reducing the efficiency of quantum programs

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
  • Quantum program running method and device, storage medium and electronic device
  • Quantum program running method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] The method embodiment provided in this embodiment can be executed in a computer terminal or similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structure block diagram of a computer terminal of a quantum program running method in an embodiment of the present application. Such as figure 1 As shown, the computer terminal 10 may include one or more ( figure 1 Only one is shown in) the processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned computer terminal is also It may include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand, figure 1 The structure shown is only for illustration, and it does not limit the structure of the foregoing computer terminal. For example, the comp...

Embodiment 2

[0110] In this embodiment, a quantum program running device is provided, and the device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, hardware or a combination of software and hardware is also possible and conceived.

[0111] The quantum program running device includes:

[0112] The first acquisition module is used to acquire a quantum program;

[0113] The first processing module is configured to sort the obtained quantum logic gates of the quantum program to obtain the sorted quantum program;

[0114] The first search module is used to search for specific quantum circuits in the sorted quantum program according to the database;

[0115] The first calling and running module i...

Embodiment 3

[0118] The embodiment of the present application also provides a storage medium. Optionally, in this embodiment, the foregoing storage medium may be configured to store program code for executing the following steps:

[0119] Step S1: Obtain the quantum program;

[0120] Step S2: sort the quantum logic gates of the quantum program to obtain a sorted quantum program;

[0121] Step S3: Search the specific quantum circuit existing in the sorting quantum program according to the database;

[0122] Step S4: Call the running result of the specific quantum circuit stored in the database, and run the sorting quantum program.

[0123] Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic Various media that can store program codes, such as discs or optical discs. Exemplarily, the foregoing storage medium is preferably a read-o...

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 invention discloses a quantum program running method and device, a storage medium and an electronic device. Sequencing the quantum logic gates of the quantum programs to obtain sequenced quantum programs; Searching a specific quantum circuit existing in the sorted quantum program according to a database; the operation results of the particular quantum circuit stored in the database are invokedand the sorting quantum program is run. BACKGROUND OF THE INVENTION by rank that quantum programs to be run, so that certain quantum circuits exist in the ordering quantum program, These specific quantum circuits are commonly recorded in databases, Then, the specific quantum circuit existing in the sorting quantum program is searched according to the database, the running result of the specific quantum circuit stored in the database is called, and the sorting quantum program is run, thereby achieving the effect of degenerate quantum calculation, reducing the error rate, and improving the running speed to improve the quantum running efficiency.

Description

Technical field [0001] The invention belongs to the technical field of quantum computers, in particular to a quantum program running method and device, storage medium and electronic device. Background technique [0002] Quantum computers have the ability to process mathematical problems more efficiently than ordinary computers. For example, they can accelerate the time to crack RSA keys from hundreds of years to several hours, so it has become a key technology under research. However, the prototype of quantum computers at this stage has a small number of qubits, and the actual processing speed is not as fast as classical computers. [0003] To solve this problem, people use quantum virtual machines to predict the behavior of quantum computers. This method is usually used to verify the correctness of quantum algorithms or quantum computer behaviors, and to guide the design of quantum algorithms and quantum computers. The quantum virtual machine is a simulation of the product of the...

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): G06N10/00G06F16/9032
Inventor 张嵩昊窦猛汉
Owner HEFEI ORIGIN QUANTUM COMP TECH CO LTD