A quantum computer operating system and quantum computer
By analyzing the quantum computer operating system from multiple dimensions and combining it with the physical state of the quantum processor, the problem that static analysis cannot capture dynamic fluctuations in hardware has been solved, enabling more accurate performance evaluation and optimization of quantum programs.
Patent Information
- Application Number
- CN202511214518.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2026-11-20
AI Technical Summary
Existing quantum program profiling methods cannot capture the dynamic fluctuations of quantum hardware in static analysis, resulting in unreliable profiling results and becoming a key bottleneck restricting the practical application of quantum computing.
A quantum computer operating system is provided. By running a data acquisition module, a characterization data acquisition module, and a profiling module, it collects and analyzes the runtime metadata and characterization data of quantum programs on a quantum processor, performs multi-dimensional profiling, generates performance profiling results, and combines the physical state of the quantum processor to improve the reliability of the profiling results.
It can more accurately evaluate the performance of quantum programs on quantum processors, identify performance bottlenecks, optimize the compilation strategy and hardware configuration of quantum programs, and improve the reliability of analysis results.
Smart Images

Figure CN123140290A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of quantum computing technology, specifically a quantum computer operating system and a quantum computer system. Background Technology
[0002] The core of quantum program performance profiling is to reveal the operating characteristics of quantum programs in noisy environments (such as error sources, resource consumption, and performance bottlenecks) through a systematic approach. The method needs to take into account the special characteristics of quantum computing (such as the inability to directly observe quantum states and significant hardware noise) and the analysis objectives (such as locating errors and assessing resource efficiency).
[0003] Currently, quantum program profiling is a static analysis, analyzing parameters such as the number of logic gates, circuit depth, and number of swaps during compilation. However, as quantum hardware becomes increasingly commercialized, the actual execution results of quantum programs are affected by various hardware factors, including gate error rate, readout error, and decoherence time. Static analysis cannot capture the dynamic fluctuations in hardware parameters. In the context of commercialized quantum hardware, this limitation leads to unreliable profiling results, becoming a key bottleneck restricting the practical application of quantum computing. Summary of the Invention
[0004] The purpose of this application is to provide a quantum computer operating system and a quantum computer system, which aim to improve the reliability of analysis results.
[0005] One embodiment of this application provides a quantum computer operating system, installed on a classical computing system, for linking the classical computing system and a quantum hardware system, the system comprising:
[0006] The runtime data acquisition module is used to collect runtime metadata reflecting the execution logic and resource scheduling of the compiled quantum program during the test run phase.
[0007] The characterization data acquisition module is used to acquire target data, which is characterization data reflecting the physical performance and state of the quantum processor during the execution of the compiled quantum program;
[0008] The profiling module is used to perform multi-dimensional profiling of the execution performance of the quantum program on the quantum processor based on the runtime metadata and the characterization data, and generate performance profiling results.
[0009] Optionally, the runtime metadata includes at least one of the following:
[0010] The execution timestamp of a quantum gate; the actual execution order of a quantum gate operation sequence; the measurement results of repeated runs; the mapping relationship and layout of qubits; the gate error rate of a quantum gate; and read errors.
[0011] Optionally, the target data includes at least one of the following:
[0012] Measurements of the energy relaxation time of a qubit; measurements of the phase relaxation time of a qubit; qubit occupancy state; crosstalk between qubits.
[0013] Optionally, the profiling module performs at least one of the following analyses:
[0014] Quantum gate delay analysis;
[0015] Scheduling path analysis, which includes at least one of the following: analysis of whether the scheduling path is optimal or analysis of whether the layout has redundant switching gates;
[0016] Error analysis, wherein the error analysis includes at least one of the following: analysis of the impact of the gate error rate of each quantum gate on the overall fidelity of the quantum program, analysis of whether the physical bit error rate / or gate error rate is abnormal, and analysis of the correlation between the physical bit error rate and the utilization rate;
[0017] Analysis of the impact of quantum program fidelity;
[0018] Analysis of the effects of decoherence;
[0019] Operational stability analysis, wherein the operational stability analysis includes at least one of the following: distribution variation of measurement results from multiple runs, and verification of whether the reading error is consistent with the reading error obtained from reading calibration;
[0020] Resource utilization analysis;
[0021] Based on gate fidelity, we analyze the expected failure rate of quantum gates mapped to different physical bits;
[0022] By utilizing the crosstalk relationship between qubits, we can analyze the qubits that are avoided during scheduling.
[0023] Optionally, the optimality of the scheduling path can be analyzed in any of the following ways:
[0024] By utilizing the actual execution order of quantum gate operation sequences, the total circuit depth and / or parallelism are determined. The determined total circuit depth and / or parallelism are then compared with the ideal scheduling result to determine whether the current scheduling path is optimal.
[0025] A scheduling path cost model is constructed using the state of physical bits and the real-time relaxation time measurement of quantum bits to determine whether the current scheduling path is optimal.
[0026] Alternatively, the analysis of whether there are redundant switching gates in the layout is as follows:
[0027] Count the number of swapping gates in the current quantum program;
[0028] Using the quantum bit mapping relationship and layout, the sum of physical distances between the mapped quantum gates is calculated, wherein the physical distance is determined by the spacing of the physical bits acted upon by the quantum gates on the quantum processor;
[0029] Based on the comparison of the current and previous statistics and the total calculated, it is determined whether there are redundant switching gates in the layout.
[0030] Optionally, the decoherence effect analysis includes:
[0031] Based on the historical time series of energy relaxation time measurements of qubits, combined with the quantum program execution timestamp, the relaxation time measurement most recent at the execution timestamp is determined;
[0032] Based on the most recent relaxation time measurement and the execution timestamp of each quantum gate, calculate the probability of decoherence for each quantum gate;
[0033] The decoherence probability of the quantum program is calculated using the probability of decoherence occurring at each quantum gate.
[0034] Optionally, the quantum program fidelity impact analysis includes:
[0035] Using the execution timestamp of the quantum gate, the energy relaxation time measurement of the corresponding physical bit, the phase relaxation time measurement of the quantum bit, and the gate error rate of the quantum gate as influencing factors, a Bayesian network model, a linear regression model, or a factor graph model is constructed and trained to characterize the decreasing trend of quantum program fidelity over time.
[0036] Using the trained model, we analyze the impact of each influencing factor on the fidelity of quantum programs.
[0037] Optionally, the system further includes a feedback optimization module.
[0038] The feedback optimization module is used to feed back the performance profiling results to at least one of the compiler, scheduler, error mitigation module, or user terminal to drive the optimization iteration of the quantum program or hardware configuration.
[0039] Optionally, the system also includes a visualization module.
[0040] The visualization module is used to transform the performance profiling results into an interactive view.
[0041] Another embodiment of this application provides a quantum computer system, characterized in that the quantum computer includes a classical computing system and a quantum hardware system, the classical computing system is equipped with a quantum computer operating system as described in any of the above embodiments, and the quantum computer operating system is used to link the classical computing system and the quantum hardware system.
[0042] Compared with existing technologies, this application not only considers the program's own logic and scheduling, but also incorporates the physical state of the quantum processor during actual operation. This data more realistically reflects the execution of the quantum program on the hardware, allowing for a more accurate assessment of the program's performance on the quantum processor and improving the reliability of the analysis results. Attached Figure Description
[0043] Figure 1 An example system block diagram of a quantum computer system provided for embodiments of this application;
[0044] Figure 2 A structural diagram of a quantum computer operating system provided in an embodiment of this application; Detailed Implementation
[0045] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0047] Classical computers use transistors to encode information in binary data, such as bits, where each bit can represent a value of 1 or 0. These 1s and 0s act as switches to drive the functions of a classical computer. If there are n bits of data, there are 2^n possible classical states, and one state is represented at a time.
[0048] Quantum computers use quantum processors that operate on data represented by qubits, also known as quantum bits. A qubit can represent the classical binary states "0" or "1", or a superposition of "0" and "1". Because it can represent a superposition of "0" and "1", a qubit can represent both "0" and "1" states simultaneously. For example, if there are n bits of data, n quantum states can be represented simultaneously. Furthermore, qubits in a superposition can be correlated with each other, a phenomenon known as entanglement. The state of one qubit (whether it's 1, 0, or both) can depend on the state of another qubit, and more information can be encoded within two entangled qubits. Based on the principles of superposition and entanglement, qubits enable quantum computers to perform functions that might be relatively complex and time-consuming for classical computers.
[0049] Please refer to Figure 1This illustration shows an example system block diagram of a quantum computer system provided in one embodiment of this application. The quantum computer system can be a hybrid computing system comprising a combination of one or more quantum hardware systems and classical computing systems. Figure 1 In the example shown, the quantum computer system may include a quantum hardware system 11 and a classical computing system 12. In one implementation, the quantum hardware system 11 and the classical computing system 12 may be configured to communicate via one or more wired and / or wireless connections (e.g., wireless networks). The quantum hardware system 11 may include a quantum processor group consisting of one or more quantum processors, the quantum processor group including various hardware components for processing data encoded in qubits. The quantum processor group may be a quantum computing core surrounded by infrastructure to protect the quantum processors from electromagnetic noise sources, mechanical vibration sources, heat sources, and other noise sources that can degrade the performance of the quantum processors. The classical computing system 12 may be electronically integrated with the quantum hardware system 11 via any suitable wired and / or wireless electronic connection.
[0050] exist Figure 1 In the example shown, the quantum hardware system 11 can be any suitable set of components capable of performing quantum operations on a physical system. Quantum operations, for example, can be quantum logic gate operations that manipulate the quantum states of qubits to evolve and / or become entangled. Figure 1 In the illustrated example embodiment, the quantum hardware system 11 may include a measurement and control unit 111, an interface 112, and a quantum processor 113. In some embodiments, all or part of each of the measurement and control unit 111, interface 112, and quantum processor 113 may be located in a cryogenic environment to facilitate the performance of quantum operations. The quantum processor 113 may be any hardware capable of processing information using quantum states. This hardware may include multiple qubits and means for coupling or entanglement of the qubits to process information using quantum states. Qubits may include, but are not limited to, charge qubits, flux qubits, phase qubits, spin qubits, and ion qubits. The quantum processor may include a set of quantum logic gates configured to perform quantum logic operations on the qubits stored in a quantum register. Quantum gates may include one or more single-qubit gates, two-qubit gates, and / or other multi-qubit gates.
[0051] The measurement and control unit 111 can be any combination of digital computing devices capable of performing quantum computing (e.g., executing quantum circuits) in conjunction with interface 112. This digital computing device may include a digital processor and memory for storing and executing quantum instructions using interface 112. The digital computing device may also include a communication protocol device for receiving instructions and sending the results of the performed quantum computing to a classical computer. Additionally, the digital computing device may include a communication interface having interface 112. In one embodiment, the measurement and control unit 111 may be configured to receive classical instructions (e.g., from classical computing system 12) and convert these classical instructions into measurement and control instructions for interface 112. The measurement and control instructions provided by the measurement and control unit 111 to interface 112 may be, for example, digital signals indicating which quantum gates in a quantum system need to be applied to the qubits to perform a specific function. Interface 112 may be configured to convert these digital signals into analog signals (e.g., analog pulses of microwave pulses), which can be used to apply quantum gates to the qubits to manipulate the interactions between them.
[0052] Interface 112 may be a classical-quantum interface, comprising a combination of devices capable of receiving instructions from the integrated measurement and control unit 111 and converting those instructions into a means for implementing quantum operations. In one embodiment, interface 112 may convert instructions from the integrated measurement and control unit 111 into drive signals capable of driving or manipulating qubits, and / or applying quantum gates to qubits. Additionally, interface 112 may be configured to convert signals received from the quantum processor 113 into digital signals capable of being processed and transmitted by the integrated measurement and control unit 111. Devices included in interface 112 may include, but are not limited to, digital-to-analog converters, analog-to-digital converters, waveform generators, attenuators, amplifiers, optical fibers, lasers, and filters. Interface 112 may further include circuitry configured to measure multiple qubits after a quantum gate is applied, wherein the measurement may produce results represented in classical bits. Each measurement performed by interface 112 may be read out to a device connected to the quantum hardware system 11, such as a classical computing system 12. The multiple measurement results provided by interface 112 may represent probabilistic results.
[0053] The classical computing system 12 can include hardware components such as processors and storage devices (e.g., including memory devices and classical registers) for processing data encoded in classical bits. In one embodiment, the classical computing system 12 can be configured to provide various control signals, instructions, and data encoded in classical bits to the quantum hardware 11. Further, quantum states measured by the quantum hardware 11 can be read out by the classical computing system 12, and the classical computing system 12 can store the measured quantum states as classical bits in classical registers. In one embodiment, the classical computing system 12 can be any suitable combination of computer-executable hardware and / or computer-executable software capable of executing the computing module 122 to perform quantum computing using data stored in the storage module 121 as part of the construction and computation. The storage module 121 can be a repository for data to be analyzed using a quantum computing algorithm and the results of that analysis. The computing module 122 can be a program or module capable of preparing classical data from the storage module 121 as part of a quantum circuit implementation. The computing module 122 can be instantiated as part of a larger algorithm, such as a function call to an application programming interface (API), or by resolving hybrid classical-quantum computing into aspects of quantum and classical computing. For example, computing module 122 can generate instructions for creating quantum circuits using quantum gates. In an embodiment, such instructions can be stored by the measurement and control unit 111 and executed by instantiating components of interface 112, so that quantum operations of quantum gates can be performed on quantum processor 113.
[0054] The classic computing system 12 can be a laptop computer, desktop computer, vehicle-integrated computer, smart mobile device, tablet device, and / or any other suitable classic computing device. Additionally or alternatively, the classic computing system 12 can also operate as part of a cloud computing service model, such as Software as a Service (SaaS), Platform as a Service (PaaS), or Infrastructure as a Service (IaaS). The classic computing system 12 can also reside in a cloud computing deployment model, such as a private cloud, community cloud, public cloud, or hybrid cloud.
[0055] Quantum circuits, also known as quantum logic circuits, are a manifestation of quantum programming and the most commonly used general-purpose quantum computing model. They represent circuits that operate on qubits under an abstract concept. Their components include qubits, circuits (timelines), and various quantum logic gates. Finally, the results are often read out through quantum measurement operations. Unlike traditional circuits that use metal wires to transmit voltage or current signals, in quantum circuits, the circuits can be viewed as being connected by time. That is, the state of the qubits evolves naturally over time, following the instructions of Hamiltonian operators until they encounter a logic gate and are manipulated.
[0056] A quantum program corresponds to a total quantum circuit. The quantum program described in this invention refers to this total quantum circuit, where the total number of qubits in the total quantum circuit is the same as the total number of qubits in the quantum program. This can be understood as follows: a quantum program can consist of a quantum circuit, measurement operations on the qubits within the quantum circuit, registers storing the measurement results, and control flow nodes (jump instructions). A quantum circuit can contain dozens, hundreds, or even thousands of quantum logic gate operations. The execution process of a quantum program is the process of executing all the quantum logic gates according to a certain timing order. It should be noted that the timing order refers to the chronological sequence in which individual quantum logic gates are executed.
[0057] It's important to note that in classical computing, the most basic unit is the bit, and the most fundamental control mode is the logic gate. Circuit control can be achieved through combinations of logic gates. Similarly, the way to process qubits is through quantum logic gates. Quantum logic gates enable the evolution of quantum states and are the foundation of quantum circuits. Quantum logic gates include single-qubit gates, such as Hadamard gates (H-gates), Pauli-X gates (X-gates), Pauli-Y gates (Y-gates), Pauli-Z gates (Z-gates), RX gates, RY gates, RZ gates, etc.; and multi-qubit quantum logic gates, such as CNOT gates, CR gates, iSWAP gates, Tofoli gates, etc. Quantum logic gates are generally represented using unitary matrices, which are not only matrix forms but also operations and transformations. Generally, the effect of a quantum logic gate on a quantum state is calculated by left-multiplying the unitary matrix by the matrix corresponding to the right vector of the quantum state.
[0058] In software development, performance optimization is often an ongoing task. Whether it's a backend service handling large amounts of data or a frontend application requiring rapid response to user requests, performance optimization is crucial for improving user experience and system stability. However, many developers, when faced with performance bottlenecks, often rely solely on intuition or experience to make optimization decisions. Quantifying code execution performance is a necessary step to effectively identify performance bottlenecks. Quantum programs are complex structures that typically require detailed analysis to understand their performance characteristics. However, current quantum program profiling is static, analyzing the number of logic gates, circuit depth, number of swaps, etc., during compilation. As quantum hardware becomes increasingly commercialized, the actual execution results of quantum programs are affected by various hardware factors, including gate error rate, readout error, and decoherence time. Static analysis cannot capture the dynamic fluctuations of hardware parameters. In the context of quantum hardware commercialization, this limitation leads to unreliable profiling results, becoming a key bottleneck restricting the practical application of quantum computing. Therefore, the applicant innovatively proposes a quantum computer operating system.
[0059] See Figure 2 , Figure 2This is a schematic diagram of a quantum computer operating system provided in an embodiment of this application. The system is installed on a classical computing system and is used to link the classical computing system and the quantum hardware system. It may include a runtime data acquisition module 201, a characterization data acquisition module 202, and a profiling module 203. The runtime data acquisition module 201 is used to collect runtime metadata reflecting the execution logic and resource scheduling of the compiled quantum program during the test run phase. The characterization data acquisition module 202 is used to obtain target data, which is characterization data reflecting the physical performance and state of the quantum processor during the execution of the compiled quantum program. The profiling module 203 is used to perform multi-dimensional profiling of the execution performance of the quantum program on the quantum processor based on the runtime metadata and the characterization data, generating performance profiling results.
[0060] The classical computing system is responsible for compiling quantum programs, optimizing parameters, and controlling logic. The quantum hardware system (containing quantum processors) is responsible for executing quantum operations of the quantum programs. The operating system, through data acquisition and analysis, connects the program logic on the classical side with the hardware state on the quantum side, achieving collaborative optimization between the two.
[0061] The runtime data acquisition module 201 acquires data on the execution process of the quantum program from the software logic and scheduling strategy level. The characterization data acquisition module 202 obtains the basic hardware state during the execution of the quantum program from the hardware physical characteristics level. This is used to capture the potential impact of hardware on program execution, i.e., the characterization data (objective physical parameters at the hardware level) reflecting the physical performance and state of the quantum processor during program execution. The analysis module 203 performs multi-dimensional analysis based on the two types of data. The multi-dimensional analysis can include program execution efficiency, resource utilization, hardware impact, and scheduling rationality. The output is the performance analysis result, i.e., a comprehensive evaluation report, which can identify bottlenecks in program execution, performance optimization directions, etc.
[0062] This application not only considers the program's own logic and scheduling, but also incorporates the physical state of the quantum processor during actual operation. This data more realistically reflects the execution of the quantum program on the hardware, allowing for a more accurate evaluation of the program's performance on the chip.
[0063] The operating system in this application breaks through the limitations of traditional quantum program evaluation, which only focuses on software output results or only monitors isolated hardware states, by bidirectionally acquiring and integrating software logic data and hardware physical data. It can clarify whether the program performance degradation is due to software logic defects (such as unreasonable scheduling) or hardware physical limitations (such as excessive noise) through multi-dimensional analysis. Based on the analysis results, it can also optimize quantum program compilation strategies (such as adjusting quantum gate sequences), resource scheduling algorithms (such as dynamically allocating low-noise bits), or hardware calibration schemes (such as updating compensation parameters based on state data).
[0064] In practice, runtime metadata may include at least one of the following:
[0065] The execution timestamp of a quantum gate; the actual execution order of a quantum gate operation sequence; the measurement results of repeated runs; the mapping relationship and layout of qubits; the gate error rate of a quantum gate; and the read error rate.
[0066] The execution timestamp of a quantum gate records the actual start / end time of each quantum gate's execution, used to analyze timing rationality, gate operation delays, etc. The actual execution order of the quantum gate operation sequence is affected by hardware constraints after the quantum program is compiled; this data can be used to compare the theoretical and actual order to evaluate the effectiveness of the scheduling strategy. The measurement results from repeated runs of the same quantum program are the output measurements, used to analyze the program's stability. The quantum bit mapping relationship and layout refer to the allocation of logical bits to physical bits on the actual hardware, and optimizing their layout to adapt to the data generated by hardware connectivity and operational constraints. The layout determines the initial mapping relationship between logical bits and physical bits. The gate error rate of a quantum gate is the probability of error during actual execution, which can be used to locate the impact of high-error-rate gates on the program. The read error rate is the probability of error during quantum state measurement (e.g., misreading |0> as |1>), which can be used to analyze the interference of the measurement process on the final result.
[0067] In some implementations, the target data may include at least one of the following:
[0068] Measurements of the energy relaxation time of a qubit; measurements of the phase relaxation time of a qubit; qubit occupancy state; crosstalk between qubits.
[0069] The energy relaxation time (T1) of a qubit is the time it takes for the qubit to spontaneously return from an excited state to its ground state, measuring its ability to maintain its energy state. A shorter T1 indicates faster decoherence. The phase relaxation time (T2) of a qubit is the time it takes for the qubit to lose phase information, measuring its ability to maintain a quantum superposition state. A shorter T2 indicates a larger phase error. Qubit occupancy status records whether each physical bit is occupied by the current program or other tasks, used to analyze resource utilization and conflicts. Crosstalk between qubits refers to the degree of mutual interference between adjacent or associated physical bits (e.g., the impact of one bit operation on the state of another bit), used to guide scheduling to avoid highly crosstalk paths.
[0070] Using the above runtime metadata and target data, the execution performance of quantum programs can be analyzed from multiple dimensions. Specific analysis content may include at least one of the following:
[0071] Quantum gate delay analysis;
[0072] Scheduling path analysis, which includes at least one of the following: analysis of whether the scheduling path is optimal or analysis of whether the layout has redundant switching gates;
[0073] Error analysis, wherein the error analysis includes at least one of the following: analysis of the impact of the gate error rate of each quantum gate on the overall fidelity of the quantum program, analysis of whether the physical bit error rate / or gate error rate is abnormal, and analysis of the correlation between the physical bit error rate and the utilization rate;
[0074] Analysis of the impact of quantum program fidelity;
[0075] Analysis of the effects of decoherence;
[0076] Operational stability analysis, wherein the operational stability analysis includes at least one of the following: distribution variation of measurement results from multiple runs, and verification of whether the reading error is consistent with the reading error obtained from reading calibration;
[0077] Resource utilization rate analysis;
[0078] Based on gate fidelity, we analyze the expected failure rate of quantum gates mapped to different physical bits;
[0079] By utilizing the crosstalk relationship between qubits, we can analyze the qubits that are avoided during scheduling.
[0080] It should be noted that quantum gate delay analysis involves statistically analyzing the actual execution time of different types of quantum gates, identifying quantum gates with abnormal delays, and optimizing timing arrangements.
[0081] Practical gate delay calculation method: Calculate the difference between the start and end times in the execution timestamp of the quantum gate. If time synchronization is supported, the timelines of the physical bits can also be aligned for comparative analysis. Compare the actual gate delay with the theoretical gate delay to obtain the gate delay analysis results. Based on the gate delay analysis results, the accuracy of gate operation can be calibrated and optimized, such as optimizing pulse timing. The quantum gate delay directly determines the time the quantum state is exposed to the environment during operation. By analyzing the delay, long-delay quantum gates can be identified and optimized in a targeted manner (such as improving manipulation accuracy and simplifying physical implementation), thereby shortening the quantum state retention time and reducing the error rate caused by decoherence; resource allocation optimization can also be performed. Delay analysis can guide the mapping strategy of qubits, such as mapping frequently interacting qubits to locations with better physical connections and lower delays, reducing the delay of cross-link operations.
[0082] Meanwhile, by optimizing the delay distribution (such as reducing gate delays on the critical path), the total runtime of quantum programs can be shortened, thus improving computational efficiency. For example, in quantum chemical simulations, reducing the multi-quantum gate delays after Hamiltonian decomposition can accelerate the molecular energy calculation process.
[0083] The delay characteristics of quantum gates are directly related to their physical implementation (e.g., microwave pulse duration for superconducting qubits, laser manipulation time for ion traps, photon interference time for optical quantum gates). Delay analysis can reveal hardware bottlenecks. For example, if the delay of a two-qubit quantum gate is much higher than that of a single-qubit quantum gate, it may reflect insufficient coupling efficiency of multiple qubits in the hardware, requiring improvements to the connection structure or manipulation precision between physical qubits.
[0084] The scheduling path is the execution order of quantum gates, i.e., which quantum gate executes at which time. Scheduling path analysis essentially evaluates the rationality of resource scheduling. It is a systematic evaluation process of the gate operation sequence and resource allocation when a quantum program is executed on hardware. Its core objective is to optimize the execution efficiency of the quantum program, ensuring it runs with the highest possible fidelity under hardware constraints. Specific analyses may include evaluating whether the scheduling path used to assess the efficiency of the current scheduling strategy is optimal, checking for unnecessary operations introduced by hardware connectivity limitations, and identifying redundant gate swapping.
[0085] In practical implementation, the optimality of the scheduling path is determined by any of the following:
[0086] By utilizing the actual execution order of quantum gate operation sequences, the total circuit depth and / or parallelism are determined. The determined total circuit depth and / or parallelism are then compared with the ideal scheduling result to determine whether the current scheduling path is optimal.
[0087] A scheduling path cost model is constructed using the state of physical bits and the real-time relaxation time measurement of quantum bits to determine whether the current scheduling path is optimal.
[0088] If the total depth of the current scheduling path is less than or equal to the ideal total depth (allowing for minor hardware constraint errors), and / or the parallelism is close to the theoretical maximum value, then the scheduling path is close to optimal; conversely, if the total depth is significantly greater than the ideal value, or if a large number of gates are executed serially (low parallelism), then the path is not optimal.
[0089] Furthermore, considering the limitations imposed on scheduling by the physical characteristics of qubits, a cost model can be constructed to evaluate the rationality of scheduling. Based on the physical state of the qubits and the measured real-time relaxation time, a scheduling path cost model is built. This cost model is then used to evaluate the overall performance of the current scheduling path; the path with the lowest cost is considered optimal.
[0090] In some embodiments of this application, the analysis of whether there is redundant switching gates in the layout can be as follows:
[0091] Count the number of swapping gates in the current quantum program;
[0092] Using the quantum bit mapping relationship and layout, the sum of physical distances between the mapped quantum gates is calculated, wherein the physical distance is determined by the spacing of the physical bits acted upon by the quantum gates on the quantum processor;
[0093] Based on the comparison of the current and previous statistics and the total calculated, it is determined whether there are redundant switching gates in the layout.
[0094] In this application, SWAP gates can be used as switching gates. Switching gates are auxiliary operations added to adapt to hardware connectivity limitations (such as the inability of non-adjacent physical bits to interact directly). Redundant switching gates increase the number of operations and errors. Physical distance can be the shortest distance to establish a connection between two physical bits in the topology. Distance refers to the number of edges. The greater the distance, the higher the risk of noise and error in quantum gate operations. Therefore, the layout should minimize the physical distance. Switching gates themselves do not directly participate in the core computational logic; they are only used to adapt to the connectivity limitations of physical bits. Therefore, their number is a fundamental indicator of layout simplicity. Theoretically, the fewer switching gates required to implement the logical function, the better.
[0095] Based on the current qubit mapping and layout, all quantum gates in the program are traversed. For each quantum gate, the physical distance between the two physical bits it interacts with is calculated on the processor hardware. The physical distances of all quantum gates are summed to obtain the total distance. The smaller the total distance, the better the connection of the physical bits in the layout is adapted to the logical operation, and the lower the risk of operational error. Based on the comparison of the current and previous indicators, it is determined whether there are redundant swap gates. The previous indicator refers to the qubit mapping and layout determined in the last time. If the number of swap gates is more than before, but the total physical distance does not decrease (or even increases): it means that the newly added swap gates do not optimize the connection and are redundant. If the number of swap gates remains the same or decreases, and the total physical distance decreases: it means that the layout is better and there is no redundancy. If the number of swap gates increases, and the total physical distance decreases significantly: then the newly added swap gates are necessary (to adapt to the hardware connection) and are not redundant.
[0096] In quantum computing, errors are unavoidable due to the fragility of qubits (susceptibility to noise and decoherence) and the imperfections of quantum gate operations. Error analysis is a crucial step in identifying error sources, assessing their impact, and optimizing quantum programs or hardware.
[0097] The overall fidelity of a quantum program measures how close its execution result is to the ideal result (higher fidelity means fewer errors). The overall fidelity of a quantum program is influenced by the error rates of all quantum gates; the overall fidelity of a quantum program is ~∏. g∈G (1-∈ g ), where ∈ g Let g be the error rate of the g-th gate. Specifically, a Bayesian network or linear regression can be used to model the impact of the error rate of each gate on the overall fidelity. This assesses the contribution weight of the error rate of individual quantum gates to the overall fidelity. For example, the error rate of gates acting on the critical path has a greater impact on the overall fidelity, while the error rate of single-qubit gates has a relatively smaller impact. This identifies quantum gates with excessively high error rates that significantly affect the overall fidelity, providing a basis for subsequent optimizations (such as gate calibration and path replacement).
[0098] The physical bit error rate (PBER) is the probability of errors caused by relaxation, decoherence, etc., within a physical bit itself. An error rate deviating from the normal range (e.g., baseline value, historical average) may be caused by hardware failure, environmental interference, or calibration failure. The focus is on identifying unexpected errors to prevent their accumulation from affecting program results. Specific steps include: establishing normal ranges for the PBER and gate error rates using historical data or hardware nominal values; measuring the actual error rates of physical bits and quantum gates using a dedicated calibration program (e.g., random benchmark testing); comparing these rates to identify anomalies; if the current error rate significantly exceeds the normal range or the fluctuation frequency is abnormal, it is considered an anomaly. Analyzing whether the PBER and / or gate error rates are abnormal allows for timely detection of hardware or calibration problems, preventing the execution of critical programs when error rates are abnormal and reducing unnecessary computations.
[0099] Physical bit utilization refers to the frequency with which a physical bit is used in a quantum program. Analyzing the correlation between physical bit error rate and utilization explores whether physically bit digits with high utilization are more prone to increased error rates. The error rate of a physical bit may change with increasing usage intensity (e.g., frequent operations leading to energy accumulation or increased environmental interference). By statistically analyzing the utilization rate of each physical bit and comparing the error rates of bits with different utilization rates, we can determine whether bits with high utilization rates have significantly higher error rates than those with low utilization rates. A correlation model can be established to quantify the relationship between utilization and error rate. If a strong correlation exists, the overall error rate can be reduced by balancing bit utilization (e.g., distributing high-load operations across multiple bits). Analyzing the relationship between utilization and error rate also allows us to limit the utilization rate of physical bits within a reasonable range.
[0100] In quantum computing, operational stability analysis is a way to assess the reliability of quantum programs. Noise and the fragility of quantum states can cause fluctuations in measurement results when the same program is run multiple times. Statistical stability analysis quantifies these fluctuations, directly reflecting the degree of hardware noise variation, and provides a core basis for improving result reliability and optimizing resources. Ideally, when the same quantum program is run repeatedly under the same conditions, the probability distribution of its measurement results should remain stable; if the distribution differs significantly, it indicates that the hardware is strongly affected by noise and exhibits high fluctuations. The core objective of the analysis is to objectively describe this stability through quantitative indicators, rather than relying on subjective judgment. The specific method is:
[0101] The quantum program is run independently and repeatedly. After each run, the complete measurement output is recorded. The stability is quantified by calculating the differences between the output distributions of multiple runs. Specifically, the differences can be measured using KL divergence or Hellinger distance. If the KL divergence or Hellinger distance between the distributions of multiple runs does not exceed a preset range, it indicates that the distribution differences are small, the measurement results have statistical stability, and the hardware noise fluctuation is low. Conversely, it indicates strong hardware noise fluctuation and poor measurement stability.
[0102] When statistical stability is poor (large distribution fluctuations), the results of a single measurement may be distorted by transient noise. In this case, it is necessary to reduce the impact of noise and improve the reliability of the results by averaging the results (taking the average of the probability distributions of multiple measurements) or by voting enhancement (selecting the state with the highest frequency as the final output). If the stability is high (small distribution fluctuations), reliable results can be obtained with a small number of measurements, without additional operations, saving computational resources. Different physical regions of a quantum chip (such as edge qubits and center qubits) are affected to varying degrees by environmental noise and crosstalk, resulting in differences in stability. By executing the same program on qubits in different regions and analyzing statistical stability, regions with small KL divergence / Hellinger distance (small distribution fluctuations) are preferentially selected for mapping to reduce the interference of noise on the results. Regions with poor stability (such as regions with significant distribution differences in multiple runs) are avoided to prevent computational failures due to hardware fluctuations.
[0103] Read errors occur during quantum program execution due to deviations between the actual bit state obtained from multiple measurements and the actual measurement results. Read errors obtained through read calibration are inherent errors in the read system obtained through pre-calibration. By comparing the read errors with those obtained through read calibration, it is determined whether they are consistent. If the deviation is within an acceptable range, they are considered consistent; if the deviation is significant, they are considered inconsistent. Inconsistency indicates potential drift in the measurement system (e.g., environmental changes, hardware aging) or outdated calibration data. In such cases, methods such as enabling dynamic read error mitigation, real-time correction of measurement data based on actual measurement error statistics, and recalibration are necessary to ensure the reliability of the quantum program's measurement results.
[0104] In some embodiments of this application, decoherence impact analysis quantifies the effect of decoherence on quantum programming. This is specifically achieved through the following steps:
[0105] Based on the historical time series of energy relaxation time measurements of qubits, combined with the quantum program execution timestamp, the relaxation time measurement most recent at the execution timestamp is determined;
[0106] Based on the most recent relaxation time measurement and the execution timestamp of each quantum gate, calculate the probability of decoherence for each quantum gate;
[0107] The decoherence probability of the quantum program is calculated using the probability of decoherence occurring at each quantum gate.
[0108] Based on the historical measurement sequence of the energy relaxation time (T1) of qubits (such as T1 values at different time points), combined with the execution timestamps of quantum gates, the T1 measurement value closest to the execution time of each quantum gate is found, thus ensuring data timeliness. Based on the T1 measurement value closest to the execution time of each quantum gate and the corresponding execution time of the quantum gate, the probability of decoherence during the execution of each quantum gate is calculated using the following formula:
[0109]
[0110] Here, Δt is determined by the execution timestamp of the quantum gate, and T1 is the T1 measurement closest to the execution time of each quantum gate.
[0111] By combining the decoherence probabilities of all quantum gates and superimposing the probabilities, we obtain the total probability of errors caused by decoherence in the entire quantum program, and assess the overall impact of decoherence.
[0112] In some embodiments of this application, the quantum program fidelity impact analysis can quantify the influence of various factors on fidelity through modeling, specifically as follows:
[0113] Using the execution timestamp of the quantum gate, the energy relaxation time measurement of the corresponding physical bit, the phase relaxation time measurement of the quantum bit, and the gate error rate of the quantum gate as influencing factors, a Bayesian network model, a linear regression model, or a factor graph model is constructed and trained to characterize the decreasing trend of quantum program fidelity over time.
[0114] Using the trained model, we analyze the impact of each influencing factor on the fidelity of quantum programs.
[0115] When modeling, the influencing factors are first identified, including the execution timestamp of the quantum gate (corresponding to decoherence time), the T1 / T2 measurement value of the corresponding physical bit (decoherence capability), and the gate error rate of the quantum gate (operational accuracy). Based on these influencing factors, a statistical model (such as Bayesian networks, linear regression, or factor graphs) is constructed. The model output is the decreasing trend of quantum program fidelity over time (due to decoherence and error accumulation leading to decreased fidelity). The model is trained using historical data (known factors and their corresponding fidelities) to improve prediction accuracy. Using the trained model, the influence weight of each factor on fidelity is quantified. This can then be used to assess fidelity under mapping or scheduling strategies, guide the selection of the optimal scheduling path, and warn of inappropriate physical bit configurations or scheduling structures.
[0116] Quantum computing requires the collaboration of multiple qubits, ideally with each physical bit continuously participating in computation. However, if some qubits are idle without being assigned quantum gate operations, it indicates a flaw in the scheduling logic. This increases the total execution time of the quantum program and may also increase the probability of quantum state decoherence due to environmental noise caused by prolonged idleness. Therefore, resource utilization analysis is necessary, specifically analyzing whether pipeline stalls exist and whether control resources are fully utilized. The criterion for pipeline stalls is whether there are any idle physical bits within the same time period while other gates are not scheduled. If so, the pipeline is considered stalled. If there are time intervals in the execution of quantum gates, and these intervals are too large and not filled by other parallel operations, it indicates that control resources (such as the parallel scheduling capability of the scheduler and the hardware's simultaneous operation support) are not being effectively utilized. To address these issues, gate reordering is performed during the compilation optimization stage to reduce waiting time, identify logically parallelizable quantum gates, and schedule them as a group of operations that can be executed simultaneously, improving the hardware's parallel utilization. If the stalls are due to hardware channel conflicts, qubit remapping can be considered to optimize scheduling efficiency and improve the resource utilization and execution speed of quantum computing.
[0117] The gate fidelity matrix is dynamically transformed. Based on the gate fidelity, the expected failure rate of mapping a quantum gate to different physical bits is analyzed. Specifically, the fidelity of the target physical gate is read from the gate fidelity matrix; for example, the fidelity of CNOT(Q1,Q2) is 0.95. The expected failure rate after mapping is calculated as 1 - 0.95 = 0.05. Based on the expected failure rate, the total failure rates of different mapping schemes are compared, and the optimal solution is selected.
[0118] By utilizing the crosstalk relationship between qubits, we can analyze the qubits avoided during scheduling. Essentially, this involves avoiding qubits (or pairs) with high crosstalk during the scheduling / mapping phase. This helps to reduce coherence errors and correlation errors by avoiding high crosstalk regions when selecting parallel gates or placing key gates.
[0119] Multi-dimensional analysis can also determine whether a physical bit is in a hot qubit state. This typically refers to determining whether the physical bit has been excited to a high-energy state (e.g., state 1) before measurement due to environmental interference. This affects the accuracy of quantum state preparation and measurement, especially the reliability of an initial state of 0. This can be determined as follows: without applying any gate operations to the target physical bit, perform one or more measurements directly. Theoretically, the results should all be in state 0. The probability of a state 1 appearing in multiple measurements is then calculated and denoted as P. hot If P hot A value >0.01 is generally considered to indicate that the physical bit is hot; if
[0120] P hot A value >0.05 is generally considered to be a hot bit and should be avoided or corrected.
[0121] In some implementations, the quantum computer operating system may also include a feedback optimization module, which is crucial for connecting performance analysis and actual optimization. Its function is to feed back the performance profiling results generated by the profiling module (such as non-optimal scheduling paths, abnormal bit error rates, or the presence of redundant switching gates) to at least one of the following:
[0122] Compiler: Guides the compiler to adjust compilation strategies (such as optimizing quantum gate mapping and reducing redundant swap gates);
[0123] Scheduler: Drives the scheduler to dynamically adjust resource allocation (e.g., avoid high crosstalk bits and prioritize the use of high-fidelity bits);
[0124] Error mitigation module: Provides parameters for the error mitigation algorithm (such as the location of high error rate gates), and drives the error mitigation module to choose to actively insert redundant coding or test for errors;
[0125] User terminal: Show users performance bottlenecks (such as unreliable results due to severe decoherence in the program), guide users to adjust the quantum program logic, or suggest users choose a different quantum processor.
[0126] Through the feedback optimization module, performance analysis results are transformed into specific optimization actions, enabling iterative upgrades of quantum programs or hardware configurations and forming a closed loop of "analysis-feedback-optimization".
[0127] In some implementations, the quantum computer operating system may also include a visualization module to transform performance profiling results into intuitive, interactive views, improving the usability of the analysis results. Specifically, the visualization module transforms the complex performance data output by the profiling module (such as multi-dimensional analysis results, probability distributions, error rate statistics, etc.) into user-friendly interactive views, which may include:
[0128] A quantum gate timing diagram showing the execution order, timestamps, and delay distribution of quantum gates;
[0129] A radar chart of fidelity influence factors that visually presents the weight of each factor on fidelity.
[0130] An error heatmap is used to label the error rate of bits with colors, where the intensity of the color represents the magnitude of the quantum gate error rate and the magnitude of the inverse fidelity function value.
[0131] The scheduling path execution graph can be represented by the time axis on the horizontal axis and the physical bit number on the vertical axis. Each colored bar represents the execution period of a quantum gate.
[0132] The curve showing the decrease in the overall fidelity of quantum programs over time;
[0133] Anomaly reports can be generated, recording pipeline stalls, high-error-rate quantum gates, high-error-rate qubits, and so on.
[0134] Interactive views (such as those supporting zooming, filtering, and detailed viewing) allow users (such as programmers and hardware engineers) to quickly pinpoint performance bottlenecks, lower the barrier to understanding complex data, and improve the efficiency of optimization decisions.
[0135] This application also provides a quantum computer system, characterized in that the quantum computer includes a classical computing system and a quantum hardware system, the classical computing system is equipped with a quantum computer operating system that implements any of the above embodiments, and the quantum computer operating system is used to link the classical computing system and the quantum hardware system.
[0136] It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not limit the implementation process of the embodiments of this application in any way.
[0137] It is understood that the various implementation methods described in this application can be implemented individually or in combination, and the implementation methods in this application are not limited in this respect.
[0138] Unless otherwise stated, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this application includes any and all combinations of one or more of the associated listed items. The singular forms "a," "the," and "the" as used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0139] It is understood that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software sub-circuits in the decoding processor. The software sub-circuits can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0140] It is understood that the memory in the embodiments of this application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Specifically, non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM). It should be noted that the memory in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0141] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0142] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the aforementioned method implementations, and will not be repeated here.
[0143] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0144] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0145] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0146] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A quantum computer operating system, characterized in that, Installed on a classical computing system, used to link the classical computing system with a quantum hardware system, the system includes: The runtime data acquisition module is used to collect runtime metadata reflecting the execution logic and resource scheduling of the compiled quantum program during the test run phase. The characterization data acquisition module is used to acquire target data, which is characterization data reflecting the physical performance and state of the quantum processor during the execution of the compiled quantum program; The profiling module is used to perform multi-dimensional profiling of the execution performance of the quantum program on the quantum processor based on the runtime metadata and the characterization data, and generate performance profiling results.
2. The system as described in claim 1, characterized in that, The runtime metadata includes at least one of the following: The execution timestamp of a quantum gate; the actual execution order of a quantum gate operation sequence; the measurement results of repeated runs; the mapping relationship and layout of qubits; the gate error rate of a quantum gate; and read errors.
3. The system as described in claim 2, characterized in that, The target data includes at least one of the following: Measurements of the energy relaxation time of a qubit; measurements of the phase relaxation time of a qubit; qubit occupancy state; crosstalk between qubits.
4. The system as described in claim 3, characterized in that, The analysis module performs at least one of the following analyses: Quantum gate delay analysis; Scheduling path analysis, which includes at least one of the following: analysis of whether the scheduling path is optimal or analysis of whether the layout has redundant switching gates; Error analysis, wherein the error analysis includes at least one of the following: analysis of the impact of the gate error rate of each quantum gate on the overall fidelity of the quantum program, analysis of whether the physical bit error rate / or gate error rate is abnormal, and analysis of the correlation between the physical bit error rate and the utilization rate; Analysis of the impact of quantum program fidelity; Analysis of the effects of decoherence; Operational stability analysis, wherein the operational stability analysis includes at least one of the following: distribution variation of measurement results from multiple runs, and verification of whether the reading error is consistent with the reading error obtained from reading calibration; Resource utilization analysis; Based on gate fidelity, we analyze the expected failure rate of quantum gates mapped to different physical bits; By utilizing the crosstalk relationship between qubits, we can analyze the qubits that are avoided during scheduling.
5. The system as described in claim 4, characterized in that, Whether the scheduling path is optimal can be analyzed in any of the following ways: By utilizing the actual execution order of quantum gate operation sequences, the total circuit depth and / or parallelism are determined. The determined total circuit depth and / or parallelism are then compared with the ideal scheduling result to determine whether the current scheduling path is optimal. A scheduling path cost model is constructed using the state of physical bits and the real-time relaxation time measurement of quantum bits to determine whether the current scheduling path is optimal. Alternatively, the analysis of whether there are redundant switching gates in the layout is as follows: Count the number of swapping gates in the current quantum program; Using the quantum bit mapping relationship and layout, the sum of physical distances between the mapped quantum gates is calculated, wherein the physical distance is determined by the spacing of the physical bits acted upon by the quantum gates on the quantum processor; Based on the comparison of the current and previous statistics and the total calculated, it is determined whether there are redundant switching gates in the layout.
6. The system as described in claim 4, characterized in that, The analysis of the decoherence effect includes: Based on the historical time series of energy relaxation time measurements of qubits, combined with the quantum program execution timestamp, the relaxation time measurement most recent at the execution timestamp is determined; Based on the most recent relaxation time measurement and the execution timestamp of each quantum gate, calculate the probability of decoherence for each quantum gate; The decoherence probability of the quantum program is calculated using the probability of decoherence occurring at each quantum gate.
7. The system as described in claim 4, characterized in that, The quantum program fidelity impact analysis includes: Using the execution timestamp of the quantum gate, the energy relaxation time measurement of the corresponding physical bit, the phase relaxation time measurement of the quantum bit, and the gate error rate of the quantum gate as influencing factors, a Bayesian network model, a linear regression model, or a factor graph model is constructed and trained to characterize the decreasing trend of quantum program fidelity over time. Using the trained model, we analyze the impact of each influencing factor on the fidelity of quantum programs.
8. The system as described in claim 1, characterized in that, The system also includes a feedback optimization module. The feedback optimization module is used to feed back the performance profiling results to at least one of the compiler, scheduler, error mitigation module, or user terminal to drive the optimization iteration of the quantum program or hardware configuration.
9. The system as described in claim 1, characterized in that, The system also includes a visualization module. The visualization module is used to transform the performance profiling results into an interactive view.
10. A quantum computer system, characterized in that, The quantum computer includes a classical computing system and a quantum hardware system. The classical computing system is equipped with a quantum computer operating system as described in any one of claims 1-9. The quantum computer operating system is used to link the classical computing system and the quantum hardware system.
