Configuration management method for superconducting quantum regulation and control system and superconducting quantum regulation and control system
Through templated methods and advanced message queue protocols and other technologies, problems such as configuration dispersion and conflict in superconducting quantum regulation systems are solved, and unified configuration interface, real-time synchronization and high scalability are achieved, and system stability and efficiency are improved.
Patent Information
- Application Number
- CN202411626908.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-10-29
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-11-14
AI Technical Summary
The existing superconducting quantum regulation systems have configuration dispersion, lack of unified interfaces, configuration conflicts, configuration synchronization problems, historical configuration tracking difficulties, scalability restrictions, compatibility problems, etc.
Provide a configuration management method, defines the data structure and data constraints of configuration items through templated methods, sets up application program interfaces using advanced message queue remote procedure call protocol, and uses data synchronization middleware technology to synchronize data to realize real-time conflict detection and resolution , uses distributed databases for storage, and provides historical configuration tracking and visualization interfaces.
It realizes unified configuration interface, real-time configuration synchronization, historical configuration tracking, configuration conflict detection and resolution, multi-user and multi-permission management, and high scalability, improving the stability and utilization efficiency of the system and reducing the error rate.
Smart Images

Figure CN119443296A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of quantum information processing, specifically to the technical field of superconducting quantum manipulation systems, and more specifically to a configuration management method for superconducting quantum control systems and a superconducting quantum control system. Background Art
[0002] Current quantum computer systems are developing rapidly, involving complex hardware and software components. These quantum computer systems usually require precise configuration to ensure the accurate operation of quantum bits and the effective execution of quantum algorithms. At present, although the existing technical solutions can realize functions such as classical hardware configuration, quantum hardware configuration, quantum software configuration and system parameter configuration, however, there are still the following problems: configuration dispersion, lack of unified interface, configuration conflict, configuration synchronization problem, difficulty in tracking historical configuration, scalability limitation, compatibility problem, etc. Summary of the invention
[0003] In view of the above problems, the present invention provides a configuration management method for a superconducting quantum control system and a superconducting quantum control system, which are used to solve at least one of the above technical problems.
[0004] According to a first aspect of the present invention, a configuration management method for a superconducting quantum control system is provided, the method comprising:
[0005] Determine the configuration items for managing the superconducting quantum control system based on the property information of the superconducting quantum control system and the user's demand information, and use the template method to define the data structure and data constraints of the configuration items;
[0006] An application programming interface is set up for communication between the superconducting quantum control system and external devices based on the advanced message queue remote procedure call protocol, and the application programming interface is used to manage the operation requests of external devices for configuration items;
[0007] Use data synchronization middleware technology to synchronize configuration items, trace and query historical change information of configuration items through data logs, and manage user permissions in configuration items based on fine-grained permission control mechanisms;
[0008] When multiple users are running multiple tasks, conflict detection is performed on the real-time update process of configuration items, and conflicts encountered in real-time update are handled using preset conflict detection and resolution methods;
[0009] The output data of the superconducting quantum control system is stored using a distributed high-speed cache cluster and a distributed shard replica set cluster non-relational database, and the scalability and compatibility of the superconducting quantum control system are set.
[0010] According to an embodiment of the present invention, the above configuration items include a classical hardware module, a quantum hardware module, quantum software for controlling and managing the quantum hardware module, control parameters of a superconducting quantum control system, and user-set requirement parameters.
[0011] According to an embodiment of the present invention, the above-mentioned application program interface for communication between the superconducting quantum control system and the external device based on the advanced message queue remote procedure call protocol includes:
[0012] Based on the remote procedure call mode of the message-oriented middleware, a unified application program interface is set up, and the unified application program interface is used to manage the communication and data exchange between the superconducting quantum control system and the web client, the quality service client and the preset database.
[0013] According to an embodiment of the present invention, the above-mentioned operations on configuration items include changing operations, deleting operations, adding operations, one-key restore operations, importing and exporting operations, batch creation operations of configuration items, and sharing operations of configuration items with authorized users.
[0014] According to an embodiment of the present invention, the historical change information of the configuration item is traced back and queried through the data log:
[0015] The document type based on binary representation is used to store the data structure of the configuration item, and the historical records and original attributes of the configuration item are stored in a distributed manner;
[0016] When performing a historical range query on a configuration item, a separate historical record collection is used for path matching and then querying. If historical record information is found within the specified request history range, the specified configuration item attributes will be returned. If no historical record information is found within the specified request history, a log message will be prompted.
[0017] According to an embodiment of the present invention, the above-mentioned use of an application program interface to manage an operation request of an external device on a configuration item includes:
[0018] The quality service client in the external device is used to perform permission detection on the operation request for the target configuration item issued by the user, and based on the user permission detection result, the path of the target configuration item in the preset database is detected;
[0019] Based on the detection results, the application program interface is used to detect the operation requests issued by the user for the target configuration items, and the operation requests that meet the requirements are sent to the superconducting quantum control system through the application program interface for execution.
[0020] According to an embodiment of the present invention, in the case where multiple users run multiple tasks, performing conflict detection on the real-time update process of configuration items, and using a preset conflict detection and solution to handle the conflicts encountered in the real-time update includes:
[0021] Based on the multi-concurrency and multi-task requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services;
[0022] Provide node registration, load balancing, request collection, distribution processing and result processing services through the cluster management center;
[0023] By establishing external indexes and using the sub-library and sub-set storage method, operations on configuration items can be implemented.
[0024] The conflicts encountered are handled by calling the transaction support and multi-version concurrency control functions in the distributed shard replica set cluster non-relational database.
[0025] According to an embodiment of the present invention, the above-mentioned setting of the scalability and compatibility of the superconducting quantum control system includes:
[0026] The scalability information and compatibility information of the superconducting quantum control system by the user is sent to the distributed high-speed cache cluster storage through the web client in the external device;
[0027] Using a distributed cache cluster to compare the scalability information and the compatibility information with the stored configuration items, and based on the comparison results, changing the configuration items, and using the changed configuration items to set the superconducting quantum control system;
[0028] Obtain scalability and compatibility information of the superconducting quantum control system, use the horizontal expansion capability of the distributed sharding replica set cluster non-relational database, increase storage capacity and processing power by adding multiple servers, and set the scalability and compatibility of the superconducting quantum control system.
[0029] According to a second aspect of the present invention, a superconducting quantum control system is provided, which is applied to the above configuration management method, characterized in that the system includes: a configuration management module, a directory management module, a batch management module, a template management module and a visualization interface;
[0030] Among them, the superconducting quantum control system uses a unified application program interface based on the advanced message queue protocol to connect with the quality client, web client and preset database respectively;
[0031] Among them, the superconducting quantum control system uses a preset communication mechanism to realize message transmission and data interaction between various modules within the system. The preset communication mechanism includes pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
[0032] According to an embodiment of the present invention, the configuration management module is used to query the configuration items of the superconducting quantum control system, output the historical change information of the configuration items, add configuration items, delete configuration items, and set the attribute information of the configuration items;
[0033] Among them, the directory management module is used to create directories, delete directories, view directories, and copy directories;
[0034] Among them, the batch management module is used for batch importing configuration item parameters, batch exporting configuration item parameters, batch setting configuration item parameters, and batch querying configuration item parameters;
[0035] Among them, the template management module is used to create modules and synchronize modules;
[0036] Among them, the visualization interface includes obtaining configuration items, switching configuration items, and obtaining user quantum computing operations.
[0037] The configuration management method for the superconducting quantum control system provided by the present invention makes the system easy to expand through modular design and the use of middleware, and can achieve load balancing according to the user's concurrency and the nodes that need to be horizontally expanded. By setting a unified application interface, the time for users to switch between different configuration systems is reduced, and work efficiency is improved. The consistency of the status of all components is ensured by a real-time synchronization mechanism, avoiding the hidden problems caused by the system template being out of sync. By adding a historical configuration function, technicians can quickly locate the source of the problem, and provide a visual and friendly historical configuration display function, allowing users to more clearly view the trend display of the historical values of each configuration item at different times. By configuring a conflict detection and resolution mechanism, various types of resource conflicts faced by the superconducting quantum control system in a multi-person and multi-tasking situation can be quickly resolved. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0039] Figure 1 is a flow chart of a configuration management method for a superconducting quantum control system according to an embodiment of the present invention
[0040] Figure 2 is an architectural diagram of a superconducting quantum control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.
[0042] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0043] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0044] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0045] Superconducting quantum control systems are used to control and manipulate superconducting quantum bits, and realize precise initialization, manipulation, reading and writing of quantum bits. They have important application value in the field of quantum information processing technology. How to configure and manage superconducting quantum control systems, improve the utilization efficiency of superconducting quantum control systems, and reduce the error rate of superconducting quantum control systems has become a research hotspot in the field of quantum information processing technology. The current configuration management technology solutions for superconducting quantum control systems have many technical problems: (1) Configuration dispersion: The configuration information of classical hardware, quantum hardware, quantum software and system parameters is dispersed in different systems, resulting in unchanged management and low efficiency. (2) Lack of a unified interface: The lack of a unified interface to manage all types of configurations makes it difficult for users to perform configuration operations. (3) Configuration conflicts: In a multi-user and multi-task environment, configuration changes may lead to conflicts, and the existing system lacks an effective conflict detection and resolution mechanism. (4) Configuration synchronization problem: When the configuration template is changed, the existing system is difficult to ensure that all related components are updated synchronously in real time, affecting system stability. (5) Difficulty in historical configuration tracking: The existing system is not convenient for tracking historical configuration changes, resulting in difficulty in backtracking and reproducing problems. (6) Scalability limitations: As quantum systems expand, existing configuration management systems are unable to adapt to the growing scale of hardware and software. (7) Compatibility issues: Emerging quantum hardware and software components may be incompatible with existing configuration management systems, limiting system upgrades and expansions.
[0046] In order to solve at least one of the above technical problems, the present invention provides a configuration management method for a superconducting quantum control system. The above configuration management method provided by the present invention has the functions or characteristics of unified configuration interface, template-driven configuration management, real-time configuration synchronization, historical configuration tracking, configuration conflict detection and resolution, multi-user and multi-authority management, high scalability, etc., which can greatly improve the utilization efficiency of the superconducting quantum control system, enhance the stability of the system, reduce the error probability of the system, and avoid problems such as system data resource conflicts.
[0047] Figure 1 It is a flow chart of a configuration management method for a superconducting quantum control system according to an embodiment of the present invention.
[0048] like Figure 1 As shown, the configuration management method for the superconducting quantum control system includes operations S110 to S150.
[0049] In operation S110, configuration items for managing the superconducting quantum control system are determined based on the property information of the superconducting quantum control system and the user's requirement information, and a data structure and data constraints of the configuration items are defined using a template method.
[0050] According to an embodiment of the present invention, the above configuration items include a classical hardware module, a quantum hardware module, quantum software for controlling and managing the quantum hardware module, control parameters of a superconducting quantum control system, and user-set requirement parameters.
[0051] A template-based approach is used to define the data structure and data constraints of configuration items, which simplifies the process of adding and modifying configuration items.
[0052] In operation S120, an application programming interface for communication between the superconducting quantum control system and an external device is set based on the advanced message queue remote procedure call protocol, and the application programming interface is used to manage operation requests of the external device for the configuration items.
[0053] A unified application programming interface is used to manage different types of configuration items, including control parameters of classical hardware, quantum hardware, quantum software, and superconducting quantum control systems, as well as user-set required parameters.
[0054] In operation S130, data synchronization of configuration items is performed using data synchronization middleware technology, historical change information of configuration items is traced back and queried through data logs, and user permissions in configuration items are managed based on a fine-grained permission control mechanism.
[0055] The configuration management method provided by the present invention can synchronize configuration changes to all relevant quantum hardware and software components in real time to ensure the consistency of the system state. In addition, the configuration management method provided by the present invention can record historical changes in the configuration, facilitate problem tracking and system state rollback, and thus realize the tracking of historical configuration information or historical change information.
[0056] At the same time, the synchronization mechanism designed by the configuration management method provided by the present invention can ensure the real-time update and consistency of the configuration.
[0057] Through the configuration history query and backtracking function, the modification records of all configuration items can be saved, providing a convenient configuration history viewing and backtracking interface for technicians to reproduce problems and view historical records.
[0058] In operation S140, when multiple users execute multiple tasks, conflict detection is performed on the real-time update process of the configuration items, and the conflicts encountered in the real-time update are processed using a preset conflict detection and resolution method.
[0059] During the configuration item update process, it can detect potential conflicts and provide automatic or manual resolution strategies. At the same time, it supports configuration management in a multi-user environment, has fine-grained permission control, realizes multi-user and multi-permission management, and ensures data security.
[0060] In operation S150, the output data of the superconducting quantum control system is stored by using a distributed cache cluster and a distributed shard replica set cluster non-relational database, and the scalability and compatibility of the superconducting quantum control system are set.
[0061] The configuration management method provided by the present invention is highly scalable, and the scalability of the superconducting quantum control system is taken into consideration during the design, and can be used with the growing configuration requirements and system scale. Through compatibility with existing quantum hardware and software, it can be seamlessly integrated with a variety of existing quantum hardware and software, providing wide applicability.
[0062] Optionally, the middleware and database technology involved in the present invention uses Rabbit-MQ message queue as the communication middleware between services, and Redis-cluster and MongoDB as data caching and persistent storage solutions.
[0063] In addition, the configuration management method provided by the present invention ensures compatibility with configuration items of quantum computers with different quantum processors.
[0064] According to an embodiment of the present invention, the above-mentioned application program interface for communication between the superconducting quantum control system and the external device based on the advanced message queue remote procedure call protocol includes: based on the remote procedure call mode of the message-oriented middleware, setting a unified application program interface, and using the unified application program interface to manage the communication and data exchange between the superconducting quantum control system and the web client, the quality service client and the preset database.
[0065] The above remote procedure call mode based on the message-oriented middleware can optionally use the RPC mode of Rabbit-MQ to set a series of unified API interfaces for implementing operations such as adding, deleting, modifying and checking in configuration management.
[0066] The above unified API interface reduces the time users spend switching between different configuration systems and improves work efficiency. By eliminating the switching between multiple API interfaces, the user's cognitive burden is reduced, thereby improving efficiency. It provides users with a more convenient method for operating related configurations, making it easier for users to operate the structure of configuration parameters.
[0067] According to an embodiment of the present invention, the above-mentioned operations on configuration items include changing operations, deleting operations, adding operations, one-key restore operations, importing and exporting operations, batch creation operations of configuration items, and sharing operations of configuration items with authorized users.
[0068] Configuration management provides a variety of operations for configuration items, including but not limited to configuration import, export, batch creation of all components, one-click restoration of configuration history values, and configuration sharing. These operations facilitate the diverse needs of experimental users when using configurations, and enable the previous configuration data of different experimental users to be shared if they have permission.
[0069] According to an embodiment of the present invention, the historical change information of the configuration item is traced back and queried through the data log: the data structure of the configuration item is stored using a document type based on binary representation, and the historical records and original attributes of the configuration item are stored in a subset; when a historical range query is performed on the configuration item, a separate historical record set is used for path matching and then the query is performed. If the historical record information is queried within the specified request history range, the specified configuration item attribute will be returned. If the historical record information is not queried within the specified request history, the log information will be prompted.
[0070] The above document type based on binary representation may optionally use a BSON document type to store the data structure of the configuration item.
[0071] According to an embodiment of the present invention, the above-mentioned use of an application program interface to manage an operation request of an external device for a configuration item includes: using a quality service client in an external device to perform a permission check on an operation request for a target configuration item issued by a user, and based on the user permission check result, detecting a path of the target configuration item in a preset database; based on the check result, using an application program interface to detect the operation request for the target configuration item issued by the user, and sending the operation request that meets the requirements to the superconducting quantum control system through the application program interface for execution.
[0072] According to an embodiment of the present invention, in the case where multiple users run multiple tasks, conflict detection is performed on the real-time update process of configuration items, and conflicts encountered in real-time updates are handled using preset conflict detection and solutions, including: based on the multi-concurrency and multi-task requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services; node registration, load balancing, request collection, distribution processing and result processing services are provided through the cluster management center; operations on configuration items are implemented by establishing external indexes and using a distributed database and collection storage method; and conflicts encountered are handled by calling transaction support and multi-version concurrency control functions in a distributed sharded replica set cluster non-relational database.
[0073] According to an embodiment of the present invention, the above-mentioned setting of the scalability and compatibility of the superconducting quantum control system includes: sending the user's scalability information and compatibility information of the superconducting quantum control system to the distributed cache cluster storage through the web client in the external device; using the distributed cache cluster to compare the scalability information and compatibility information with the stored configuration items, and changing the configuration items based on the comparison results, and using the changed configuration items to set the superconducting quantum control system. The scalability information and compatibility information of the superconducting quantum control system are obtained, and the horizontal expansion capability of the distributed sharding replica set cluster non-relational database is used to increase the storage capacity and processing capacity by adding multiple servers, and the scalability and compatibility of the superconducting quantum control system are set.
[0074] The above configuration management method provided by the present invention is applied to the superconducting quantum control system. By using the template method and middleware technology, the system is easy to expand, and load balancing can be achieved according to the user's concurrent volume and the nodes that need to be horizontally expanded, thereby enhancing the scalability of the superconducting quantum control system. By setting the historical configuration information and change information tracking function, the technician can quickly locate the source of the problem, and through the visual interface, the technician can more clearly view the trend display of the historical values of each configuration item at different times. In addition, the configuration management method provided by the present invention drives the configuration management of the superconducting quantum control system through the template, uses the template to define the configuration structure, improves the consistency and predictability of the configuration, and supports different template records of different systems and different hardware through a specific template structure. Template management simplifies the configuration process, and reduces the possibility of configuration errors through predefined templates, and improves the accuracy of the configuration. At the same time, the configuration management method provided by the present invention uses an efficient synchronization algorithm and an optimized data structure to ensure the rapid propagation of configuration changes. The real-time synchronization mechanism ensures the consistency of the states of all components and avoids the hidden dangers of problems caused by the asynchronization of the templates of the superconducting quantum control system.
[0075] Figure 2 is an architectural diagram of a superconducting quantum control system according to an embodiment of the present invention.
[0076] like Figure 2 As shown, the above-mentioned superconducting quantum control system can be applied to the above-mentioned configuration management method. The system includes: a configuration management module, a directory management module, a batch management module, a template management module and a visualization interface.
[0077] Among them, the superconducting quantum control system uses a unified application program interface based on the advanced message queue protocol to connect with the quality client, web client and preset database respectively;
[0078] Among them, the superconducting quantum control system uses a preset communication mechanism to realize message transmission and data interaction between various modules within the system. The preset communication mechanism includes pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
[0079] According to an embodiment of the present invention, the configuration management module is used to query configuration items of the superconducting quantum control system, output historical change information of configuration items, add configuration items, delete configuration items, and set attribute information of configuration items.
[0080] Among them, the directory management module is used to create directories, delete directories, view directories, copy directories, determine whether the configuration item directory exists, if it exists, determine the user's permission control on the configuration item directory, and perform corresponding operations on the configuration item directory; if it does not exist, the complete configuration item path of the configuration item directory is returned as an error prompt message.
[0081] Among them, the batch management module is used for batch importing configuration item parameters, batch exporting configuration item parameters, batch setting configuration item parameters, and batch querying configuration item parameters.
[0082] Among them, the template management module is used to create a module and a synchronization module to determine whether to synchronize the data information of the existing configuration item. If synchronized, determine whether the configuration item matches the template file, and synchronize the configuration item data information with the template file; if not synchronized, set the configuration item identifier to a special version.
[0083] Among them, the visualization interface includes obtaining configuration items, switching configuration items, and obtaining user quantum computing operations.
[0084] Quality of Service (QoS) client requests batch management in configuration, batch setting of configuration parameter values. First, check whether the user token has the authority to set the configuration path and query whether the configuration item path in MongoDB exists. If all requirements are met, set the configuration item values in turn to modify the MongoDB values and modify the values of the corresponding paths in Redis.
[0085] When the configuration management software is initialized, it will load all configuration sets (a collection of configuration items, the same below) corresponding to the configuration item contents into Redis. The quantum control software obtains the configuration items and directly obtains the specified configuration items through Redis.
[0086] The user configures the configuration parameters through the configuration client, which interacts with the configuration management module via the http protocol. The configuration management module maps the corresponding change actions to the database, including operations such as adding, deleting, modifying, and checking. All configurations will be presented in the form of pages through the configuration client.
[0087] The following specific experiments are used to further illustrate and explain the structure of the superconducting quantum control system including classical hardware, quantum hardware, quantum software, and system parameters provided by the present invention.
[0088] Configuration database: Deploy MongoDB cluster and Redis-cluster on the server to store all configuration set information, including quantum bit frequency, quantum gate operation parameters, etc.
[0089] User interface implementation: Visual operation of configuration management is realized through the web, allowing users to configure configuration set parameters through intuitive operations, including editing, viewing history, and tracing back history.
[0090] Configuration template definition: Create a predefined configuration template to simplify the configuration process of common quantum operations. The template can be customized for different types of quantum computer processors.
[0091] Error handling and logging: Implement a comprehensive error handling mechanism and logging system to facilitate problem diagnosis and system maintenance.
[0092] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.
[0094] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A configuration management method for a superconducting quantum control system, characterized in that: The method comprises: Determine configuration items for managing the superconducting quantum control system based on the property information of the superconducting quantum control system and the user's demand information, and define the data structure and data constraints of the configuration items by using a template method; An application programming interface for communication between the superconducting quantum control system and an external device is set based on an advanced message queue remote procedure call protocol, and the application programming interface is used to manage the operation request of the external device to the configuration item; Use data synchronization middleware technology to synchronize the configuration items, trace back and query the historical change information of the configuration items through data logs, and manage user permissions in the configuration items based on a fine-grained permission control mechanism; In the case where multiple users run multiple tasks, conflict detection is performed on the real-time update process of the configuration items, and conflicts encountered in the real-time update are handled using preset conflict detection and resolution methods; The output data of the superconducting quantum control system is stored by using a distributed high-speed cache cluster and a distributed shard replica set cluster non-relational database, and the scalability and compatibility of the superconducting quantum control system are set.
2. The method according to claim 1, characterized in that The configuration items include classical hardware modules, quantum hardware modules, quantum software for controlling and managing the quantum hardware modules, control parameters of the superconducting quantum control system, and user-set required parameters.
3. The method according to claim 1, characterized in that The application program interface for communication between the superconducting quantum control system and external devices is set based on the advanced message queue remote procedure call protocol, including: Based on the remote procedure call mode of the message-oriented middleware, a unified application program interface is set, and the unified application program interface is used to manage the communication and data exchange between the superconducting quantum control system and the web client, the quality service client and the preset database.
4. The method according to claim 1, characterized in that: The operations on the configuration items include modifying, deleting, adding, restoring, importing and exporting, creating batches of the configuration items, and sharing the configuration items with authorized users.
5. The method according to claim 1, characterized in that Use data logs to trace and query the historical change information of the configuration items: The data structure of the configuration item is stored using a document type based on a binary representation, and the historical records and original attributes of the configuration item are stored in a diverse set; When performing a historical range query on the configuration item, a separate historical record set is used for path matching and then querying. If historical record information is found within the specified request history range, the specified configuration item attribute will be returned. If no historical record information is found within the specified request history, a log message will be prompted.
6. The method according to claim 1, characterized in that: Managing the operation request of the external device to the configuration item by using the application program interface includes: Using the quality service client in the external device to perform authority detection on the operation request for the target configuration item issued by the user, and based on the user authority detection result, detecting the path of the target configuration item in the preset database; Based on the detection result, the application program interface is used to detect the operation request for the target configuration item issued by the user, and the operation request that meets the requirements is sent to the superconducting quantum control system through the application program interface for execution.
7. The method according to claim 1, characterized in that In the case where multiple users run multiple tasks, conflict detection is performed on the real-time update process of the configuration items, and the conflicts encountered in the real-time update are handled using preset conflict detection and solutions, including: Based on the multi-concurrency and multi-task requirements of the superconducting quantum control system, a cluster management center is used to centrally manage multi-node services; Providing node registration, load balancing, request collection, distribution processing and result processing services through the cluster management center; By establishing an external index and using a sub-library and sub-set storage method, operations on the configuration items are implemented; The conflicts encountered are handled by calling the transaction support and multi-version concurrency control functions in the distributed shard replica set cluster non-relational database.
8. The method according to claim 1, characterized in that Setting the scalability and compatibility of the superconducting quantum control system includes: Sending the user's scalability information and compatibility information of the superconducting quantum control system to the distributed high-speed cache cluster storage through a web client in an external device; Using a distributed cache cluster to compare the scalability information and the compatibility information with the stored configuration items, and based on the comparison results, modify the configuration items, and use the modified configuration items to set the superconducting quantum control system; The scalability and compatibility information of the superconducting quantum control system is obtained, and the horizontal expansion capability of the distributed sharded replica set cluster non-relational database is utilized to increase the storage capacity and processing capacity by adding multiple servers, so as to set the scalability and compatibility of the superconducting quantum control system.
9. A superconducting quantum control system, applied to the method according to any one of claims 1 to 8, characterized in that: The system includes: a configuration management module, a catalog management module, a batch management module, a template management module and a visual interface; The superconducting quantum control system is connected to the quality client, web client and preset database respectively by using a unified application program interface based on the advanced message queue protocol; Among them, the superconducting quantum control system uses a preset communication mechanism to realize message transmission and data interaction between various modules within the system. The preset communication mechanism includes pipeline communication mode, message queue communication mode, shared memory communication mode, signal communication mode and socket communication mode.
10. The system according to claim 9, characterized in that The configuration management module is used to query the configuration items of the superconducting quantum control system, output the historical change information of the configuration items, add the configuration items, delete the configuration items, and set the attribute information of the configuration items; The directory management module is used to create, delete, view and copy directories. Wherein, the batch processing management module is used for batch importing the configuration item parameters, batch exporting the configuration item parameters, batch setting the configuration item parameters, and batch querying the configuration item parameters; Wherein, the template management module is used to create modules and synchronization modules; The visualization interface includes obtaining the configuration item, switching the configuration item, and obtaining user quantum computing operations.
Citation Information
Patent Citations
Superconducting quantum chip testing method and device and medium
CN115963384A
API interface calling method and system based on data collection
CN117278640A
TLS protocol dynamic migration method and device supporting quantum security
CN118381668A
Multi-person online document-oriented real-time collaborative editing system and method
CN118798136A
Dynamic configuration management method and system in microservice framework
WO2020237797A1