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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com