Quantum calculation measurement and control system, execution method, quantum computer and storage medium
By employing a direct connection between the task control module and the task scheduling module, along with a heartbeat signal synchronization mechanism, in the quantum computing measurement and control system, the problems of database lag and communication delay in multi-threaded task execution were solved, achieving efficient and high-precision quantum computing task execution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-03-10
AI Technical Summary
Existing quantum computing measurement and control systems suffer from database read/write lag, latency, and untimely communication issues when executing multi-threaded tasks, affecting the system's execution efficiency and accuracy.
The task control module and task scheduling module establish a synchronized task state through heartbeat signals, communicate directly, and schedule task threads through task identifiers. They also read task data directly from the task database to drive the quantum control device to execute tasks.
It improves the stability and timeliness of communication, avoids the loss or asynchrony of task information, and ensures the execution efficiency and accuracy of quantum computing tasks.
Smart Images

Figure CN121638495A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of quantum computing technology, and in particular to a quantum computing measurement and control system, execution method, quantum computer and storage medium. Background Technology
[0002] A quantum computer is a physical device that performs high-speed mathematical and logical operations, stores and processes quantum information, following the laws of quantum mechanics. The main characteristics of quantum computers include high operating speed, strong information processing capabilities, and a wide range of applications. Compared to conventional computers, the greater the amount of information processed, the more advantageous it is for quantum computers to perform calculations, and the more accurately the calculations can be ensured.
[0003] Quantum chips are to quantum computers what CPUs are to traditional computers; they are the core components of quantum computers. As research into quantum computing technologies continues to advance, the number of qubits on quantum chips is increasing year by year. It is foreseeable that larger-scale quantum chips will emerge in the future, containing even more qubits, and quantum computers will be equipped with even larger-scale quantum chips.
[0004] Most existing quantum computers on the market employ a combination of a host computer, a quantum computing control system, and quantum chips to perform quantum computing tasks. Typically, the host computer receives the user's quantum computing task, processes it, and forms a quantum circuit. This quantum circuit is then mapped onto the topology of the corresponding quantum chip. The quantum circuit contains the quantum gates required for the task, the measurement operations for the final quantum computing result, and the timing sequence of each operation. Upon receiving this information from the quantum circuit, the quantum computing control system converts it into corresponding instructions to enable the relevant hardware devices to operate and complete the quantum computing task.
[0005] The quantum computing measurement and control system includes a software system and a hardware system. The software system of the quantum computing measurement and control system is used to compile and process user tasks (including but not limited to test tasks, calibration tasks and other measurement and control experiments) from the host computer, and convert the corresponding user tasks into a language that the hardware system can recognize, so that the hardware system can generate corresponding control signals to achieve the purpose of operating and controlling the quantum chip.
[0006] Specifically, a database is set up in the software system for storing user task data. Other functional modules in the software system are also connected through the database for communication, meaning that communication data between other functional modules is also stored and retrieved through the database.
[0007] Therefore, when a quantum computing measurement and control system executes multi-threaded tasks, multiple task processes may read and write to the database, which may cause read / write lag or delays, affecting the communication efficiency and accuracy between multiple functional modules, and thus affecting the efficiency and accuracy of the quantum computing measurement and control system in executing quantum computing tasks.
[0008] Improving the execution efficiency and accuracy of quantum computing measurement and control systems has become an urgent problem to be solved in this field.
[0009] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0010] The purpose of this application is to provide a quantum computing measurement and control system, execution method, quantum computer and storage medium to solve the problem of low efficiency when performing multiple quantum computing tasks in the prior art.
[0011] To address the above technical problems, the first aspect of this application proposes a quantum computing measurement and control system, comprising: a task control module, a task scheduling module and a task database communicatively connected to the task control module, wherein the task control module includes multiple task threads that drive quantum control devices;
[0012] The task scheduling module is used to establish a synchronized task state with the task control module through a heartbeat signal, and to schedule the corresponding task thread in the task control module according to the task identifier sent by the data server in the synchronized task state.
[0013] The task control module is used to obtain task data corresponding to the task identifier from the task database, and drive the quantum control device to control the quantum chip according to the task data through the task thread to execute quantum computing tasks.
[0014] The quantum computing measurement and control system described above may optionally also include:
[0015] The experimental programming module is used to compile the received quantum computing task, obtain the task identifier and task data, and send the task identifier to the data server and the task data to the task database.
[0016] In the quantum computing measurement and control system described above, optionally, the task control module is also used to drive the quantum control device to collect the task results of the quantum chip performing quantum computing tasks and store them in the task database.
[0017] In the quantum computing measurement and control system described above, optionally, the task scheduling module and the task control module communicate with each other through the Router-dealer working mode.
[0018] In the quantum computing measurement and control system described above, optionally, the task scheduling module includes:
[0019] The sending end is used to send connection requests and task identifiers, and respond to the heartbeat signal to establish a synchronized task status with the task control module;
[0020] The monitoring end is used to continuously acquire the heartbeat signal and task status sent by the task control module.
[0021] The task scheduling unit is used to schedule the corresponding task thread in the task control module according to the task identifier sent by the data server during the synchronization task state.
[0022] In the quantum computing measurement and control system described above, optionally, the task control module includes:
[0023] The response end is used to respond to the connection request sent by the sending end, send a heartbeat signal to the listening end, and continuously send heartbeat signals and task status;
[0024] A thread identification unit is used to determine the corresponding task thread number based on the task identifier;
[0025] Multiple task thread units, each corresponding to a task thread number, drive the quantum control device to control the quantum chip based on the task data to execute quantum computing tasks.
[0026] In the quantum computing measurement and control system described above, optionally, when the quantum control device is in an abnormal state, the response end is also used to reject the connection request sent by the sending end.
[0027] A second aspect of this application provides a method for executing a quantum computing task, applied to a quantum computing measurement and control system. The quantum computing measurement and control system includes a task control module, a task scheduling module and a task database communicatively connected to the task control module. The method includes:
[0028] The task scheduling module establishes a synchronized task state with the task control module through a heartbeat signal, and schedules the corresponding task thread in the task control module according to the task identifier sent by the data server in the synchronized task state.
[0029] The task control module obtains task data corresponding to the task identifier from the task database, and drives the quantum control device to control the quantum chip based on the task data through the task thread to execute quantum computing tasks.
[0030] The third aspect of this application provides a quantum computer, including the quantum computing measurement and control system described in any one of the first aspects above, or using the execution method of the second aspect above to run quantum computing tasks.
[0031] A fourth aspect of this application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the execution method of the quantum computing task described in the second aspect above.
[0032] Compared with the prior art, this application has the following beneficial effects:
[0033] In the software system architecture of this application, the task control module and the task scheduling module communicate through a direct connection and use a heartbeat signal to determine the synchronization task status. Once determined, the task identifier can be sent directly to schedule the task threads in the task control module. The communication connection is relatively stable, timely, and efficient, avoiding the loss of task information or asynchrony. The communication accuracy is also relatively high. Then, the task data is read from the task database in the corresponding task thread to drive the quantum control device to execute the quantum computing task, ensuring the efficiency and accuracy of the quantum computing measurement and control system in executing the quantum computing task.
[0034] The quantum computing task execution method, quantum computer, and readable storage medium proposed in this application belong to the same concept as the quantum computing measurement and control system, and therefore have the same beneficial effects, which will not be elaborated here. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the structure of an existing quantum computing measurement and control system, as exemplified by an embodiment of this application.
[0036] Figure 2 This is a schematic diagram of the structure of a quantum computing measurement and control system proposed in an embodiment of this application;
[0037] Figure 3 This is a schematic diagram of the structure of a task scheduling module and a task control module proposed in an embodiment of this application;
[0038] Figure 4 This is a flowchart illustrating a method for executing a quantum computing task according to an embodiment of this application. Detailed Implementation
[0039] The specific embodiments of this application will be described in more detail below with reference to the schematic diagrams. The advantages and features of this application will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of this application.
[0040] In the description of this application, it should be understood that the terms "center", "upper", "lower", "left", "right", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0041] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0042] A quantum computing measurement and control system comprises a software system and a hardware system. The software system processes user tasks (including but not limited to testing tasks, calibration tasks, and other measurement and control experiments) transmitted from the host computer, translating these tasks into a language recognizable by the hardware system. This allows the hardware system to generate corresponding control signals, thereby controlling the quantum chip. The hardware system includes electronic devices such as voltage sources, pulse signal sources, microwave sources, and radio frequency modules. The software system is a functional system implemented using a programming language and integrated into the hardware system or a classical computer.
[0043] Software systems typically include an application layer, a compilation layer, and an execution backend. The execution backend communicates with the compilation layer to obtain the requirements of the quantum computing tasks, quantum circuits, or quantum measurement and control experiments to be executed. On the other hand, it interacts with the hardware system to directly control the operation of the hardware system. All quantum computing tasks, quantum circuits, or quantum measurement and control experiments are converted through this layer into hardware protocols and sent to the hardware system for execution.
[0044] The compilation layer is the core layer of the software system. It is developed using Python programming software and provides a quantum measurement and control experimental programming framework, which includes a basic experimental library for the characterization, calibration, and testing of quantum chips / qubits. According to the experimental needs of the user layer, the required experimental design and programming can be completed through the programming framework and then sent to the execution backend. The execution backend then controls the operation of the hardware system through conversion.
[0045] The application layer, relying on the compilation layer, is primarily user-oriented. Examples include user interface programs or software integrated into host computers or classical computers, providing users with a wide range of operational needs. These user requests are sent to the compilation layer, compiled, and then distributed to the execution backend. The application layer is relatively easy for users to use, greatly improving the characterization, calibration, and testing of quantum chips / quantum ratios.
[0046] like Figure 1 The quantum computing measurement and control system shown is a software architecture designed by the applicant, including a task control module, a task scheduling module, and a database. The database is used for storing user task data, and the task control module and the task scheduling module also interact through database communication. This software architecture includes multiple parallel task threads, which can execute multiple tasks in parallel. During operation, the applicant discovered several defects in this software architecture as described below.
[0047] Firstly, when multiple threads simultaneously read and write to the database, there is a probability that some database requests will stall, affecting both programs. Secondly, due to issues with the database's intermediary platform, communication between the task scheduling module and the task control module is not real-time, resulting in intermediate states. This necessitates the introduction of complex handshake and authentication mechanisms from the outset of the communication design. Furthermore, the hardware system has a very low probability of losing connections between task synchronization information in certain scenarios, such as the initial heartbeat timeout issue. Thirdly, using the database for time-sensitive tasks can easily create performance bottlenecks, causing fluctuations in database request times, with response times reaching minutes, significantly impacting program stability.
[0048] Due to the three reasons mentioned above, when the quantum computing measurement and control system executes multi-threaded tasks, multiple task processes may read and write to the database, which may cause read / write lag or delays, affecting the communication efficiency and accuracy between multiple functional modules, and thus affecting the efficiency and accuracy of the quantum computing measurement and control system in executing quantum computing tasks.
[0049] like Figure 2 The quantum computing measurement and control system shown is a software architecture for a quantum computing measurement and control system provided in this application embodiment, which can solve... Figure 1 The problem of low communication efficiency and accuracy in the software architecture.
[0050] like Figure 2As shown, this embodiment provides a quantum computing measurement and control system, including a task control module, a task scheduling module and a task database communicatively connected to the task control module. The task control module includes multiple task threads that drive quantum control devices. The task scheduling module establishes a synchronized task state with the task control module via a heartbeat signal, and schedules the corresponding task threads in the task control module based on task identifiers sent by a data server during the synchronized task state. The task control module retrieves task data corresponding to the task identifiers from the task database, and drives the quantum control devices (i.e., the hardware system of the quantum computing measurement and control system) to control the quantum chip based on the task data through the task threads, thereby executing quantum computing tasks.
[0051] Specifically, the task control module in the quantum computing measurement and control system of this embodiment includes multiple task threads that drive the quantum control device. Each task thread can be used to drive the quantum control device to execute a quantum computing task. First, the corresponding task thread is determined according to the task identifier. Then, the task thread drives the quantum control device to output control signals or measurement signals to the quantum chip according to the task data, or to collect the signals output by the quantum chip. The task data may include information such as the amplitude, frequency, and phase of the signal.
[0052] When executing quantum computing tasks, the host computer or the aforementioned compilation layer will send the task identifier corresponding to each quantum computing task to the task scheduling module and the task data corresponding to each quantum computing task to the task database. Each quantum computing task has a corresponding task identifier, such as Task 1, Task 2, Task 3, etc. In addition, the task identifier may also include the number of qubits required to execute the quantum computing task. The task data for each task is determined according to user requirements and the quantum computing task or experiment to be executed. The task data may include the signal waveform, signal parameters, and number of repetitions of the microwave signal to be applied to the qubits. The task identifier and task data for each quantum computing task are in one-to-one correspondence.
[0053] Upon receiving the task identifier, the task scheduling module enters a work preparation state and establishes a synchronized task state with the task control module via a heartbeat signal. The heartbeat signal is a small data packet sent periodically from one end of the communication connection to the other, and the response from the other end indicates whether the communication link between the two parties is functioning correctly. In this embodiment, the heartbeat signal ensures a synchronized task state between the task scheduling module and the task control module, facilitating the collaborative execution of quantum computing tasks.
[0054] The task data for the quantum computing task to be executed is still stored in the task database. After the task control module establishes a synchronized task state with the task scheduling module through a heartbeat signal, the task scheduling module determines the corresponding task thread in the task control module based on the task identifier. Then, the task thread retrieves the task data from the task database to drive the quantum control device to execute the quantum computing task.
[0055] Furthermore, in the above description, the task control module, task scheduling module, and task database are all software system components of the quantum computing measurement and control system, and correspond to the execution backend of the aforementioned software system; the task control module includes multiple parallel task threads, each of which can drive the quantum control device.
[0056] Compared to the applicant's design Figure 1 The software system architecture of the quantum computing measurement and control system shown in this application involves direct communication between the task control module and the task scheduling module. A heartbeat signal is used to determine the synchronization task status. Once confirmed, a task identifier is sent directly to schedule the task threads in the task control module. The communication connection is stable, timely, and efficient, avoiding task information loss or asynchrony. The communication accuracy is also high. Task data is then read from the task database in the corresponding task thread to drive the quantum control device to execute the quantum computing task, ensuring the efficiency and accuracy of the quantum computing measurement and control system in executing the quantum computing task.
[0057] like Figure 2 As shown, in this embodiment, the quantum computing measurement and control system also includes an experimental programming module, which is used to compile the received quantum computing task, obtain the task identifier and task data, and send the task identifier to the data server and the task data to the task database.
[0058] Specifically, the experimental programming module can belong to the compilation layer of the quantum computing measurement and control system. It includes a basic experimental library for the characterization, calibration, and testing of quantum chips / qubits; it communicates with the application layer, receives quantum computing tasks issued by users in the application layer, compiles them, and obtains the task identifier and task data for each task.
[0059] Furthermore, in this embodiment, the experimental programming module can also be used directly by the user. By implementing a graphical interface, it directly presents the most intuitive operation interface to technicians or operators, eliminating the need for programming from scratch. The testing and calibration experiments of qubits in the quantum chip, as well as the control of the hardware system, are presented in a specific interface on the terminal, greatly improving the ease of operation, the operability of the quantum computer, and the testing efficiency of the quantum chip.
[0060] In the experimental programming module, users configure the quantum computing tasks to be executed and the various experimental parameters required for those tasks. Generally, a quantum computing task includes several measurement and control experiments, each corresponding to multiple parameters. For example, when the measurement and control experiments required by the quantum computing task include the T1 (energy relaxation time) experiment, the experimental parameters that need to be configured include, but are not limited to: the scan readout delay list, the amplitude of the AC signal applied to the Z-line, etc. When the measurement and control experiments required by the quantum computing task include the T2 (phase relaxation time) experiment, the experimental parameters that need to be configured include, but are not limited to: the scan delay list, the amplitude of the AC signal applied to the Z-line, the limit on the proportion of the fitted T2 result to the maximum scan time, the maximum number of loops, etc. There are many other measurement and control experiments, each with corresponding experimental parameters that need to be configured, which will not be elaborated here.
[0061] Furthermore, the quantum computing measurement and control system of this application includes a data server and a task database. Task data is distributed to the task database by the experimental programming module and stored therein, while task identifiers are registered or distributed to the data server. These task identifiers can be used to mark the storage location of quantum computing tasks within the data server. By employing two separate databases to store task identifiers and task data, the task control module and task scheduling module communicate directly during subsequent execution. The task identifier determines the corresponding task thread in the task control module to execute the task, resulting in high communication efficiency and improving the efficiency of the quantum computing measurement and control system in executing quantum computing tasks.
[0062] In the foregoing embodiments, the task control module is used to drive the quantum control device to output microwave signals corresponding to the task data to execute the quantum computing task; in addition, in this embodiment, the task control module is also used to drive the quantum control device to collect the task results of the quantum chip executing the quantum computing task and store them in the task database.
[0063] Specifically, the quantum control device can integrate not only a DAC (Digital Analog Converter) module to generate corresponding microwave signals based on task data, but also an ADC (Analog Digital Converter) module to acquire the results of the quantum chip's operation. The task control module drives the quantum control device to output microwave signals to execute computations according to the execution timing of each quantum computing task, and acquires the corresponding task results. This ensures that valid task results can be acquired within the decoherence time of the qubits, and the results are stored in the task database for later upload to the user.
[0064] In this embodiment, the task scheduling module and the task control module communicate through the Router-dealer working mode. Router-dealer is the client-server model in the ZeroMQ transport layer architecture. Router and dealer correspond to the task scheduling module and task control module in this embodiment, respectively. Through the Router-dealer working mode, asynchronous information exchange can be achieved, facilitating the interaction of various information between the task scheduling module and the task control module while maintaining synchronous task states, thus improving communication efficiency.
[0065] like Figure 3 As shown in the figure, in one embodiment, the task scheduling module includes a sending end, a listening end, and a task scheduling unit. The sending end is used to send a connection request and a task identifier, and respond to a heartbeat signal to establish a synchronized task state with the task control module. The listening end is used to continuously acquire the heartbeat signal and task state sent by the task control module. The task scheduling unit is used to schedule the corresponding task thread in the task control module according to the task identifier sent by the data server in the synchronized task state.
[0066] Specifically, the task scheduling module, acting as a communication client in the ZeroMQ transport layer architecture, is configured with a sender and a listener based on the communication content. The sender sends connection requests and task identifiers to the task control module and responds to establish a communication connection when the task control module sends a heartbeat signal. The listener continuously acquires heartbeat signals and task statuses from the task control module. Furthermore, the task scheduling module includes a task scheduling unit, which schedules the corresponding task threads within the task control module based on the task identifiers received from the data server while synchronizing task status.
[0067] Continue entering Figure 3 As shown, the corresponding task control module includes a response end, a thread identification unit, and multiple task thread units. The response end is used to respond to the connection request sent by the sending end, send a heartbeat signal to the listening end, and continuously send heartbeat signals and task status. The thread identification unit is used to determine the corresponding task thread number based on the task identifier. The task thread unit corresponding to the task thread number drives the quantum control device to control the quantum chip according to the task data to execute the quantum computing task.
[0068] Specifically, the task control module includes a response end, a thread identification unit, and multiple task thread units that communicate with the sending end and listening end in the task scheduling module. The response end can respond to connection requests sent by the sending end, send heartbeat signals to the listening end, and continuously send heartbeat signals and task status. Each task thread unit can execute a quantum computing task with a task thread number. The thread identification unit is used to identify the corresponding task thread number based on the task identifier and then control the task thread unit corresponding to the task thread number.
[0069] By incorporating multiple communication connection modules within the task scheduling and task control modules, communication of task identifiers, heartbeat signals, and task status is achieved, enabling synchronized task states and collaborative execution of quantum computing tasks. This improves execution efficiency.
[0070] Furthermore, in this embodiment, when the quantum control device is in an abnormal state, the response end is also used to reject the connection request sent by the sender, suspend the workflow of the software system part of the quantum computing measurement and control system, and avoid invalid execution of tasks and waste of resources.
[0071] like Figure 4 As shown, based on the same application concept, this application embodiment also provides a method for executing a quantum computing task, applied to... Figure 2 The quantum computing measurement and control system shown includes a task control module, a task scheduling module and a task database that are communicatively connected to the task control module, and the method includes the following steps.
[0072] Step S10: The task scheduling module establishes a synchronized task state with the task control module through a heartbeat signal, and schedules the corresponding task thread in the task control module according to the task identifier sent by the data server in the synchronized task state.
[0073] Step S20: The task control module obtains the task data corresponding to the task identifier from the task database, and drives the quantum control device to control the quantum chip according to the task data through the task thread to execute the quantum computing task.
[0074] Based on the same concept, embodiments of this application also provide a quantum computer, including the quantum computing measurement and control system of any of the above, or using the above execution method to run quantum computing tasks.
[0075] Based on the same concept, embodiments of this application also provide a readable storage medium storing a computer program thereon, which, when executed by a processor, can implement the above-described method for executing quantum computing tasks.
[0076] A readable storage medium can be a tangible device capable of holding and storing instructions for use by an instruction execution device, such as, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer programs described herein can be downloaded from the readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. Networks can include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. Each computing / processing device's network adapter card or network interface receives the computer program from the network and forwards it for storage on a readable storage medium within the respective computing / processing device. The computer program used to perform the operations of this application can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or 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" or similar languages. The computer program can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing state information from a computer program. These electronic circuits can execute computer-readable program instructions to implement various aspects of this application.
[0077] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, systems, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by a computer program. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. These computer programs can also be stored in a readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the readable storage medium storing the computer program includes an article of manufacture comprising instructions for implementing various aspects of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams.
[0078] A computer program may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the computer program executing on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0079] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," or "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0080] The above are merely preferred embodiments of this application and do not constitute any limitation on this application. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in this application without departing from the scope of the technical solutions of this application shall still fall within the protection scope of this application.
Claims
1. A quantum computing control system, comprising: The task control module comprises a plurality of task threads for driving quantum control devices, and the task scheduling module and the task database are in communication connection with the task control module; The task scheduling module is configured to establish a synchronous task state with the task control module through a heartbeat signal, and schedule a corresponding task thread in the task control module according to a task identifier sent by a data server in the synchronous task state; The task control module is configured to obtain task data corresponding to the task identifier from the task database, and drive quantum control devices to control quantum chips according to the task data through the task thread, so as to execute a quantum computing task.
2. The quantum computing control system of claim 1, wherein, Further comprising: An experiment programming module is configured to compile a received quantum computing task, obtain a task identifier and task data, and distribute the task identifier to the data server and the task data to the task database.
3. The quantum computing control system of claim 1, wherein, The task control module is further configured to drive the quantum control devices to collect task results of quantum computing tasks performed by quantum chips, and store the task results to the task database.
4. The quantum computing control system of claim 1, wherein, The task scheduling module and the task control module are in communication connection through a Router-dealer working mode.
5. The quantum computing control system of claim 4, wherein, The task scheduling module comprises: A sending end configured to send a connection request and a task identifier, and establish a synchronous task state with the task control module in response to the heartbeat signal; A listening end configured to continuously obtain a heartbeat signal and a task state sent by the task control module; A task scheduling unit configured to schedule a corresponding task thread in the task control module according to a task identifier sent by a data server in the synchronous task state.
6. The quantum computing control system of claim 5, wherein, The task control module comprises: A response end configured to respond to a connection request sent by the sending end, and send a heartbeat signal to the listening end, and continuously send a heartbeat signal and a task state; A thread identification unit configured to determine a corresponding task thread number according to the task identifier; A plurality of task thread units, and a task thread unit corresponding to the task thread number drives quantum control devices to control quantum chips according to the task data, so as to execute a quantum computing task.
7. The quantum computing control system of claim 6, wherein, When the quantum control device state is abnormal, the response end is further configured to reject the connection request sent by the sending end.
8. A method of performing a quantum computing task, the method comprising: The quantum computing measurement and control system comprises a task control module, and a task scheduling module and a task database in communication connection with the task control module, and the method comprises: The task scheduling module establishes a synchronous task state with the task control module through a heartbeat signal, and schedules a corresponding task thread in the task control module according to a task identifier sent by a data server in the synchronous task state; The task control module obtains task data corresponding to the task identifier from the task database, and drives quantum control devices to control quantum chips according to the task data through the task thread, so as to execute a quantum computing task.
9. A quantum computer, characterized by The quantum computing measurement and control system of any one of claims 1-7, or the quantum computing task execution method of claim 8.
10. A readable storage medium, having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the quantum computing task execution method of claim 8.