Verification method and device for quantum state control signal distortion
The method processes experimental results into black and white images to verify quantum bit control signal distortions, addressing the challenge of signal verification in quantum computing systems and ensuring accurate operations.
Patent Information
- Application Number
- CN202311257320.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
Existing technologies lack a method to effectively verify whether quantum bit control signals have undergone distortion in quantum computing systems, which can lead to errors in quantum gate operations.
A method involving the acquisition of experimental results, graph processing to convert them into black and white images, and comparison with pre-set images to determine if the quantum bit control signals have remained undistorted, using similarity algorithms to assess the structural similarity of the processed images.
This approach allows for the direct identification of quantum bit control signal distortions and determination of optimal working points by converting experimental results into black and white images and comparing them with pre-defined images, ensuring accurate quantum operations.
Smart Images

Figure CN119721277A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum computing technology, and in particular to a method and device for verifying quantum state control signal distortion. Background Art
[0002] Quantum computers are physical devices that follow the laws of quantum mechanics to perform high-speed mathematical and logical operations, store and process quantum information. The main characteristics of quantum computers are fast operation speed, strong information processing capabilities, and a wide range of applications. Compared with ordinary computers, the more information is processed, the more advantageous it is for quantum computers to perform operations, and the more accurate the operations can be.
[0003] Quantum chips are to quantum computers what CPUs are to traditional computers. Quantum chips are the core components of quantum computers. With the continuous advancement of research on quantum computing-related technologies, the number of quantum bits on quantum chips is also increasing year by year. It is foreseeable that larger-scale quantum chips will appear in the future, and the number of quantum bits in quantum chips will be greater, and quantum computers will also be equipped with larger-scale quantum chips.
[0004] The signal on the quantum state control line is used to control the quantum state of the quantum bit. Generally speaking, most of the signals of the single quantum bit gate are transmitted to the quantum bit through the quantum state control line. The circuit of the quantum state control line is usually equipped with components such as attenuators. The existence of these components makes the circuit of the quantum state control line not an ideal circuit. Therefore, when the voltage waveform output from the AWG (Arbitrary Waveform Generator) reaches the quantum bit, waveform distortion occurs. Waveform distortion refers to the application of a waveform with an amplitude of A and a time of T to the circuit of the quantum state control line at time t0. The waveform ends at time t0+T, but there is still voltage on the circuit of the quantum state control line for a period of time afterwards. This voltage is the distorted waveform. When the quantum circuit is in the process of execution, if it is necessary to apply a waveform to the quantum state control line first and then, the waveform distortion of the previous waveform will affect the latter waveform, causing errors in the final execution result of the quantum circuit.
[0005] Therefore, it is necessary to propose a solution that can verify whether the quantum state control signal of the quantum bit is distorted.
[0006] It should be noted that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0007] The purpose of the present invention is to provide a method and device for verifying the distortion of a quantum state control signal, so as to solve the problem in the prior art that there is a lack of a method for verifying whether a quantum state control signal of a quantum bit is distorted.
[0008] In order to solve the above technical problems, the present invention proposes a verification method for quantum state control signal distortion, comprising:
[0009] Obtaining an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0010] Performing image processing on the experimental result view to output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white;
[0011] Comparing the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0012] When the result of the similarity comparison meets the second preset requirement, it is determined that the quantum state control signal of the subbit to be measured is not distorted.
[0013] Optionally, performing image processing on the experimental result view to output a first black-and-white image includes:
[0014] Performing grayscale processing on the experimental result view to output a first grayscale image;
[0015] The first grayscale image is binarized to output a first black-and-white image.
[0016] Optionally, comparing the first black-and-white image with the first picture for similarity includes:
[0017] The first black-and-white image is compared with the first picture for similarity using a structural similarity algorithm.
[0018] Optionally, the second preset condition is that the result of the structural similarity algorithm is greater than or equal to 0.6.
[0019] Optionally, after outputting the first black-and-white image, the method further includes:
[0020] Obtaining the center of gravity of the first black-and-white image according to the pixel distribution of the first black-and-white image;
[0021] The center of gravity of the first black-and-white image is moved so that the center of gravity of the first black-and-white image is close to the center position of the first black-and-white image.
[0022] Optionally, the first black-and-white image is moved as a whole along a transverse direction of the first black-and-white image.
[0023] Optionally, the first picture is a black-and-white picture consisting of black and white after image processing.
[0024] Based on the same inventive concept, the present invention also proposes a verification device for quantum state control signal distortion, comprising:
[0025] an experiment result view acquisition unit, configured to acquire an experiment result view of a first experiment, wherein the first experiment is configured to acquire a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0026] An image processing unit, configured to perform image processing on the experimental result view and output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white;
[0027] a similarity comparison unit, configured to compare the first black-and-white image with a first picture for similarity, wherein the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0028] The verification unit is used to determine that the quantum state control signal of the sub-bit to be measured is not distorted when the result of the similarity comparison meets the second preset requirement.
[0029] Based on the same inventive concept, the present invention also proposes a method for obtaining a quantum bit working point, comprising:
[0030] Traversing the operating frequency of the subbit to be measured within a first range, obtaining an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability of the subbit to be measured being in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0031] Performing image processing on the experimental result view to output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white;
[0032] Comparing the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0033] All operating frequencies of the sub-bits to be measured corresponding to when the result of the similarity comparison meets the second preset requirement are acquired as optional operating points.
[0034] Based on the same inventive concept, the present invention also proposes a quantum computing measurement and control system, which utilizes the verification method of quantum state control signal distortion described in any one of the above-mentioned characteristic descriptions or the method for obtaining the quantum bit working point described in the above-mentioned characteristic descriptions.
[0035] Based on the same inventive concept, the present invention also proposes a quantum computer, including the quantum computing measurement and control system described in the above feature description.
[0036] Based on the same inventive concept, the present invention also proposes a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it can implement the method for verifying the distortion of the quantum state control signal described in any one of the above-mentioned characteristic descriptions or the method for obtaining the quantum bit working point described in the above-mentioned characteristic descriptions.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] The verification method of quantum state control signal distortion proposed in the present invention obtains the experimental result view of the first experiment, performs image processing on the experimental result view, outputs a first black-and-white image, the pixels of the first black-and-white image are composed of black and white, and then the first black-and-white image is compared with the first image for similarity, and when the result of the similarity comparison meets the second preset requirement, it is determined that the quantum state control signal of the sub-bit to be measured is not distorted. The scheme of the present invention performs binarization processing on the experimental result view of the first experiment, converts the three-dimensional depth map of the experimental result of the first experiment into the first black-and-white image, and directly determines whether the quantum state control signal of the sub-bit to be measured is distorted by comparing the similarity of the first black-and-white image with the first image. In addition, the appropriate working point range of the sub-bit to be measured can be determined by continuously traversing the working frequency of the quantum bit and obtaining the distortion of the quantum state control signal of the sub-bit to be measured at the corresponding working frequency.
[0039] The device for verifying the distortion of the quantum state control signal, the method for acquiring the working point of the quantum bit, the quantum computing measurement and control system, the quantum computer and the readable storage medium proposed in the present invention belong to the same inventive concept as the method for verifying the distortion of the quantum state control signal, and therefore have the same beneficial effects, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic flow chart of a method for verifying quantum state control signal distortion proposed in an embodiment of the present invention;
[0041] Figure 2 is an experimental result view of the first experiment in an example;
[0042] Figure 3A first black-and-white image output after image processing is performed on an experimental result view of the first experiment in an example;
[0043] Figure 4 A first black-and-white image output after image processing is performed on the experimental result view of the first experiment in another example;
[0044] Figure 5 A schematic structural diagram of a verification device for quantum state control signal distortion proposed in another embodiment of the present invention;
[0045] Figure 6 A schematic flow chart of a method for acquiring a quantum bit working point according to another embodiment of the present invention. DETAILED DESCRIPTION
[0046] The specific implementation of the present invention will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present invention will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in explaining the purpose of the embodiments of the present invention.
[0047] In the description of the present invention, it is necessary to understand that the terms "center", "up", "down", "left", "right", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0048] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0049] Please refer to Figure 1 , an embodiment of the present invention provides a verification method for quantum state control signal distortion, comprising:
[0050] S100: Acquire an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0051] S200: performing image processing on the experimental result view to output a first black-and-white image, where pixels of the first black-and-white image are composed of black and white;
[0052] S300: Compare the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0053] S400: When the result of the similarity comparison meets the second preset requirement, it is determined that the quantum state control signal of the subbit to be measured is not distorted.
[0054] The difference from the prior art is that the verification method of quantum state control signal distortion proposed in this embodiment obtains the experimental result view of the first experiment, performs image processing on the experimental result view, outputs a first black-and-white image, the pixels of the first black-and-white image are composed of black and white, and then the first black-and-white image is compared with the first image for similarity, and when the result of the similarity comparison meets the second preset requirement, it is determined that the quantum state control signal of the sub-bit to be measured is not distorted. The scheme of the present invention performs binarization processing on the experimental result view of the first experiment, converts the three-dimensional depth map of the experimental result of the first experiment into the first black-and-white image, and compares the similarity between the first black-and-white image and the first image, so as to directly determine that the quantum state control signal of the sub-bit to be measured is not distorted. In addition, the appropriate working point range of the sub-bit to be measured can be determined by continuously traversing the working frequency of the quantum bit and obtaining the distortion of the quantum state control signal of the sub-bit to be measured at the corresponding working frequency.
[0055] It should be noted that the first experiment mentioned in this embodiment refers to traversing the detuning size of the quantum state control signal within a set range, and a Rabi experiment is performed on the sub-bit to be measured at each detuning. It can be understood by those skilled in the art that the Rabi experiment refers to applying a quantum state control signal of duration t to the quantum state control line of the sub-bit to be measured, applying a frequency control signal to the frequency control line of the sub-bit to be measured, obtaining the probability of the sub-bit to be measured being in an excited state or a ground state as a function of time t, and finally summarizing the experimental results of all Rabi experiments to obtain the experimental result view of the first experiment, please refer to Figure 2 , Figure 2 is an experimental result view of the first experiment in an example, the experimental result view is a three-dimensional graph, Figure 2 The depth information in represents the probability of the measured subbit being in the first selected eigenstate, the horizontal axis is the size of the detuning, and the vertical axis is time. In an ideal case, that is, if the quantum state control signal of the subbit to be measured is not distorted, the experimental result view is a left-right symmetrical image along the center line. If the quantum state control signal of the subbit to be measured is distorted, the experimental result view will be deformed to a level that is not left-right symmetrical along the center line.
[0056] The solution of this application utilizes this feature of the experimental result view. In order to realize the automatic identification of the distortion of the quantum state control signal of the quantum bit to be measured, this application proposes to process the experimental result view and output a first black-and-white image containing only black and white. Please refer to Figure 3 , Figure 3 The first black-and-white image is output after image processing is performed on the experimental result view of the first experiment in an example, by Figure 3 By comparing the similarity with the first image under ideal conditions, it is possible to directly determine whether the quantum state control signal of the quantum bit to be measured is distorted.
[0057] It can be understood by those skilled in the art that, since different quantum bits and quantum state control signals of different frequencies finally obtain different experimental result views, it is necessary to prepare in advance a plurality of result views reflecting that the experimental results of the first experiment meet the first preset requirements, that is, the number of the first pictures is multiple, as long as the similarity between the experimental result view of the first experiment and any one of the multiple first pictures meets the requirements, it can be considered that the quantum state control signal has no distortion. In addition, in this embodiment, the first selected eigenstate can be a |0> state or a |1> state. The X-gate signal is a single quantum bit gate, which is used to excite the quantum bit from the ground state to the excited state.
[0058] In this embodiment, when we perform image processing on the experimental result view, we can perform grayscale processing to convert the three-dimensional depth map into a grayscale map, and then perform binarization processing on the grayscale map to output a black and white image. Specifically, performing image processing on the experimental result view to output a first black and white image includes:
[0059] Performing grayscale processing on the experimental result view to output a first grayscale image;
[0060] The first grayscale image is binarized to output a first black-and-white image.
[0061] In this embodiment, comparing the first black-and-white image with the first picture for similarity includes:
[0062] The first black-and-white image is compared with the first picture for similarity using a structural similarity algorithm.
[0063] Those skilled in the art can understand that the structural similarity (SSIM, Structure Similarity IndexMeasure) is an indicator for measuring the similarity between two images. The structural similarity algorithm inputs two pictures, i.e., two pictures requiring structural similarity, one of which is an uncompressed distortion-free image, and the other is a picture that needs to be compared with the distortion-free picture. The SSIM index mainly extracts three key features from the image: brightness, contrast, and structure. The comparison between the two images is based on these three features. We process the original experimental result view to output the first black and white image, which can reduce the running cost of the algorithm to a certain extent and improve the computational efficiency. The range of SSIM value is [0,1]. In this embodiment, the result of similarity comparison can be considered as SSIM value. In this embodiment, the second preset condition is that the result of the structural similarity algorithm is greater than or equal to 0.6, that is, the SSIM value is greater than or equal to 0.6. It should be noted that in other embodiments, the second preset condition can be adjusted according to actual needs. For example, for scenes with higher accuracy requirements, the second preset condition can be set to 0.8 or 0.9. For scenes with lower accuracy requirements, the second preset condition can be set to 0.5. They are not described here one by one. It should be noted that the first picture is a black and white picture composed of black and white after image processing.
[0064] In this embodiment, in order to further improve the execution efficiency of the structural similarity algorithm when performing similarity judgment, before performing image processing on the experimental result view, the experimental result view may be cropped to remove useless information. Figure 4 The useless information mentioned here can be several interfering pixels on the periphery of the image. Generally, this situation is caused by interference from external factors. After cropping, these interfering pixels can be prevented from interfering with the structural similarity algorithm and avoiding misjudgment.
[0065] In practical application, the experimental results are considered Figure 2 When the value is converted to black and white, the connected domain may be stuck. Figure 4 ,This situation can be identified manually. We can also add an identification method to the scheme. In this way, if the adhesion situation can be directly eliminated at the beginning of the scheme, the efficiency of the entire scheme can also be improved by judging whether adhesion occurs between the connected domains of the first black and white image;
[0066] If adhesion occurs, it is determined that the quantum state control signal of the subbit to be measured has been distorted. It can be understood that when it is determined that the connected domain has adhesion, it is not necessary to continue the similarity comparison operation;
[0067] If no adhesion occurs, the similarity comparison operation continues.
[0068] It should be noted that a connected domain is a set of pixels composed of adjacent pixels with the same pixel value. We can use this condition to find the connected domain of the image in the image. For each connected domain found, we give it a unique identifier to distinguish it from other connected domains. It can be understood by those skilled in the art that the connected domain in the image can generally be obtained by two-pass scanning or seed filling method, which will not be elaborated here.
[0069] Specifically, in this embodiment, whether the connected domains of the first black-and-white image are connected can be determined based on the ratio of the spans of the first connected domain and the second connected domain, wherein the span is the maximum length of the connected domain of the first black-and-white image on the Y-axis (vertical direction of the image), the first connected domain is the connected domain with the largest span in the first black-and-white image, and the second connected domain is the connected domain with the smallest span in the first black-and-white image. The first connected domain is Figure 4 The connected domain 1 in the second connected domain is Figure 4 On the other hand, in practical applications, considering that some interference with a smaller span may be identified as a connected domain, the second connected domain may be defined as the connected domain with the second smallest span in the first black-and-white image, that is, Figure 4 The connected domain 2 in .
[0070] In specific applications, the experimental result view of the first experiment may not be at the center of the image. Since the reference image we provide, that is, the first image, is generally symmetrical along the center line, in order to ignore the position of the connected domain in the experimental result view of the first experiment and focus on the similarity of the structure, in this embodiment, after outputting the first black and white image, the method further includes:
[0071] Obtaining the center of gravity of the first black-and-white image according to the pixel distribution of the first black-and-white image;
[0072] The center of gravity of the first black-and-white image is moved so that the center of gravity of the first black-and-white image is close to the center position of the first black-and-white image.
[0073] Specifically, in this embodiment, the first black-and-white image is moved as a whole along the transverse direction of the first black-and-white image.
[0074] Please refer to Figure 5 Based on the same inventive concept, an embodiment of the present invention further proposes a verification device for quantum state control signal distortion, comprising:
[0075] An experiment result view acquisition unit 100 is used to acquire an experiment result view of a first experiment, wherein the first experiment is used to acquire a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0076] An image processing unit 200 is used to perform image processing on the experimental result view to output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white;
[0077] A similarity comparison unit 300 is used to compare the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0078] The verification unit 400 is used to determine that the quantum state control signal of the sub-bit to be measured is not distorted when the result of the similarity comparison meets the second preset requirement.
[0079] It can be understood that the experimental result view acquisition unit 100, the image processing unit 200, the similarity comparison unit 300 and the verification unit 400 can be combined in one device, or any one of the modules can be split into multiple sub-modules, or at least part of the functions of one or more modules of the experimental result view acquisition unit 100, the image processing unit 200, the similarity comparison unit 300 and the verification unit 400 can be combined with at least part of the functions of other modules and implemented in one functional module. According to an embodiment of the present invention, at least one of the experimental result view acquisition unit 100, the image processing unit 200, the similarity comparison unit 300 and the verification unit 400 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented in hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in a suitable combination of software, hardware and firmware. Alternatively, at least one of the experiment result view acquisition unit 100, the image processing unit 200, the similarity comparison unit 300 and the verification unit 400 may be at least partially implemented as a computer program module, and when the program is executed by a computer, the function of the corresponding module may be executed.
[0080] Please refer to Figure 6 Based on the same inventive concept, the embodiment of the present invention further proposes a method for obtaining a quantum bit working point, comprising:
[0081] S10: traversing the operating frequency of the subbit to be measured within a first range, and obtaining an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability of the subbit to be measured being in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal;
[0082] S20: performing image processing on the experimental result view to output a first black-and-white image, where pixels of the first black-and-white image are composed of black and white;
[0083] S30: comparing the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement;
[0084] S40: Acquire all operating frequencies of the sub-bits to be measured corresponding to the time when the result of the similarity comparison meets the second preset requirement as optional operating points.
[0085] Based on the same inventive concept, an embodiment of the present invention also proposes a quantum computing measurement and control system, which uses the verification method of quantum state control signal distortion described in any one of the above-mentioned characteristic descriptions or the method for obtaining the quantum bit working point described in the above-mentioned characteristic descriptions.
[0086] Based on the same inventive concept, an embodiment of the present invention also proposes a quantum computer, including the quantum computing measurement and control system described in the above feature description.
[0087] Based on the same inventive concept, an embodiment of the present invention also proposes a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it can implement the method for verifying the distortion of the quantum state control signal described in any one of the above-mentioned characteristic descriptions or the method for obtaining the quantum bit working point described in the above-mentioned characteristic descriptions.
[0088] The readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device, such as but not limited to an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination of the above. The more specific example (non-exhaustive list) of the readable storage medium includes: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer program described here can be downloaded from the readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device through a network, such as the Internet, a local area network, a wide area network and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer program from the network and forwards the computer program for storage in a readable storage medium in each computing / processing device. The computer program for performing the operation of the present invention may be an assembly instruction, an instruction set architecture (ISA) instruction, a machine instruction, a machine-dependent instruction, a microcode, a firmware instruction, a state setting data, or a source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The computer program may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by utilizing the state information of a computer program to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute computer-readable program instructions to implement various aspects of the present invention.
[0089] Here, various aspects of the present invention are described with reference to the flowchart and / or block diagram of the method, system and computer program product according to the embodiment of the present invention. It should be understood that each square frame of the flowchart and / or block diagram and the combination of the square frames in the flowchart and / or block diagram can be realized by a computer program. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so as to produce a machine, so that these programs, when executed by the processor of a computer or other programmable data processing device, produce a device for realizing the function / action specified in one or more square frames in the flowchart and / or block diagram. These computer programs can also be stored in a readable storage medium, and these computer programs make the computer, programmable data processing device and / or other equipment work in a specific way, so that the readable storage medium storing the computer program includes a manufactured product, which includes instructions for realizing various aspects of the function / action specified in one or more square frames in the flowchart and / or block diagram.
[0090] The computer program may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are executed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the computer program executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0091] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example" or "specific example" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0092] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.
Claims
1. A method for verifying quantum state control signal distortion, characterized in that: include: Obtaining an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal; Performing image processing on the experimental result view to output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white; Comparing the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement; When the result of the similarity comparison meets the second preset requirement, it is determined that the quantum state control signal of the subbit to be measured is not distorted.
2. The method according to claim 1, characterized in that The performing image processing on the experimental result view to output a first black-and-white image includes: Performing grayscale processing on the experimental result view to output a first grayscale image; The first grayscale image is binarized to output a first black-and-white image.
3. The method according to claim 1, characterized in that The comparing the first black-and-white image with the first picture for similarity includes: The first black-and-white image is compared with the first picture for similarity using a structural similarity algorithm.
4. The method according to claim 3, characterized in that The second preset condition is that the result of the structural similarity algorithm is greater than or equal to 0.
6.
5. The method according to claim 1, characterized in that After outputting the first black-and-white image, the method further includes: Obtaining the center of gravity of the first black-and-white image according to the pixel distribution of the first black-and-white image; The center of gravity of the first black-and-white image is moved so that the center of gravity of the first black-and-white image is close to the center position of the first black-and-white image.
6. The method according to claim 5, characterized in that The first black-and-white image is moved as a whole along a transverse direction of the first black-and-white image.
7. The method according to claim 1, characterized in that The first picture is a black-and-white picture consisting of black and white after image processing.
8. A verification device for quantum state control signal distortion, characterized in that: include: an experiment result view acquisition unit, configured to acquire an experiment result view of a first experiment, wherein the first experiment is configured to acquire a probability that a subbit to be measured is in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal; An image processing unit, configured to perform image processing on the experimental result view and output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white; a similarity comparison unit, configured to compare the first black-and-white image with a first picture for similarity, wherein the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement; The verification unit is used to determine that the quantum state control signal of the sub-bit to be measured is not distorted when the result of the similarity comparison meets the second preset requirement.
9. A method for obtaining a quantum bit working point, characterized in that: include: Traversing the operating frequency of the subbit to be measured within a first range, obtaining an experimental result view of a first experiment, wherein the first experiment is used to obtain a probability of the subbit to be measured being in a first selected eigenstate as a function of detuning and time, wherein the detuning is a frequency difference between a quantum state control signal applied to the subbit to be measured and an X-gate signal; Performing image processing on the experimental result view to output a first black-and-white image, wherein pixels of the first black-and-white image are composed of black and white; Comparing the first black-and-white image with a first picture for similarity, where the first picture is a result view of the experimental result of the first experiment meeting a first preset requirement; All operating frequencies of the sub-bits to be measured corresponding to when the result of the similarity comparison meets the second preset requirement are acquired as optional operating points.
10. A quantum computing measurement and control system, characterized in that: A method for verifying the quantum state control signal distortion according to any one of claims 1 to 7 or a method for obtaining the quantum bit working point according to claim 9.
11. A quantum computer, characterized in that: Including the quantum computing measurement and control system as described in claim 10.
12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it can implement the method for verifying the distortion of the quantum state control signal described in any one of claims 1 to 7 or the method for obtaining the quantum bit working point described in claim 9.