Parallel experiment execution method, quantum computer and quantum control system
The method for parallel execution of quantum experiments addresses inefficiencies in sequential software execution by merging experiments on a server and executing them simultaneously, enhancing quantum computer efficiency.
Patent Information
- Application Number
- CN202310772092.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-06-27
AI Technical Summary
Existing quantum computing systems require sequential execution of different software programs for measurement and control experiments, leading to inefficiency and reduced execution efficiency.
A method for executing parallel experiments by merging multiple measurement and control experiments into an overall experiment, processed by a server and executed simultaneously by a measurement and control device on a quantum chip.
Improves resource utilization and execution efficiency of quantum computers by enabling parallel execution of experiments, overcoming the inefficiencies of sequential execution.
Smart Images

Figure CN119204238A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum computing technology, and in particular to a method for executing a parallel experiment, a quantum computer and a quantum control system. Background Art
[0002] Quantum computers are physical devices that follow the laws of quantum mechanics to perform high-speed mathematical and logical operations, store and process quantum information. The main characteristics of quantum computers are fast operation speed, strong information processing capabilities, and a wide range of applications. Compared with ordinary computers, the more information is processed, the more advantageous it is for quantum computers to perform operations, and the more accurate the operations can be.
[0003] Quantum chips are to quantum computers what CPUs are to traditional computers. Quantum chips are the core components of quantum computers. With the continuous advancement of research on quantum computing-related technologies, the number of quantum bits on quantum chips is also increasing year by year. It is foreseeable that larger-scale quantum chips will appear in the future, and the number of quantum bits in quantum chips will be greater, and quantum computers will also be equipped with larger-scale quantum chips.
[0004] Before a quantum chip goes online, it is necessary to test various parameters of the quantum chip, and after it goes online, it is necessary to calibrate the quantum chip. These tests and calibration operations require the use of a lot of hardware equipment and software programs to perform corresponding measurement and control experiments on the quantum chip. The measurement and control experiments mentioned here refer to experiments to control and read the quantum bits in the quantum chip. In the prior art, different software programs need to be called for different measurement and control experiments, which is very inefficient and greatly affects the execution efficiency of quantum computers.
[0005] Therefore, it is necessary to propose a solution that can improve the execution efficiency of quantum computers.
[0006] It should be noted that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0007] The purpose of the present invention is to provide a method for executing parallel experiments, a quantum computer and a quantum control system, which are used to solve the problem in the prior art that different software programs need to be called for different measurement and control experiments, which is very inefficient and greatly affects the execution efficiency of the quantum computer.
[0008] In order to solve the above technical problems, the present invention proposes a method for executing a parallel experiment, comprising:
[0009] The user end outputs multiple measurement and control experiments to the server;
[0010] The server compiles the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and outputs the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip;
[0011] The measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
[0012] Optionally, the server will also perform summary processing of various experimental parameters required for the multiple measurement and control experiments and use them as experimental parameters of the overall experiment.
[0013] Optionally, the various experimental parameters required for the multiple measurement and control experiments include: quantum bits involved in the execution, waveform parameters of microwave signals, and hardware device channels.
[0014] Optionally, the measurement and control device also obtains the execution result of the quantum chip and feeds the execution result back to the server.
[0015] Optionally, there are multiple user terminals, and each user terminal outputs a measurement and control experiment to the server.
[0016] Optionally, each user terminal obtains the execution result of the corresponding measurement and control experiment from the server.
[0017] Optionally, the server also performs verification processing on the experimental parameters required for the multiple measurement and control experiments.
[0018] Optionally, the verification process includes determining whether there are common quantum bits or couplers in the multiple measurement and control experiments, and whether the quantum bits involved in executing the measurement and control experiments share a common local oscillator source.
[0019] Based on the same inventive concept, the present invention also proposes a method for executing a parallel experiment, comprising:
[0020] Receive multiple measurement and control experiments from the client;
[0021] Compiling the multiple measurement and control experiments to merge the multiple measurement and control experiments into an integrated experiment;
[0022] The overall experiment is output to a measurement and control device, and the measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are executed in parallel, wherein the measurement and control device is a hardware device for controlling and measuring the quantum chip.
[0023] Based on the same inventive concept, the present invention also proposes a quantum computer, comprising:
[0024] The client is used to output multiple measurement and control experiments to the server;
[0025] A server, configured to compile the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and output the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip;
[0026] The measurement and control device is used to perform corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
[0027] Based on the same inventive concept, the present invention also proposes a quantum control system, characterized in that it uses a method for executing any one of the parallel experiments described above.
[0028] Based on the same inventive concept, the present invention also proposes a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it can implement the execution method of the parallel experiment described in any one of the above-mentioned feature descriptions.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The method for executing parallel experiments proposed by the present invention is that the user terminal outputs multiple measurement and control experiments to the server, the server compiles and processes the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and outputs the overall experiment to the measurement and control device, and the measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are executed in parallel. The solution of the present application effectively solves the problem of executing multiple measurement and control experiments in parallel, which is different from the existing solution that requires the measurement and control experiments to be executed in sequence, effectively improves the resource utilization of the quantum chip, and improves the execution efficiency of the quantum computer to a certain extent.
[0031] The present invention also proposes a method for executing parallel experiments, a quantum computer, a quantum control system, and a readable storage medium, which belong to the same inventive concept as the method for executing parallel experiments and therefore have the same beneficial effects, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a method for executing a parallel experiment proposed for the present invention;
[0033] Figure 2 A schematic flow chart of a method for executing a parallel experiment according to another embodiment of the present invention. DETAILED DESCRIPTION
[0034] The specific implementation of the present invention will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present invention will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in explaining the purpose of the embodiments of the present invention.
[0035] In the description of the present invention, it is necessary to understand that the terms "center", "up", "down", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0036] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0037] Please refer to Figure 1 , an embodiment of the present invention provides a method for executing a parallel experiment, comprising:
[0038] S100: The user terminal outputs multiple measurement and control experiments to the server;
[0039] S200: The server compiles the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and outputs the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip;
[0040] S300: The measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
[0041] The difference from the prior art is that in the execution method of parallel experiments proposed in the embodiment of the present invention, the user terminal outputs multiple measurement and control experiments to the server, the server compiles and processes the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and outputs the overall experiment to the measurement and control device, and the measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are executed in parallel. The solution of the present application effectively solves the problem of executing multiple measurement and control experiments in parallel, which is different from the existing solution that requires the measurement and control experiments to be executed in sequence, effectively improving the resource utilization of the quantum chip and improving the execution efficiency of the quantum computer to a certain extent.
[0042] For some quantum computers currently available on the market, most of them use a combination of a host computer, a quantum control system, and a quantum chip to implement some quantum computing tasks. Generally, the host computer receives the user's quantum computing task, processes the quantum computing task and forms a quantum circuit, and then maps the quantum circuit to the topological structure of the corresponding quantum chip. The quantum circuit contains the quantum logic gates required for this quantum computing task, the measurement operation of the final quantum computing result, and the timing of each operation. When the quantum control system receives the information contained in the quantum circuit, it will convert this information into corresponding instructions so that the corresponding hardware device can operate and complete the quantum computing task. Among them, the quantum control system includes a software system and a hardware system. The software system of the quantum control system is used to compile and process the user tasks (including but not limited to test tasks, calibration tasks, and other measurement and control experiments) transmitted from the host computer, and convert the corresponding user tasks into a language that the hardware system can recognize, so that the hardware system generates corresponding control signals and achieves the purpose of operating and controlling the quantum chip. It should be noted that in this embodiment, the parallel experiment is a measurement and control experiment performed by multiple quantum bits at the same time.
[0043] Considering that the general measurement and control experiments in the current quantum control system software system can only perform specific measurement and control experiments on a certain quantum bit or coupler in the quantum chip, if you want to perform measurement and control experiments on multiple quantum bits or couplers at the same time, you can only do it by rewriting a new experiment class. In terms of sending experimental parameters, you need to add additional scanning channels and reading channels. In terms of data processing, you need to rewrite the program each time to extract data according to the quantum bit or coupler. You need to rewrite a lot of programs to complete the support for parallel experimental results and data processing, which is very cumbersome. In order to solve these problems, we use the server as the middle layer to compile and process the received multiple measurement and control experiments, that is, the parallel experiments. Specifically, we first design the API for parallel experiments. Considering that the goal of the solution is to maintain the integrity of the original experimental API and provide a convenient API for parallel execution of experiments, we first design a new experimental base class for parallel experiments, `ParalleExperiment`, which accepts a measurement and control experiment list as a parameter, and the experiments in the measurement and control experiment list are still generated in the normal way. Take the first quantum bit Q 1 and the second qubit Q 2 Taking the single-bit characterization RB experiment (Randomized Benchmarking) as an example, we can first generate the first quantum bit Q 1 and the second qubit Q 2Single-bit RB experiment, then set various parameter options of the experiment, and finally, throw the experiment list to the `ParallelExperiment` class to instantiate it. This interface is much simpler than writing a parallel execution script for each experiment before, and this API can be adapted to all measurement and control experiments.
[0044] Specifically, in this embodiment, the server will also perform various experimental parameters required by the multiple measurement and control experiments and summarize them as the experimental parameters of the overall experiment. To do this, we only need to configure the parameter options of each measurement and control experiment, and the server will capture and merge the parameters of each measurement and control experiment into a completed experimental carrier, and uniformly distribute them to the measurement and control device to realize the parallel execution of multiple measurement and control experiments.
[0045] Specifically, in this embodiment, the various experimental parameters required for the multiple measurement and control experiments include: the quantum bits involved in the execution, the waveform parameters of the microwave signal, and the hardware device channels. It can be understood by those skilled in the art that different measurement and control experiments require different experimental parameters, so they need to be selected and set according to actual needs, and are not limited here.
[0046] Specifically, in this embodiment, the measurement and control device also obtains the execution result of the quantum chip and feeds the execution result back to the server.
[0047] Specifically, in this embodiment, there are multiple user terminals, and each user terminal outputs a measurement and control experiment to the server.
[0048] Specifically, in this embodiment, each user terminal obtains the execution result of the corresponding measurement and control experiment from the server.
[0049] Specifically, in this embodiment, the server also performs verification processing on the experimental parameters required for the multiple measurement and control experiments.
[0050] Specifically, in this embodiment, the verification process includes determining whether there are common quantum bits or couplers in the multiple measurement and control experiments, and whether the quantum bits involved in executing the measurement and control experiments share a common local oscillator source.
[0051] Based on the same inventive concept, an embodiment of the present invention further proposes a method for executing a parallel experiment, including:
[0052] S1: Receive multiple measurement and control experiments from the client;
[0053] S2: compiling the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment;
[0054] S3: Outputting the overall experiment to a measurement and control device, which performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are executed in parallel, wherein the measurement and control device is a hardware device for controlling and measuring the quantum chip.
[0055] Based on the same inventive concept, an embodiment of the present invention further proposes a quantum computer, including:
[0056] The client is used to output multiple measurement and control experiments to the server;
[0057] A server, configured to compile the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and output the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip;
[0058] The measurement and control device is used to perform corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
[0059] Based on the same inventive concept, an embodiment of the present invention further proposes a quantum control system, characterized in that it uses a method for executing any one of the parallel experiments described above.
[0060] Based on the same inventive concept, an embodiment of the present invention further proposes a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, it can implement the execution method of the parallel experiment described in any one of the above-mentioned feature descriptions.
[0061] The readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device, such as but not limited to an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination of the above. The more specific example (non-exhaustive list) of the readable storage medium includes: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer program described here can be downloaded from the readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device through a network, such as the Internet, a local area network, a wide area network and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer program from the network and forwards the computer program for storage in a readable storage medium in each computing / processing device. The computer program for performing the operation of the present invention may be an assembly instruction, an instruction set architecture (ISA) instruction, a machine instruction, a machine-dependent instruction, a microcode, a firmware instruction, a state setting data, or a source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The computer program may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by utilizing the state information of a computer program to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute computer-readable program instructions to implement various aspects of the present invention.
[0062] Here, various aspects of the present invention are described with reference to the flowchart and / or block diagram of the method, system and computer program product according to the embodiment of the present invention. It should be understood that each square frame of the flowchart and / or block diagram and the combination of the square frames in the flowchart and / or block diagram can be realized by a computer program. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so as to produce a machine, so that these programs, when executed by the processor of a computer or other programmable data processing device, produce a device for realizing the function / action specified in one or more square frames in the flowchart and / or block diagram. These computer programs can also be stored in a readable storage medium, and these computer programs make the computer, programmable data processing device and / or other equipment work in a specific way, so that the readable storage medium storing the computer program includes a manufactured product, which includes instructions for realizing various aspects of the function / action specified in one or more square frames in the flowchart and / or block diagram.
[0063] The computer program may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are executed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the computer program executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0064] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example" or "specific example" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0065] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.
Claims
1. A method for executing a parallel experiment, characterized in that: include: The user end outputs multiple measurement and control experiments to the server; The server compiles the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and outputs the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip; The measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
2. The method according to claim 1, characterized in that The server will also perform summary processing of various experimental parameters required for the multiple measurement and control experiments and use them as experimental parameters of the overall experiment.
3. The method according to claim 2, characterized in that The various experimental parameters required for the multiple measurement and control experiments include: quantum bits involved in the execution, waveform parameters of microwave signals, and hardware device channels.
4. The method according to claim 1, characterized in that The measurement and control device also obtains the execution result of the quantum chip and feeds the execution result back to the server.
5. The method according to claim 4, characterized in that There are multiple user terminals, and each user terminal outputs a measurement and control experiment to the server.
6. The method according to claim 5, characterized in that Each user terminal obtains the execution result of the corresponding measurement and control experiment from the server.
7. The method according to claim 1, characterized in that The server also performs verification processing on the experimental parameters required by the multiple measurement and control experiments.
8. The method according to claim 7, characterized in that The verification process includes determining whether there are common quantum bits or couplers in the multiple measurement and control experiments, and whether the quantum bits involved in executing the measurement and control experiments share a common local oscillator source.
9. A method for executing a parallel experiment, characterized in that: include: Receive multiple measurement and control experiments from the client; Compiling the multiple measurement and control experiments to merge the multiple measurement and control experiments into an integrated experiment; The overall experiment is output to a measurement and control device, and the measurement and control device performs corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are executed in parallel, wherein the measurement and control device is a hardware device for controlling and measuring the quantum chip.
10. A quantum computer, characterized in that: include: The client is used to output multiple measurement and control experiments to the server; A server, configured to compile the multiple measurement and control experiments to merge the multiple measurement and control experiments into an overall experiment, and output the overall experiment to a measurement and control device, wherein the measurement and control device is a hardware device for controlling and measuring a quantum chip; A measurement and control device is used to perform corresponding operations on the quantum chip based on the received overall experiment so that the multiple measurement and control experiments are performed in parallel.
11. A quantum control system, characterized in that: A method for executing a parallel experiment using any one of claims 1-9.
12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it can implement the method for executing a parallel experiment described in any one of claims 1 to 9.
Citation Information
Patent Citations
High-capacity quantum secret sharing method based on photon orbit angular momentum coding
CN104821875A
Automatic qubit calibration
CN109804387A
Multi-task scheduling method and system under quantum-classical hybrid architecture and quantum computer system architecture
CN113010302A
Quantum chip test method and system, storage medium and quantum computer
CN115409182A
Quantum computing task processing device and method and quantum computer
CN115470926A