A quantum processor parallel measurement and control system and method

Through the quantum processor parallel measurement and control system, the template method and parallel computing framework are adopted to solve the problems of low efficiency, insufficient resource utilization, limited scalability, stability and reliability of large-scale quantum circuit processing in existing technologies, and realize efficient and stable quantum processor operation.

CN119443301BActive Publication Date: 2025-09-26UNIV OF SCI & TECH OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411626906.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2024-10-29
Filing Date
2024-11-14
Publication Date
2025-09-26
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

Existing quantum processor measurement and control software has problems such as low processing efficiency, insufficient resource utilization, limited scalability, low stability and reliability, and insufficient data processing capabilities when processing large-scale quantum circuits.

Method used

A quantum processor parallel measurement and control system is adopted, which utilizes template method, parallel computing framework, global cache mechanism and modular design, combined with advanced message queue protocol and target database to realize parallel measurement and control of quantum processor, including the collaborative work of modules such as web client, algorithm client, task management module, circuit analyzer, waveform calculation unit, etc.

Benefits of technology

It significantly improves the processing efficiency and stability of quantum processors, fully utilizes multi-core processors and distributed computing resources, supports large-scale quantum system expansion, realizes efficient data processing and real-time monitoring, and improves the accuracy of quantum operations and system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119443301B_ABST
    Figure CN119443301B_ABST
Patent Text Reader

Abstract

The present invention provides a quantum processor parallel measurement and control system and method, which can be applied to the field of quantum computing technology. The system comprises a quantum processor parallel measurement and control 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. The quantum processor parallel measurement and control system utilizes a template-based approach for functional design, connects to a target database using the Advanced Message Queuing Protocol, and implements data and information exchange within the quantum processor parallel measurement and control system based on a global cache mechanism. The classical hardware module comprises a control unit, a read unit, a frequency mixing unit, and a ZDC control unit.
Need to check novelty before this filing date? Find Prior Art

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, measurement and control software for quantum processors is a key tool for implementing quantum algorithms and quantum operations. Most existing measurement and control software for quantum processors uses a serial processing approach, which is sufficient for processing single-bit or small-to-multi-bit quantum circuits. However, with the rapid development of quantum computing technology, the demand for processing large-scale quantum circuits is increasing. Existing solutions still suffer from technical challenges such as low processing efficiency, insufficient resource utilization, limited scalability, low stability and reliability, and insufficient data processing capabilities. Addressing any of these technical issues and thereby improving the efficiency and stability of quantum processing systems within quantum processors has become a key research priority 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, 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 a template-based approach, connects to the target database using the Advanced Message Queuing Protocol, and implements data and information interaction within the quantum processor parallel measurement and control system based on a global cache mechanism.

[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 circuit 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] The data processing module is connected to 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 user input commands and parameters, display the status information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output historical status information and historical measurement and control results of the quantum circuit to be measured and controlled based on query commands input by the user.

[0016] According to an embodiment of the present invention, the 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 to calibrate and optimize the 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 parameters used in the parallel measurement and control process of the quantum circuit to be measured and controlled, and to 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 in the target database.

[0018] According to an embodiment of the present invention, the above-mentioned classic hardware module coordinates the control unit, reading unit, mixing unit and 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 circuit output module is used to call and synchronize classical hardware, and execute the classical hardware quality and corresponding quantum gate waveform distribution operations based on a preset sequence.

[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 method for parallel measurement and control of a quantum processor is provided, which is applied to a parallel measurement and control system of a quantum processor. 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 the quantum hardware;

[0023] 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 the 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 the analytical results;

[0025] The quantum circuit to be measured and controlled and the corresponding quantum gate waveform are processed serially and parallelly and sorted to obtain the sorting result. Based on the sorting result, data acquisition 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 data acquisition by setting the stored classical hardware control parameters and outputting quantum gate waveforms based on the sorting results includes:

[0028] Scan 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] By setting the classical hardware control parameters and outputting the quantum gate waveform, the trigger number and trigger interval of data acquisition are controlled, and data acquisition is completed according to the trigger number and trigger interval.

[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 serial processing, linear or even superlinear acceleration ratios can be achieved. The present invention realizes efficient communication and data caching between modules, making 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 architectural diagram of a quantum processor parallel measurement and control system according to an embodiment of the present invention;

[0033] Figure 2 4 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] Hereinafter, 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 the concept 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 presence of the features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.

[0036] All terms used herein (including technical and scientific terms) 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 expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning 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. By parallel measurement, the measurement results of multiple quantum bits can be obtained in a shorter time, thereby reducing errors. (3) Implementing 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 currently have the following technical problems: (1) Low processing efficiency: Existing software often requires a long calculation and waiting time when processing complex multi-bit quantum circuits, and cannot meet the needs of real-time or near-real-time data processing. (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 response to 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 technical problems existing in the prior art solutions, such as low efficiency, insufficient resource utilization, limited scalability, stability and reliability issues, and insufficient data processing capabilities.

[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 multi-quantum processor parallel measurement and control system and method 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, uses the advanced message queue protocol to connect to the target database, and realizes data and information interaction of the quantum processor parallel measurement and control system based on a global cache mechanism.

[0045] The quantum processor parallel measurement and control system provided by this invention adopts a modular design, including a web client, an algorithm client, and a configuration management module. Each module is responsible for a specific function, making it easy to maintain and expand. Through modular design and other methods, the software architecture of the quantum processor parallel measurement and control system is optimized. By providing corresponding optimization algorithms, the system's stability and reliability are improved under long-term operation and high-concurrency conditions.

[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 RabbitMQ as a communication middleware between services, and Redis cluster and MongoDB as data caching and persistent storage solutions. The Redis global caching mechanism speeds up data access, reduces inter-module communication latency, and improves overall system responsiveness.

[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 various modules in the above 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 circuit parser, the task management module, and the data management module; the circuit parser is connected to the waveform calculation unit and the task management module, the waveform calculation unit is connected to the circuit 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 circuit 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 user input commands and parameters, display the status information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output historical status information and historical measurement and control results of the quantum circuit to be measured and controlled based on query commands input by the user.

[0052] The web client's real-time data display function enables users to instantly access the quantum processor's status and measurement results, enhancing experimental interactivity and real-time monitoring capabilities. The web client supports both real-time data display and historical data query, improving user experience and the convenience of data analysis. Furthermore, directory tree management enables 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 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 to calibrate and optimize the 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 algorithm client described above is capable of precise quantization and parameter optimization of qubits. The calibration algorithm library and mathematical algorithm library in the algorithm client provide precise qubit 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 parameters used in the parallel measurement and control process of the quantum circuit to be measured and controlled, and to 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 in the target database.

[0056] The above configuration management module can manage the experimental configuration parameters and save and call them in the database through the API interface. The API interface call function of the configuration management module makes the management of experimental configuration parameters more flexible and dynamic, adapting to different experimental needs.

[0057] According to an embodiment of the present invention, the above-mentioned classic hardware module coordinates the control unit, reading unit, mixing unit and 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, driven by the ez-Q 2.0 (room temperature electronics measurement and control device), enables precise control of the control unit, reader unit, and mixer unit, as well as waveform generation and distribution. This software, driven by the ez-Q 2.0 (room temperature electronics measurement and control device), ensures precise control of the control unit, reader unit, and mixer unit, improving the accuracy of qubit operations.

[0059] According to an embodiment of the present invention, the algorithm client, circuit parser, and waveform calculation unit concurrently perform circuit generation, circuit parsing, and waveform calculation on the quantum circuit to be measured and controlled based on a parallel computing framework. The circuit parser is used to compile and parse the quantum circuit to be measured and controlled based on a quantum control instruction set. The waveform calculation unit is used to generate waveforms and control sequences based on the quantum circuit to be measured and controlled.

[0060] The circuit analysis module compiles and analyzes the instruction set, while the waveform calculation module generates the corresponding waveform and control sequence based on the quantum circuit (i.e., the quantum circuit to be measured and controlled, the same below). Automated circuit analysis and waveform calculation reduce human error 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 circuit output module is used to call and synchronize classical hardware, and execute the classical hardware quality and corresponding quantum gate waveform distribution operations based on a preset sequence.

[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 optimizes task scheduling and dynamically adjusts the order of task execution based on task priority and resource requirements, improving resource utilization and system response speed. Furthermore, it implements an efficient data preprocessing and analysis mechanism, capable of handling large-scale data and achieving real-time data processing.

[0067] The quantum processor parallel measurement and control system provided by the present invention utilizes a parallel computing framework to create a system capable of processing multiple quantum circuits simultaneously, significantly reducing the total time from quantum circuit generation to execution. Compared to serial processing, this system can achieve linear or even superlinear speedup. Compared to existing solutions, the quantum processor parallel measurement and control system provided by the present invention offers the following advantages.

[0068] In terms of optimizing resource utilization: By leveraging RabbitMQ message queues and Redis cluster, this invention achieves efficient communication and data caching between modules, fully utilizing multi-core processors and distributed computing resources. Compared with single-server or single-threaded 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 of 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 electronic control software: the electronic 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 4 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 functions of quantum hardware.

[0082] Users input the parameters they want to measure through the algorithm client of the quantum processor parallel measurement and control system, which then cooperates with the configuration management module to generate the quantum circuit to be measured and controlled. Since multiple users are using the measurement and control system online at the same time, the present invention processes the measurement and control requests of multiple users simultaneously 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] Multiple quantum circuits with different measurement and control requirements generated by multiple users need to be aggregated through the task management module of the parallel measurement and control system, and aggregated according to the quantum circuit ID 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 analytical result in the analytical 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 analytical results.

[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 parallel measurement and control system's web client to achieve distributed multi-user online simultaneous use of the parallel measurement and control system and view the status and results of the quantum circuit 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 serially and parallelly and sorted to obtain a sorting result. 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 acquisition by setting the stored classical hardware control parameters and outputting the quantum gate waveform based on the sorting result 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 trigger number and trigger interval of data acquisition, and completing data acquisition according to the trigger number and trigger 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 a quantum circuit based on the input parameters and the parameters obtained from the configuration management and submits it 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 analyzed quantum circuits are scanned using the waveform calculation module, and the corresponding waveforms are generated according to the stored waveform parameters and the mapping relationship between quantum components and classical hardware; the task scheduling module is used to scan and process the obtained circuits in a serial and parallel manner; the sorted circuits are scanned using the circuit output, and the hardware setting parameters and circuit waveforms are obtained. The control unit control process, 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 data is collected after triggering. After the trigger number * trigger interval time, all data collection is completed, and the relevant data results and parameters are stored; the quantum circuit after collecting data is scanned by the data processing module, and converted into data in a format suitable for reading by quantum components according to the mapping relationship and submitted to the data management module; the algorithm database is used to read the data measured on the current circuit through the data management module and analyze the measurement and control results. Provides real-time data display and historical data query operations through the web client.

[0094] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that 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 flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0095] It will be understood by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or couplings fall within the scope of the present invention.

[0096] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. 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 templated approach, connects to a target database using an advanced message queue protocol, and implements data and information interaction of the quantum processor parallel measurement and control system 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; The waveform calculation unit is used to generate a waveform and a control sequence according to the quantum circuit to be measured and controlled; 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 the 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. 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 to 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.

2. The system according to claim 1, wherein: The web client is connected to 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; The task manager is connected to the algorithm client, the circuit 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, wherein: The web client is based on a directory tree management mechanism and is used to receive user input commands and parameters, display the status information and measurement and control results of the quantum circuit to be measured and controlled in real time, and output the historical status information and historical measurement and control results of the quantum circuit to be measured and controlled according to the query command input by the user.

4. The system according to claim 1, wherein: The classical 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.

5. The system according to claim 1, wherein: The circuit output module is used to call and synchronize classical hardware, and execute classical hardware quality and corresponding quantum gate waveform distribution operations based on a preset sequence.

6. The system according to claim 1, wherein: 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.

7. A quantum processor parallel measurement and control method, applied to the system according to any one of claims 1 to 6, 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 the quantum hardware; Summarizing the quantum circuits to be measured and controlled to obtain a summary set, and performing parallel parsing on the quantum circuits to be measured and controlled in the summary set based on a quantum control instruction set to obtain a parsing result set; Storing the classical hardware control parameters and quantum gate waveform parameters corresponding to each analytical result in the analytical result set, and generating a quantum gate waveform using the stored quantum gate waveform parameters and the analytical result based on a mapping relationship between quantum hardware and classical hardware; Performing serial and parallel processing and sorting processing on the quantum circuit to be measured and controlled and the corresponding quantum gate waveform to obtain a sorting result, and based on the sorting result, performing data acquisition by setting the stored classical hardware control parameters and outputting the quantum gate waveform; The data obtained by data acquisition 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.

8. The method according to claim 7, 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 circuits to be measured and controlled in the sorting results to obtain classical hardware control parameters and quantum gate waveforms corresponding to the quantum circuits to be measured and controlled; The triggering number and triggering interval 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 number and the triggering interval.

Citation Information

Patent Citations

  • System for processing quantum task, method for processing quantum task and related apparatuses

    AU2023237190A1

  • Quantum computer platform based on superconducting quantum processor

    CN116341665A