Device loading method, device, medium, measurement and control system and quantum computer

CN122905096APending Publication Date: 2026-10-13ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510394533.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

[0007]本申请的目的在于提供一种设备加载方法、装置、介质、测控系统及量子计算机,用于解决现有技术中对量子计算测控系统中功能模块进行初始化时,效率很低的问题,大大提高了初始化效率

Benefits of technology

[0040]本申请先加载内核模块的内外api接口,确保后续可以与其他功能模块以及内部功能结构通信连接,然后对内核的日志实例进行初始化,确保后续可以详细记录内核模块在运行中的各类日志信息,再运行包括预设顺序的加载函数,以按照预设顺序中的初始化的优先级顺序对内模块内部的实例、以及与其他功能模块的通信、绑依次进行了初始,该过程可以依靠加载函数自动执行,自动初始化之后即可执行内核运行函数,以实现内核模块的运行;内核模块的加载过程按照预设的顺序自动初始化,无需人力操作,省事省力,且高效。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122905096A_ABST
    Figure CN122905096A_ABST
Patent Text Reader

Abstract

The application discloses a device loading method and device, medium, measurement and control system and quantum computer, and belongs to the technical field of quantum computing. The device loading method is applied to a kernel module of a quantum measurement and control software system for executing quantum computing task scheduling. The method comprises the following steps: importing and loading api interfaces between the kernel module and other modules in the quantum measurement and control software system and api interfaces of various functional structures in the kernel module; initializing a log instance of the kernel module; starting a loading function, and initializing instance, database cache loading, communication establishment, running maintenance binding and state mode recovery function configurations in the kernel module according to a preset sequence in the loading function; and executing a kernel running function to realize normal running of the kernel module. The loading method is labor-saving and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of quantum computing technology, and in particular to a device loading method, apparatus, medium, measurement and control system, and quantum computer. 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] A quantum computer comprises a quantum chip and a quantum computing control system. The quantum chip is to a quantum computer what a CPU is to a traditional computer; it is the core component of a quantum computer. With the continuous advancement of quantum computing technologies, 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 incorporate larger-scale quantum chips. The realization of quantum computing depends on quantum chips, requiring a quantum computing control system to precisely control and measure the qubits within the quantum chip.

[0004] Before a quantum computer can be put into operation, all functional modules of the quantum computing measurement and control system need to be initialized to ensure that the quantum chip can be manipulated through the quantum computing measurement and control system to carry out various measurement and control experiments. In the existing technology, the initialization of the quantum computing measurement and control system is very inefficient, which greatly affects the execution efficiency of the quantum computer.

[0005] Therefore, a solution is needed to improve the initialization efficiency of functional modules in a quantum computing measurement and control system.

[0006] 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

[0007] The purpose of this application is to provide a device loading method, apparatus, medium, measurement and control system, and quantum computer to solve the problem of low efficiency when initializing functional modules in the quantum computing measurement and control system in the prior art, and to greatly improve the initialization efficiency.

[0008] To solve the above technical problems, the technical solution of this application is as follows:

[0009] The first aspect of this application provides a device loading method, applied to a kernel module in a quantum measurement and control software system that performs quantum computing task scheduling, the method comprising:

[0010] Import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of the various functional structures within the kernel module;

[0011] Initialize the log instance of the kernel module;

[0012] The loading function is started, and the functional configurations of instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery in the kernel module are initialized according to the preset order in the loading function.

[0013] Execute the kernel execution function to enable the kernel module to run normally.

[0014] Optionally, the device loading method described above may initialize the functional configurations of the kernel module, including instance loading, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery, according to a preset order in the loading function.

[0015] Initialize the instance within the kernel module;

[0016] Initialize database cache loading;

[0017] Initialize the communication between the kernel module and the API interface;

[0018] Initialize the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system;

[0019] Initialize the state mode recovery of the kernel module.

[0020] Optionally, in the device loading method described above, the initialization of database cache loading includes:

[0021] Get and configure the task queue, task scheduling type, number of task running threads, and number of task compilations.

[0022] Optionally, in the device loading method described above, the initialization of communication between the kernel module and the API interface includes:

[0023] The API interface binding function is started to perform two-way binding between the kernel module and the API interface of the kernel module.

[0024] Optionally, in the device loading method described above, the initialization of the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system includes:

[0025] The startup loading function causes the kernel module to send a handshake instruction to the operation and maintenance module;

[0026] When the kernel module receives a response from the operation and maintenance module within a preset time, the binding is completed;

[0027] If the kernel module does not receive a response from the operation and maintenance module within a preset time, the kernel module remains in the initialization state and reports an error.

[0028] Optionally, in the device loading method described above, the initialization of the kernel module's state mode recovery includes:

[0029] When the kernel module is shut down, all configuration parameters in the kernel module are cached in the database;

[0030] When the kernel module is reloaded, all configuration parameters stored in the database are loaded to restore the kernel module to its state and mode before it was shut down.

[0031] A second aspect of this application provides a device loading apparatus for a kernel module in a quantum measurement and control software system that performs quantum computing task scheduling. The apparatus includes:

[0032] The API interface loading module is used to import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of various functional structures within the kernel module.

[0033] The first initialization module is used to initialize the log instance of the kernel module;

[0034] The second initialization module is used to start the loading function and initialize the functional configurations of the instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery in the kernel module according to the preset order in the loading function.

[0035] Load the module to execute kernel execution functions to enable the kernel module to run normally.

[0036] A third aspect of this application provides 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 device loading method described in any of the first aspects above to load the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system.

[0037] The fourth aspect of this application provides a quantum computing measurement and control system, including a quantum measurement and control software system, wherein the kernel module of the quantum measurement and control software system that performs quantum computing task scheduling is loaded using the method described in any of the first aspects above.

[0038] The fifth aspect of this application provides a quantum computer, including a quantum computing measurement and control system and a quantum chip. The quantum computing measurement and control system loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system of the quantum computing measurement and control system using the method described in any one of the first aspects, or loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system using the device described in the second aspect above.

[0039] Compared with the prior art, this application has the following beneficial effects:

[0040] This application first loads the internal and external API interfaces of the kernel module to ensure communication and connection with other functional modules and internal functional structures. Then, it initializes the kernel's log instance to ensure detailed recording of various log information during the kernel module's operation. Next, it runs loading functions in a preset order to initialize the instances within the internal module and communication and binding with other functional modules in the preset initialization priority order. This process can be automatically executed by the loading functions. After automatic initialization, the kernel execution function can be executed to realize the operation of the kernel module. The kernel module loading process automatically initializes according to the preset order, requiring no manual operation, saving time and effort, and is highly efficient.

[0041] The device loading apparatus, medium, measurement and control system, and quantum computer proposed in this application belong to the same concept as the initialization method of the quantum computing measurement and control system, and therefore have the same beneficial effects, which will not be elaborated here. Attached Figure Description

[0042] Figure 1 This is a schematic flowchart illustrating a device loading method as exemplified by an embodiment of this application.

[0043] Figure 2 This is a schematic diagram of the structure of a device loading apparatus as an example of an embodiment of this application. Detailed Implementation

[0044] 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.

[0045] 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.

[0046] 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.

[0047] A quantum computer comprises a quantum chip, a quantum computing measurement and control system, and a measurement and control link connecting the quantum chip and the quantum computing measurement and control system. The quantum computing measurement and control system includes hardware equipment (a quantum measurement and control integrated machine) and software (a quantum measurement and control software system). The hardware equipment includes various signal sources, signal acquisition devices, and other electronic devices. These electronic devices can output various control signals to the quantum chip and can also acquire and process the signals output by the quantum chip. The software system is the functional software loaded into a classical computer. This functional software is used to drive and schedule the hardware equipment. These operations are determined according to the specific task to be executed, converting various task requirements into specific operation instructions, and controlling the output and acquisition of the hardware equipment through these operation instructions.

[0048] Each quantum computer includes at least one quantum chip and a corresponding quantum computing measurement and control system. After the quantum chip and quantum computing measurement and control system are loaded, the quantum chip needs to be calibrated and standardized, and the hardware and software systems in the quantum computing measurement and control system also need to be initialized. This application mainly focuses on the initialization of the software system in the quantum computing measurement and control system.

[0049] The software system of the quantum computing measurement and control system not only communicates with the user terminal to receive various tasks issued by the user, but also communicates with the hardware system to compile and process these tasks into various control instructions, which are then sent to the hardware system to control the hardware system to output various measurement and control signals to the quantum chip to execute quantum computing tasks. The software system includes multiple functional modules, such as a task dispatch module, a task scheduling module, an operation and maintenance module, and a data display module. These functional modules typically require initialization and loading operations before starting work; the device loading method provided in this implementation is applied to the kernel module that executes quantum computing task scheduling.

[0050] like Figure 1 As shown, this embodiment provides a device loading method, applied to the kernel module of a quantum measurement and control software system that performs quantum computing task scheduling. The method includes the following steps.

[0051] Step S10: Import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of various functional structures within the kernel module.

[0052] The quantum measurement and control software system (software system) includes multiple functional modules, such as the aforementioned task dispatch module, task scheduling module (kernel module), operation and maintenance module, and data display module. The kernel module communicates with other modules through API (Application Programming Interface).

[0053] In addition, the kernel module also has a multi-layered functional structure, such as a communication layer, a protocol layer, a control layer, and a scheduling layer. The communication layer is responsible for communicating with other modules; the protocol layer is responsible for processing data related to the communication protocol with other modules; the control layer is the central hub of the kernel module, instantiating sub-kernels, interfaces, importing API references and loading caches, bringing together the other layers of the kernel module, providing an execution framework and related kernel operation control interfaces to implement functions such as kernel module initialization process, kernel state, running mode, locking, scheduled tasks, and exception recovery; the scheduling layer is used for task scheduling, providing various task compilation and task scheduling execution modes, as well as verification logic for different quantum measurement and control integrated machines, chips, and tasks.

[0054] Kernel modules also communicate with their internal functional structures via API interfaces. API interfaces are a set of predefined rules and protocols that allow interaction and data sharing between different software systems or components. When a kernel module is loaded, all its API interfaces must first be imported and loaded to ensure proper communication with other functional modules and internal functional structures.

[0055] Step S20: Initialize the log instance of the kernel module.

[0056] Log instances in a kernel module are used to record log information during the kernel module's operation, including error logs, debug logs, operation logs, etc. When initializing a log instance, you can configure the log level, output path, and format, and set the log level to debug mode. This allows for detailed recording of various log information during the kernel module's operation, facilitating subsequent debugging and problem analysis.

[0057] Step S30: Start the loading function and initialize the functional configurations of instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery in the kernel module according to the preset order in the loading function.

[0058] Initialization is also required for each functional structure within the kernel module. In this embodiment, the initialization priority is as follows: instances within the kernel module, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery. Instances within the kernel module mainly refer to instances of functional structures within the kernel module, such as the task queue and resource manager. Database cache loading is mainly used to import and load data related to quantum computing task scheduling from the kernel module's database. Communication establishment establishes communication connections between the kernel module and other external functional modules, facilitating subsequent quantum computing task scheduling. Operation and maintenance binding binds the kernel module to functional modules that monitor and maintain the quantum computing measurement and control system, ensuring that the task scheduling status of the kernel module can be monitored and maintained. State mode recovery saves and restores the kernel module's state and data during shutdown and restart, ensuring that it can be restored to the shutdown state upon restart, improving operational efficiency.

[0059] The initialization order mentioned above is set in the loading function. When the kernel module runs the loading function, it will automatically initialize in the preset order without manual operation, which is convenient, labor-saving and efficient.

[0060] Step S40: Execute the kernel execution function to ensure the normal operation of the kernel module.

[0061] After steps S10-S30 have initialized the kernel module's API interfaces, log instances, internal instances, and communication and binding with other functional modules, the kernel execution functions can be loaded to enable the kernel module to enter normal operation. Both the kernel execution functions and the loading functions use function expressions; the kernel module loads these functions during initialization to implement their respective functionalities.

[0062] This application first loads the internal and external API interfaces of the kernel module to ensure communication and connection with other functional modules and internal functional structures. Then, it initializes the kernel's log instance to ensure detailed recording of various log information during the kernel module's operation. Next, it runs loading functions in a preset order to initialize the instances within the internal module and communication and binding with other functional modules in the preset order of initialization priority. This process can be automatically executed by the loading functions. After automatic initialization, the kernel execution function can be executed to load the kernel module. The kernel module loading process automatically initializes according to the preset order, requiring no manual operation, saving time and effort, and is highly efficient.

[0063] As one implementation method, the functional configurations of instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery within the kernel module are initialized according to the preset order in the loading function, including the following steps.

[0064] Step S301: Initialize instances within the kernel module.

[0065] The kernel module includes multiple functional structures. Based on the parameters in the configuration file, it creates instance objects of each module, such as user management module instance, data processing module instance, task queue, resource manager, etc.

[0066] Step S302: Initialize database cache loading.

[0067] Step S303: Initialize communication between the kernel module and the API interface.

[0068] Step S304: Initialize the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system.

[0069] Step S305: Initialize the state mode recovery of the kernel module.

[0070] As described above, initialization operations are performed sequentially on each functional structure within the kernel module to ensure the correctness of the kernel module's instance configuration, database configuration, communication configuration, operation and maintenance binding, and state mode recovery functions. This is to achieve initialization and establish good communication, which facilitates the subsequent execution of quantum computing task scheduling.

[0071] For example, initializing the database cache loading includes retrieving and configuring the task queue, task scheduling type, number of task running threads, and number of task compilations. Specifically, it loads configuration data of the kernel module and task scheduling from the database server, such as task queue, task scheduling type, number of task running threads, and number of task compilations, and configures this data to facilitate subsequent calls after the kernel module is loaded, thereby improving initialization speed and running efficiency.

[0072] For example, initializing communication between the kernel module and the API interface includes: starting the API interface binding function to perform a two-way binding between the kernel module and its API interface. This two-way binding ensures that functional structures within the kernel module can send data to external functional modules via the API interface, and also receive data from other functional modules via the API interface, ensuring mutual communication and data exchange. This, in turn, ensures the high efficiency of the kernel module during quantum computing task scheduling.

[0073] The operation and maintenance module in the quantum measurement and control software system is used for monitoring and maintaining the operation of the kernel module and other modules. Therefore, the kernel module and the operation and maintenance module need to be bound together to ensure normal communication and achieve the monitoring function. For example, the initialization of the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system includes the following steps: starting the loading function, the kernel module sends a handshake command to the operation and maintenance module; when the kernel module receives a response from the operation and maintenance module within a preset time, the binding is completed; when the kernel module does not receive a response from the operation and maintenance module within the preset time, the kernel module remains in the initialization state and reports an error.

[0074] For example, the preset time can be set to 5 seconds, 6 seconds, or other times. If the kernel module does not receive a response from the running module after the preset time has elapsed after sending the handshake command to the running and maintenance module, then the two modules have not established a correct communication binding. The kernel module will not be able to continue to perform subsequent initialization work and will report an error to facilitate user troubleshooting and handling.

[0075] The quantum computing measurement and control system shuts down when not in use, including its internal hardware and software systems, as is the case with the quantum measurement and control software system in this application. For example, the initialization of the kernel module's state mode recovery includes: when the kernel module is shut down, caching all configuration parameters in the kernel module to a database; and when the kernel module is reloaded, loading all configuration parameters stored in the database to restore the kernel module to its state and mode before shutdown.

[0076] Before a kernel module can operate, it needs to undergo multiple initializations, such as API interfaces, log instances, internal instances, and communication and binding with other functional modules, in order to be able to execute quantum computing task scheduling. Before shutting down, all configuration parameters after initialization can be cached so that when the kernel module is reloaded, the stored configuration parameters can be directly loaded, allowing the kernel module to directly restore to the state and mode before shutdown, avoiding the initialization process again, saving time and improving efficiency.

[0077] like Figure 2As shown, based on the same application concept, this embodiment also provides a device loading apparatus, characterized in that it is applied to the kernel module of a quantum computing task scheduling system in a quantum measurement and control software system. The apparatus includes an API interface loading module, a first initialization module, a second initialization module, and a loading module. Specifically, the API interface loading module is used to import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of various functional structures within the kernel module; the first initialization module is used to initialize the log instance of the kernel module; the second initialization module is used to start the loading function and initialize the functional configurations of the instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery within the kernel module according to the preset order in the loading function; the loading module is used to execute the kernel running function to realize the normal operation of the kernel module.

[0078] The API interface loading module, first initialization module, second initialization module, and loading module in this device can be functional modules integrated into hardware devices or integrated chips such as MCUs, CPUs, or FPGAs. When it is necessary to load the kernel module of the quantum measurement and control software system, they can be initialized sequentially.

[0079] Based on the same concept, this embodiment also provides a readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it can implement the above-described device loading method to load the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system.

[0080] Based on the same application concept, this embodiment also provides a quantum computing measurement and control software system, including a quantum measurement and control software system, wherein the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system is loaded using any of the above-mentioned device loading methods.

[0081] Based on the same concept, this embodiment also provides a quantum computer, including a quantum computing measurement and control system and a quantum chip. The quantum computing measurement and control system loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system using any of the above-described device loading methods, or loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system using the above-described device loading device.

[0082] 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 and forwards a computer program from the network for storage on a readable storage medium within the respective computing / processing device. The computer program used to perform the operations described in 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. Programming languages ​​include object-oriented programming languages—such as Smalltalk, C++, etc.—and conventional procedural programming languages—such as the "C" language or similar programming languages. The computer program can execute 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.

[0083] 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.

[0084] 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.

[0085] 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.

[0086] 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 device loading method, characterized in that, A kernel module applied to a quantum measurement and control software system for scheduling quantum computing tasks, the method comprising: Import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of the various functional structures within the kernel module; Initialize the log instance of the kernel module; The loading function is started, and the functional configurations of instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery in the kernel module are initialized according to the preset order in the loading function. Execute the kernel execution function to enable the kernel module to run normally.

2. The device loading method as described in claim 1, characterized in that, The kernel module's instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery function configurations are initialized according to a preset order in the loading function, including: Initialize the instance within the kernel module; Initialize database cache loading; Initialize the communication between the kernel module and the API interface; Initialize the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system; Initialize the state mode recovery of the kernel module.

3. The device loading method as described in claim 2, characterized in that, The initialization of database cache loading includes: Get and configure the task queue, task scheduling type, number of task running threads, and number of task compilations.

4. The device loading method as described in claim 2, characterized in that, The initialization of communication between the kernel module and the API interface includes: The API interface binding function is started to perform two-way binding between the kernel module and the API interface of the kernel module.

5. The device loading method as described in claim 2, characterized in that, The initialization of the binding between the kernel module and the operation and maintenance module in the quantum measurement and control software system includes: The startup loading function causes the kernel module to send a handshake instruction to the operation and maintenance module; When the kernel module receives a response from the operation and maintenance module within a preset time, the binding is completed; If the kernel module does not receive a response from the operation and maintenance module within a preset time, the kernel module remains in the initialization state and reports an error.

6. The device loading method as described in claim 2, characterized in that, The initialization of the kernel module's state mode recovery includes: When the kernel module is shut down, all configuration parameters in the kernel module are cached in the database; When the kernel module is reloaded, all configuration parameters stored in the database are loaded to restore the kernel module to its state and mode before it was shut down.

7. A device loading apparatus, characterized in that, A kernel module used in a quantum measurement and control software system to perform quantum computing task scheduling, the device comprising: The API interface loading module is used to import and load the API interfaces between the kernel module and other modules in the quantum measurement and control software system, as well as the API interfaces of various functional structures within the kernel module. The first initialization module is used to initialize the log instance of the kernel module; The second initialization module is used to start the loading function and initialize the functional configurations of the instance, database cache loading, communication establishment, operation and maintenance binding, and state mode recovery in the kernel module according to the preset order in the loading function. Load the module to execute kernel execution functions to enable the kernel module to run normally.

8. 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 device loading method of claims 1-6 to load the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system.

9. A quantum computing measurement and control system, characterized in that, The system includes a quantum measurement and control software system, wherein the kernel module of the quantum measurement and control software system that performs quantum computing task scheduling is loaded using the method described in any one of claims 1-6.

10. A quantum computer, characterized in that, The system includes a quantum computing measurement and control system and a quantum chip. The quantum computing measurement and control system loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system using the method described in any one of claims 1-6, or loads the kernel module that performs quantum computing task scheduling in the quantum measurement and control software system using the device described in claim 7.