Quantum processor parallel measurement and control system and method
By designing a parallel measurement and control system for quantum processors, using templated methods and global cache mechanisms, combined with a parallel computing framework, the problems of low processing efficiency and insufficient resource utilization in the existing technology are solved, and efficient, stable and reliable quantum processing is achieved. system.
Patent Information
- Application Number
- CN202411626906.4
- 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
When handling large-scale quantum circuits, existing quantum processor measurement and control software have problems such as low processing efficiency, insufficient resource utilization, limited scalability, low stability and reliability, and insufficient data processing capabilities.
A quantum processor parallel measurement and control system is designed, and the templated method is used to design functions, connect to the target database using advanced message queue protocol, and data and information interaction is realized based on the global cache mechanism. The system includes a web client, an algorithm client, a task management module, a line parser, a waveform calculation unit, a task scheduling unit, a configuration management module, a data management module, a data processing module, a line output module and a classic hardware module, through parallelism The computing framework processes multiple quantum lines simultaneously, significantly reducing the total time from generation to execution of quantum lines.
It significantly improves the efficiency and stability of the quantum processing system, realizes linear or even super linear acceleration ratio, improves resource utilization, enhances the scalability and reliability of the system, and improves data processing capabilities.
Smart Images

Figure CN119443301A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum computing technology, and more specifically to a quantum processor parallel measurement and control system and method. Background Art
[0002] In the field of quantum computing, the measurement and control software of quantum processors is a key tool for implementing quantum algorithms and quantum operations. Most of the existing measurement and control software for quantum processors adopts serial processing, which can still meet the needs when processing single-bit or a small number of multi-bit quantum circuits. However, with the rapid development of quantum computing technology, the demand for processing large-scale quantum circuits is increasing, and the existing technical solutions still have technical problems such as low processing efficiency, insufficient resource utilization, limited scalability, low stability and reliability, and insufficient data processing capabilities. How to solve one of the above technical problems and then improve the efficiency and stability of the quantum processing system of the quantum processor has become a research focus for those skilled in the art. Summary of the invention
[0003] In view of the above problems, the present invention provides a quantum processor parallel measurement and control system and method, which are used to solve at least one of the above technical problems.
[0004] According to a first aspect of the present invention, a quantum processor parallel measurement and control system is provided, the system comprising: a web client, an algorithm client, a task management module, a circuit analyzer, a waveform calculation unit, a task scheduling unit, a configuration management module, a data management module, a data processing module, a circuit output module and a classical hardware module;
[0005] The quantum processor parallel measurement and control system is designed based on the template method, connected to the target database using the advanced message queue protocol, and based on the global cache mechanism, the data and information interaction of the quantum processor parallel measurement and control system is realized.
[0006] Among them, the classic hardware module includes the control unit, reading unit, mixing unit and ZDC control unit;
[0007] Among them, the algorithm client, circuit analyzer and waveform calculation unit concurrently perform circuit generation, circuit analysis and waveform calculation for the quantum circuit to be measured and controlled based on the parallel computing framework;
[0008] Among them, the circuit parser is used to compile and parse the quantum circuit to be measured and controlled based on the quantum control instruction set;
[0009] Among them, the waveform calculation unit is used to generate waveforms and control sequences according to the quantum circuit to be measured and controlled.
[0010] According to an embodiment of the present invention, the web client is connected to the task management module, the configuration management module, and the data management model;
[0011] Among them, the algorithm client is connected with the configuration management module, the task management module and the data management module;
[0012] Among them, the task manager is connected with the algorithm client, the line parser, the task management module and the data management module;
[0013] The line parser is connected to the waveform calculation unit and the task management module, the waveform calculation unit is connected to the line parser and the task scheduling unit, and the task scheduling unit is connected to the waveform calculation unit and the data processing unit;
[0014] Wherein, the data processing module is connected with the task scheduling unit, the data management module and the line output module.
[0015] According to an embodiment of the present invention, the web client is based on a directory tree management mechanism, and is used to receive instructions and parameters input by a user, display the state information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output the historical state information and historical measurement and control results of the quantum circuit to be measured and controlled according to the query instructions input by the user.
[0016] According to an embodiment of the present invention, the above-mentioned algorithm client is used to select a target measurement and control algorithm from a stored calibration algorithm library and a mathematical algorithm library according to the user's measurement and control requirements, and calibrate and optimize parameters of the quantum bits of the quantum circuit to be measured and controlled during the parallel measurement and control process of the quantum circuit to be measured and controlled.
[0017] According to an embodiment of the present invention, the configuration management module is used to configure the parameters used in the parallel measurement and control process of the quantum circuit to be measured and controlled, and connect to the target database through an application program interface to save the associated information in the parallel measurement and control process of the quantum circuit to be measured and controlled into the target database.
[0018] According to an embodiment of the present invention, the above-mentioned classic hardware module coordinates the control unit, the reading unit, the mixing unit and the ZDC control unit through a preset measurement and control drive, and controls the operation accuracy of the quantum bits during the parallel measurement and control process.
[0019] According to an embodiment of the present invention, the above-mentioned line output module is used to call and synchronize classical hardware, and based on a preset order, execute classical hardware quality and corresponding quantum gate waveform issuance operations.
[0020] According to an embodiment of the present invention, the task scheduling unit dynamically adjusts the processing order of the quantum circuits to be measured and controlled based on task priorities and real-time resource requirements.
[0021] According to a second aspect of the present invention, a quantum processor parallel measurement and control method is provided, which is applied to a quantum processor parallel measurement and control system. The method comprises:
[0022] Selecting quantum software configuration parameters based on the measurement parameters input by the user, and using the selected quantum software configuration parameters to generate a quantum circuit to be measured and controlled, wherein the quantum software configuration parameters are used to define and simulate the functions of quantum hardware;
[0023] The quantum circuits to be measured and controlled are summarized to obtain a summary set, and the quantum circuits to be measured and controlled in the summary set are analyzed in parallel based on a quantum control instruction set to obtain a set of analysis results;
[0024] The classical hardware control parameters and quantum gate waveform parameters corresponding to each analytical result in the analytical result set are stored, and based on the mapping relationship between quantum hardware and classical hardware, the quantum gate waveform is generated using the stored quantum gate waveform parameters and analytical results;
[0025] The quantum circuit to be measured and controlled and the corresponding quantum gate waveform are processed in series and parallel as well as sorted to obtain the sorting result, and based on the sorting result, data collection is performed by setting the stored classical hardware control parameters and outputting the quantum gate waveform;
[0026] The data obtained from data acquisition is preprocessed, and based on the mapping relationship between quantum hardware and classical hardware, the preprocessed data is format-converted, and the format-converted data is analyzed to obtain the measurement and control results of the quantum circuit to be measured and controlled.
[0027] According to an embodiment of the present invention, the above-mentioned data acquisition based on the sorting result by setting the stored classical hardware control parameters and outputting the quantum gate waveform includes:
[0028] Scanning the quantum circuits to be measured and controlled in the sorting results to obtain the classical hardware control parameters and quantum gate waveforms corresponding to the quantum circuits to be measured and controlled;
[0029] The trigger times and trigger intervals of data acquisition are controlled by setting classical hardware control parameters and outputting quantum gate waveforms, and data acquisition is completed according to the trigger times and trigger intervals.
[0030] The present invention provides the above-mentioned quantum processor parallel measurement and control system, which can efficiently manage and control multiple quantum processors, such as quantum hardware configuration, quantum circuit generation, analysis, waveform calculation, task scheduling, data processing, etc. By introducing a parallel computing framework, the present invention can process multiple quantum circuits at the same time, significantly reducing the total time from quantum circuit generation to execution. Compared with the serial processing method, a linear or even superlinear acceleration ratio can be achieved. The present invention realizes efficient communication and data caching between modules, and makes full use of multi-core processors and distributed computing resources. Compared with a single server or single-threaded processing, resource utilization is greatly improved. The modular design and the use of middleware make the above-mentioned quantum processor parallel measurement and control system easy to expand, and more processing modules or computing resources can be added as needed to adapt to larger-scale quantum systems, and show higher stability and reliability under long-term operation and high concurrency conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] 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:
[0032] Figure 1 is an architecture diagram of a quantum processor parallel measurement and control system according to an embodiment of the present invention;
[0033] Figure 2 It is a flow chart of a parallel measurement and control method applied to a quantum processor parallel measurement and control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] 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.
[0035] 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.
[0036] 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.
[0037] 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.).
[0038] The purpose of the quantum processor parallel measurement scheme is to improve measurement efficiency and accuracy by controlling and measuring multiple quantum bits at the same time. Its main purposes are: (1) Improving measurement efficiency: By measuring multiple quantum bits in parallel, the measurement time and resource consumption can be reduced, thereby improving measurement efficiency. This is particularly important for processing large-scale quantum computing tasks, which can speed up the calculation and save computing resources. (2) Reducing measurement errors: Parallel measurement can reduce measurement errors caused by measurement time differences. Traditional one-by-one measurement methods may be affected by measurement time differences, resulting in inaccurate measurement results. Through parallel measurement, the measurement results of multiple quantum bits can be obtained in a shorter time, thereby reducing errors. (3) Realizing complex computing tasks: For complex computing tasks that require the operation and measurement of multiple quantum bits, the quantum processor parallel measurement scheme can better meet the needs. By controlling and measuring multiple quantum bits at the same time, complex computing tasks can be processed more efficiently, improving computing efficiency and performance.
[0039] The existing large-scale quantum circuit processing technology solutions have the following technical problems: (1) Low processing efficiency: When processing complex multi-bit quantum circuits, existing software often requires a long calculation and waiting time, which cannot meet the real-time or near-real-time data processing requirements. (2) Insufficient resource utilization: The serial processing method cannot fully utilize modern multi-core processors and distributed computing resources, resulting in the failure to fully utilize computing power. (3) Limited scalability: As the number of quantum bits increases, the existing software architecture is difficult to adapt to larger-scale quantum systems and lacks an effective expansion mechanism. (4) Stability and reliability issues: Under high concurrency and long-term operation, existing software is prone to stability and reliability problems, affecting the accuracy of quantum computing. (5) Insufficient data processing capabilities: When facing large-scale data, the existing software has limited data processing capabilities and it is difficult to achieve efficient data preprocessing, analysis and storage.
[0040] In view of the problems existing in the prior art, the present invention provides a quantum processor parallel measurement and control system and method, which are used to solve the technical problems existing in the prior art solutions, such as low efficiency, insufficient resource utilization, limited scalability, stability and reliability problems, and insufficient data processing capability.
[0041] The quantum processor parallel measurement and control system and method provided by the present invention improves measurement efficiency and accuracy by controlling and measuring multiple quantum bits at the same time. The present invention designs the multiple quantum processor parallel measurement and control system and method involved based on the following aspects: (1) Improving measurement efficiency: By measuring multiple quantum bits in parallel, the measurement time and resource consumption can be reduced, thereby improving measurement efficiency. This is particularly important for processing large-scale quantum computing tasks, which can speed up the calculation speed and save computing resources. (2) Reducing measurement errors: Parallel measurement can reduce measurement errors caused by measurement time differences. Traditional one-by-one measurement methods may be affected by measurement time differences, resulting in inaccurate measurement results. By parallel measurement, the measurement results of multiple quantum bits can be obtained in a shorter time, thereby reducing errors. (3) Realizing complex computing tasks: For complex computing tasks that require operation and measurement of multiple quantum bits, the quantum processor parallel measurement solution can better meet the needs. By controlling and measuring multiple quantum bits at the same time, complex computing tasks can be processed more efficiently, improving computing efficiency and performance.
[0042] Figure 1 4 is an architectural diagram of a quantum processor parallel measurement and control system according to an embodiment of the present invention.
[0043] like Figure 1 As shown, the above-mentioned quantum processor parallel measurement and control system includes: a web client, an algorithm client, a task management module, a circuit analyzer, a waveform calculation unit, a task scheduling unit, a configuration management module, a data management module, a data processing module, a circuit output module and a classical hardware module.
[0044] Among them, the quantum processor parallel measurement and control system is functionally designed based on a templated approach, connected to the target database using an advanced message queue protocol, and data and information interaction of the quantum processor parallel measurement and control system is realized based on a global cache mechanism.
[0045] The quantum processor parallel measurement and control system provided by the present invention adopts a modular design, including a Web client, an algorithm client, a configuration management module, etc. Each module is responsible for different functions and is easy to maintain and expand. Through methods such as modular design, the software architecture of the quantum processor parallel measurement and control system is optimized, and by providing corresponding optimization algorithms, the stability and reliability of the system under long-term operation and high concurrency conditions are improved.
[0046] Through a global cache mechanism, such as the introduction of the Redis global cache mechanism, fast data query, update and deletion operations are achieved between modules.
[0047] Middleware and database technologies, such as using Rabbit-MQ message queues as communication middleware between services, and Redis-cluster and MongoDB as data caching and persistent storage solutions. The Redis global cache mechanism speeds up data access, reduces the delay of communication between modules, and improves the response speed of the overall system.
[0048] Among them, the classic hardware module includes a control unit, a reading unit, a mixing unit, and a ZDC control unit, such as Figure 1 As shown, the ZDC (Zero d-axis Current, Z bias current) control unit
[0049] The connection relationship between the modules in the above-mentioned quantum processor parallel measurement and control system is as follows: Figure 1 As shown, the web client is connected to the task management module, the configuration management module, and the data management model; the algorithm client is connected to the configuration management module, the task management module, and the data management module; the task manager is connected to the algorithm client, the line parser, the task management module, and the data management module; the line parser is connected to the waveform calculation unit and the task management module, the waveform calculation unit is connected to the line parser and the task scheduling unit, the task scheduling unit is connected to the waveform calculation unit and the data processing unit; the data processing module is connected to the task scheduling unit, the data management module, and the line output module.
[0050] The above connection relationship is schematic. Optionally, those skilled in the art may change the connection relationship of the above modules according to actual needs.
[0051] According to an embodiment of the present invention, the web client is based on a directory tree management mechanism, and is used to receive instructions and parameters input by a user, display the state information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output the historical state information and historical measurement and control results of the quantum circuit to be measured and controlled according to the query instructions input by the user.
[0052] The real-time data display function of the web client enables users to instantly obtain the status and measurement results of the quantum processor, improving the interactivity and real-time monitoring capabilities of the experiment. The web client supports real-time data display and historical data query, improving user experience and the convenience of data analysis. In addition, the directory tree management implements the web page directory tree management, supporting operations such as viewing, moving, copying and pasting data.
[0053] According to an embodiment of the present invention, the above-mentioned algorithm client is used to select a target measurement and control algorithm from a stored calibration algorithm library and a mathematical algorithm library according to the user's measurement and control requirements, and calibrate and optimize parameters of the quantum bits of the quantum circuit to be measured and controlled during the parallel measurement and control process of the quantum circuit to be measured and controlled.
[0054] The above algorithm client can accurately calibrate quantum bits and optimize parameters. The calibration algorithm library and mathematical algorithm library in the algorithm client provide accurate quantum bit calibration and parameter optimization, improving the accuracy of quantum operations.
[0055] According to an embodiment of the present invention, the configuration management module is used to configure the parameters used in the parallel measurement and control process of the quantum circuit to be measured and controlled, and connect to the target database through an application program interface to save the associated information in the parallel measurement and control process of the quantum circuit to be measured and controlled into the target database.
[0056] The above configuration management module can manage the experimental configuration parameters and realize database storage and calling through the API interface. The API interface calling function of the configuration management module makes the management of experimental configuration parameters more flexible and dynamic, adapting to different experimental requirements.
[0057] According to an embodiment of the present invention, the above-mentioned classic hardware module coordinates the control unit, the reading unit, the mixing unit and the ZDC control unit through a preset measurement and control drive, and controls the operation accuracy of the quantum bits during the parallel measurement and control process.
[0058] The electronics control software achieves precise control of the control unit, reading unit, and mixing unit, as well as waveform generation and distribution through the driver. The electronics control software driven by ez-Q 2.0 (room temperature electronics measurement and control equipment) ensures precise control of the control unit, reading unit, and mixing unit, and improves the accuracy of quantum bit operations.
[0059] According to an embodiment of the present invention, the algorithm client, circuit parser and waveform calculation unit concurrently perform circuit generation, circuit analysis and waveform calculation on the quantum circuit to be measured and controlled based on a parallel computing framework; wherein the circuit parser is used to compile and analyze the quantum circuit to be measured and controlled based on a quantum control instruction set; wherein the waveform calculation unit is used to generate waveforms and control sequences according to the quantum circuit to be measured and controlled.
[0060] The circuit analysis module compiles and analyzes based on the instruction set, and the waveform calculation module generates the corresponding waveform and control sequence according to the quantum circuit (i.e. the quantum circuit to be measured and controlled, the same below). Automated circuit analysis and waveform calculation reduce human errors and improve the accuracy of quantum circuit compilation and execution.
[0061] By introducing a parallel computing framework, the parallel generation, analysis and waveform calculation of quantum circuits are realized, significantly improving processing efficiency.
[0062] According to an embodiment of the present invention, the above-mentioned line output module is used to call and synchronize classical hardware, and based on a preset order, execute classical hardware quality and corresponding quantum gate waveform issuance operations.
[0063] The line output module is responsible for calling the electronics hardware control module, executing hardware instructions and waveform distribution in sequence to achieve data acquisition.
[0064] The synchronized operation of the circuit output module and the electronics hardware control ensures the accurate execution of the quantum circuit and the consistency of data acquisition.
[0065] According to an embodiment of the present invention, the task scheduling unit dynamically adjusts the processing order of the quantum circuits to be measured and controlled based on task priorities and real-time resource requirements.
[0066] The present invention can dynamically adjust the task execution order according to the task priority and resource demand through task scheduling optimization, thereby improving resource utilization and system response speed. In addition, an efficient data preprocessing and analysis mechanism is implemented, which can process large-scale data and realize real-time data processing.
[0067] The quantum processor parallel measurement and control system provided by the present invention introduces a parallel computing framework to create a system capable of processing multiple quantum circuits simultaneously, significantly reducing the total time from the generation to the execution of quantum circuits. Compared with the serial processing method, a linear or even superlinear acceleration ratio can be achieved. Compared with the existing technical solutions, the advantages of the quantum processor parallel measurement and control system provided by the present invention are mainly reflected in the following aspects.
[0068] In terms of optimizing resource utilization: by using Rabbit-MQ message queue and Redis-cluster, the present invention realizes efficient communication and data caching between modules, making full use of multi-core processors and distributed computing resources. Compared with single server or single thread processing, resource utilization is greatly improved.
[0069] In terms of enhancing system scalability: modular design and the use of middleware make the system easy to expand, and more processing modules or computing resources can be added as needed to adapt to larger-scale quantum systems.
[0070] In terms of improving system stability and reliability: through optimized software architecture and algorithms, and the use of mature middleware and database technologies, the present invention demonstrates higher stability and reliability under long-term operation and high concurrency conditions.
[0071] In terms of enhancing the system's data processing capabilities: the efficient data processing module can quickly process and analyze large-scale data, support real-time data display and historical data query, and improve the speed and accuracy of data processing.
[0072] In terms of real-time improvement: the real-time data display function of the Web client enables users to instantly obtain the status and measurement results of the quantum processor, improving the interactivity and real-time monitoring capabilities of the experiment.
[0073] In terms of algorithm and calibration optimization: the calibration algorithm library and mathematical algorithm library in the algorithm client provide precise quantum bit calibration and parameter optimization, improving the accuracy of quantum operations.
[0074] In terms of global caching mechanism: Redis global caching mechanism speeds up data access, reduces the delay in communication between modules, and improves the response speed of the overall system.
[0075] In terms of flexibility of configuration management: the API interface calling function of the configuration management module makes the management of experimental configuration parameters more flexible and dynamic, adapting to different experimental needs.
[0076] In terms of the accuracy of the electronics control software: the electronics control software implemented by the ez-Q2.0 driver ensures precise control of the control unit, reading unit, and mixing unit, and improves the accuracy of quantum bit operations.
[0077] In terms of automation of circuit parsing and waveform calculation: Automated circuit parsing and waveform calculation reduce human errors and improve the accuracy of quantum circuit compilation and execution.
[0078] In terms of the synchronization of circuit output and electronic hardware control: the synchronous operation of the circuit output module and the electronic hardware control ensures the accurate execution of the quantum circuit and the consistency of data acquisition.
[0079] Figure 2 It is a flow chart of a parallel measurement and control method applied to a quantum processor parallel measurement and control system according to an embodiment of the present invention.
[0080] like Figure 2 As shown, the above-mentioned quantum processor parallel measurement and control method is applied to a quantum processor parallel measurement and control system, and the method includes operations S210 to S250.
[0081] In operation S210, quantum software configuration parameters are selected based on the measurement parameters input by the user, and a quantum circuit to be measured and controlled is generated using the selected quantum software configuration parameters, wherein the quantum software configuration parameters are used to define and simulate the functions of quantum hardware.
[0082] The user inputs the parameters he wants to measure through the algorithm client of the quantum processor parallel measurement and control system, and then cooperates with the configuration management module to generate the quantum circuit to be measured and controlled; because there are multiple users using the measurement and control system online at the same time, the present invention processes the measurement and control requests of multiple users at the same time based on the parallel computing framework.
[0083] In operation S220, the quantum circuits to be measured and controlled are summarized to obtain a summary set, and the quantum circuits to be measured and controlled in the summary set are analyzed in parallel based on the quantum control instruction set to obtain a analysis result set.
[0084] Quantum circuits with multiple different measurement and control requirements generated by multiple users need to be summarized through the task management module of the parallel measurement and control system, and summarized according to the ID of the quantum circuit or other attributes that can uniquely identify the quantum circuit.
[0085] In operation S230, the classical hardware control parameters and quantum gate waveform parameters corresponding to each analysis result in the analysis result set are stored, and based on the mapping relationship between quantum hardware and classical hardware, the quantum gate waveform is generated using the stored quantum gate waveform parameters and the analysis result.
[0086] The above analysis results and other parameters are stored in a distributed database at high speed through a global cache mechanism. Users can use the web client of the parallel measurement and control system to achieve distributed multi-user online simultaneous use of the parallel measurement and control system, and view the status and results of the quantum circuits they want to measure and control in real time.
[0087] In operation S240, the quantum circuit to be measured and controlled and the corresponding quantum gate waveform are processed in series and parallel as well as sorted to obtain a sorting result, and based on the sorting result, data collection is performed by setting the stored classical hardware control parameters and outputting the quantum gate waveform.
[0088] In operation S250, the data obtained by data acquisition is preprocessed, and based on the mapping relationship between quantum hardware and classical hardware, the preprocessed data is format-converted, and the format-converted data is analyzed to obtain the measurement and control results of the quantum circuit to be measured and controlled.
[0089] The above measurement and control results are fed back to the user through the web client. Since the parallel measurement and control system is connected to the distributed database, the above parallel measurement and control method supports simultaneous query by multiple people.
[0090] The quantum processor parallel measurement and control method provided by the present invention is based on a parallel processing mechanism and can process multiple quantum circuits to be measured and controlled at the same time, greatly improving the processing efficiency.
[0091] According to an embodiment of the present invention, the above-mentioned data collection based on the sorting result by setting the stored classical hardware control parameters and outputting the quantum gate waveform includes: scanning the quantum circuit to be measured and controlled in the sorting result to obtain the classical hardware control parameters and quantum gate waveform corresponding to the quantum circuit to be measured and controlled; setting the classical hardware control parameters and outputting the quantum gate waveform to control the triggering number and triggering interval of data collection, and completing the data collection according to the triggering number and triggering interval.
[0092] The above-mentioned quantum processor parallel measurement and control method is applied to a quantum processor parallel measurement and control system. The above-mentioned parallel measurement and control method is further described in detail below through specific embodiments and in combination with the above-mentioned quantum processor parallel measurement and control system.
[0093] The algorithm client generates quantum circuits according to the input parameters and the parameters obtained from the configuration management and submits them to the task management module; the task management is used to summarize the quantum circuits submitted by all algorithm clients; the collected quantum circuits are scanned and obtained through the circuit analyzer, parsed according to the QCIS instruction set format, and the hardware control parameters and waveform parameters are obtained from the configuration management module for storage; the resolved quantum circuits are scanned by the waveform calculation module, and the corresponding waveforms are generated according to the stored waveform parameters and the mapping relationship between the quantum component and the classical hardware; the task scheduling module is used to scan the obtained circuit sorting, serial and parallel processing; the sorted circuits are scanned by the circuit output, and the hardware setting parameters and circuit waveforms are obtained. The control process of the control unit, the reading unit control process, the mixing unit control process and the ZDC control process are called to set the parameters and output the waveform to the channel, and the data is collected after the trigger is enabled. After the trigger number*trigger interval, all data collection is completed, and the relevant data results and parameters are stored; the quantum circuits after the data collection is obtained are scanned by the data processing module, and converted into data suitable for the reading format of the quantum component according to the mapping relationship and submitted to the data management module; the data of the current circuit measurement is read through the data management module using the algorithm database, and the measurement and control results are analyzed. Provides real-time data display and historical data query operations through the web client.
[0094] 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.
[0095] 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.
[0096] 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 quantum processor parallel measurement and control system, characterized in that: The system includes: a web client, an algorithm client, a task management module, a line analyzer, a waveform calculation unit, a task scheduling unit, a configuration management module, a data management module, a data processing module, a line output module and a classic hardware module; The quantum processor parallel measurement and control system is functionally designed based on a template method, connected to a target database using an advanced message queue protocol, and data and information interaction of the quantum processor parallel measurement and control system is achieved based on a global cache mechanism; The classic hardware module includes a control unit, a reading unit, a mixing unit and a ZDC control unit; The algorithm client, the circuit analyzer and the waveform calculation unit concurrently perform circuit generation, circuit analysis and waveform calculation on the quantum circuit to be measured and controlled based on a parallel computing framework; The circuit analyzer is used to compile and analyze the quantum circuit to be measured and controlled based on the quantum control instruction set; Wherein, the waveform calculation unit is used to generate a waveform and a control sequence according to the quantum circuit to be measured and controlled.
2. The system according to claim 1, characterized in that The web client is connected with the task management module, the configuration management module and the data management model; Wherein, the algorithm client is connected with the configuration management module, the task management module and the data management module; Wherein, the task manager is connected with the algorithm client, the line parser, the task management module and the data management module; The line parser is connected to the waveform calculation unit and the task management module, the waveform calculation unit is connected to the line parser and the task scheduling unit, and the task scheduling unit is connected to the waveform calculation unit and the data processing unit; Wherein, the data processing module is connected with the task scheduling unit, the data management module and the line output module.
3. The system according to claim 1, characterized in that The web client is based on a directory tree management mechanism, and is used to receive instructions and parameters input by a user, display the state information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output the historical state information and historical measurement and control results of the quantum circuit to be measured and controlled according to the query instructions input by the user.
4. The system according to claim 1, characterized in that The algorithm client is used to select a target measurement and control algorithm from the stored calibration algorithm library and mathematical algorithm library according to the user's measurement and control requirements, and calibrate and optimize parameters of the quantum bits of the quantum circuit to be measured and controlled during the parallel measurement and control process of the quantum circuit to be measured and controlled.
5. The system according to claim 1, characterized in that The configuration management module is used to configure the parameters used in the parallel measurement and control process of the quantum circuit to be measured and controlled, and connect to the target database through an application program interface to save the associated information in the parallel measurement and control process of the quantum circuit to be measured and controlled into the target database.
6. The system according to claim 1, characterized in that The classical hardware module coordinately controls the control unit, the reading unit, the mixing unit and the ZDC control unit through a preset measurement and control drive, and controls the operation accuracy of the quantum bits during the parallel measurement and control process.
7. The system according to claim 1, characterized in that The line output module is used to call and synchronize classical hardware, and based on a preset sequence, execute classical hardware quality and corresponding quantum gate waveform distribution operations.
8. The system according to claim 1, characterized in that The task scheduling unit dynamically adjusts the processing order of the quantum circuits to be measured and controlled based on task priorities and real-time resource requirements.
9. A quantum processor parallel measurement and control method, applied to the system according to any one of claims 1 to 8, characterized in that: The method comprises: Selecting quantum software configuration parameters based on the measurement parameters input by the user, and generating a quantum circuit to be measured and controlled using the selected quantum software configuration parameters, wherein the quantum software configuration parameters are used to define and simulate the functions of quantum hardware; Summarizing the quantum circuits to be measured and controlled to obtain a summary set, and performing parallel analysis on the quantum circuits to be measured and controlled in the summary set based on a quantum control instruction set to obtain a set of analysis results; The classical hardware control parameters and quantum gate waveform parameters corresponding to each analysis result in the analysis result set are stored, and based on the mapping relationship between quantum hardware and classical hardware, a quantum gate waveform is generated using the stored quantum gate waveform parameters and the analysis result; The quantum circuit to be measured and controlled and the corresponding quantum gate waveform are processed in series and parallel as well as sorted to obtain a sorting result, and based on the sorting result, data collection is performed by setting the stored classical hardware control parameters and outputting the quantum gate waveform; The data obtained by data collection is preprocessed, and based on the mapping relationship between the quantum hardware and the classical hardware, the preprocessed data is format-converted, and the format-converted data is analyzed to obtain the measurement and control results of the quantum circuit to be measured and controlled.
10. The method according to claim 9, characterized in that Based on the sorting result, data acquisition is performed by setting the stored classical hardware control parameters and outputting quantum gate waveforms, including: Scanning the quantum circuit to be measured and controlled in the sorting result to obtain the classical hardware control parameters and quantum gate waveform corresponding to the quantum circuit to be measured and controlled; The triggering times and triggering intervals of data acquisition are controlled by setting the classical hardware control parameters and outputting the quantum gate waveform, and data acquisition is completed according to the triggering times and the triggering intervals.
Citation Information
Patent Citations
Flexible measurement and control platform system and development method thereof
CN102929620A
Quantum measurement and control system for multi-bit quantum feedback control
CN113011591A
Quantum measurement and control system and method of superconducting quantum computer
CN114326494A
Quantum computer operating system based on microkernel architecture and quantum computer
CN114492821A
Quantum computer platform based on superconducting quantum processor
CN116341665A
Cited By
Data processing system, method, device, storage medium and computer program product
CN120764707A
Data processing systems, methods, apparatus, storage media, and computer program products
CN120764707B