Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface system used for unifying quantum computers and quantum virtual machines and method

A quantum computer and computer system technology, applied in the field of quantum computing, to achieve the effect of facilitating research and development

Pending Publication Date: 2018-10-12
ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the problem that the existing technology cannot use the quantum instruction set on the quantum computer to realize the quantum program running on the quantum virtual machine, the present invention provides an interface system and method for unifying the quantum virtual machine and the quantum computer, which avoids the inability of the quantum program to The disadvantage of multiplexing on the quantum virtual machine and quantum computer is to realize the decoupling of software and hardware in the development of quantum programs, which is convenient for developers to use quantum virtual machines for development without quantum computers, and after the development of quantum programs is completed, they can Unmodified multiplexing to quantum computers

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
  • Interface system used for unifying quantum computers and quantum virtual machines and method
  • Interface system used for unifying quantum computers and quantum virtual machines and method
  • Interface system used for unifying quantum computers and quantum virtual machines and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] Such as Figure 6 As shown, the method of calling the CPU quantum virtual machine to execute the quantum program based on the unified interface:

[0076] (1) Write a quantum program according to the quantum instruction set;

[0077] (2) Call the loading file interface to analyze the quantum program;

[0078] (3) The interface system will convert the quantum program into a linked list of quantum instructions. If the parsing is successful, the interface will return the number of qubits required by the current quantum program; if unsuccessful, the error type will be returned;

[0079] (4) After the quantum program is successfully analyzed, call the interface for selecting a computing unit, and select the CPU as the computing unit;

[0080] (5) Call the execution interface, use the CPU quantum virtual machine to simulate the quantum program, and return the calculation result after the operation is completed. In the present invention, the user only needs to provide the qu...

Embodiment 2

[0082] Such as Figure 7 As shown, the method of calling the GPU quantum virtual machine to execute the quantum program based on the unified interface:

[0083] (1) Write a quantum program according to the quantum instruction set;

[0084] (2) Call the loading file interface to analyze the quantum program.

[0085] (3) The interface system will convert the quantum program into a linked list of quantum instructions. If the parsing is successful, the interface will return the number of qubits required by the current quantum program; if unsuccessful, the error type will be returned;

[0086] (4) After the quantum program is successfully analyzed, call the interface for selecting a computing unit, and select the GPU as the computing unit;

[0087] (5) Call the execution interface, use the GPU quantum virtual machine to simulate the quantum program, and return the calculation result after the operation is completed. In the present invention, the user only needs to provide the qu...

Embodiment 3

[0089] A method for calling a quantum computer to execute a quantum program based on a unified interface:

[0090] Such as image 3 Fill the instruction flow chart for the interface system, its function is to show the process of the interface system filling the quantum instruction linked list into the memory space specified by the FPGA driver; Figure 4 It is the flowchart of the FPGA driver, which is used to show the process of the FPGA driver reading quantum instructions and controlling the microwave transmitter; Figure 8 An activity diagram for calling a quantum computer to execute a quantum program based on a unified interface;

[0091] (1) Write a quantum program according to the quantum instruction set;

[0092] (2) Call the loading file interface to analyze the quantum program.

[0093] (3) The interface system will convert the quantum program into a linked list of quantum instructions. If the interface is successfully parsed, the number of qubits required by the cu...

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 an interface system used for unifying quantum computers and quantum virtual machines and a method, and belongs to the field of quantum computing. For the problem that the priorart cannot use quantum instruction sets on the quantum computers to realize quantum programs running on the quantum virtual machines, the method respectively provides a CPU quantum-virtual-machine interface class and a GPU quantum-virtual-machine interface class according to computing unit types, and can enable developers to select the different types of quantum virtual machines according to computing resources thereof. According to the scheme, fixed memory space of a classic computer is filled with instructions of operating the quantum computers, and an FPGA drive system can control a microwave transmitter to send corresponding waveforms according to the types of the instructions to achieve the purpose of controlling the quantum computers. The disadvantage that the quantum programs cannot be multiplexed on the quantum virtual machines and the quantum computers is avoided, operations of using the quantum virtual machines for development by the developers on the premise without a quantum computer are facilitated, and programs can be multiplexed to the quantum computers after quantum-program development is complete.

Description

technical field [0001] The invention provides a method for unifying the external interfaces of a quantum computer and a quantum virtual machine, belonging to the field of quantum computing. Background technique [0002] Quantum computers have become a key technology under research because of their ability to deal with mathematical problems more efficiently than ordinary computers, such as accelerating the time to crack RSA keys from hundreds of years to hours. However, the prototypes of quantum computers at this stage have a small number of qubits, and the actual processing speed is not as fast as that of classical computers. In order 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 th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06N99/00G06F9/455G06F15/173
CPCG06F9/45504G06F15/173
Inventor 窦猛汉
Owner ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products