Verification method and device for quantum state control signal distortion
By performing image processing and similarity comparison on the qubit experimental results view, the problem of missing quantum state control signal distortion verification is solved, accurate judgment and determination of working point range are achieved, and the execution accuracy of quantum circuits is improved.
Patent Information
- Application Number
- CN202311257323.4
- 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
There is a lack of a method in the prior art that can verify whether the qubit quantum state control signal is distorted, resulting in errors in the quantum line execution results.
By obtaining the experimental result view, performing image processing to output the grayscale map, and comparing the grayscale map with the preset required result view to determine whether the quantum state control signal is distorted.
It is realized that the quantum state control signal of the quantum state is distorted, avoiding errors in the quantum line execution results, and determining the appropriate operating point range of the qubit through traversing the operating frequency.
Smart Images

Figure CN119721278A_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 change in the probability of a subbit to be measured being in a first selected eigenstate as a function of a detuning magnitude 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 grayscale image;
[0011] Comparing the first grayscale 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 preset requirement;
[0012] When the result of the similarity comparison reaches a preset value, it is determined that the quantum state control signal of the subbit to be measured is not distorted.
[0013] Optionally, before performing image processing on the experimental result view, the method further includes:
[0014] The experiment result view is cropped according to the pixel distribution of the experiment result view.
[0015] Optionally, performing image processing on the experimental result view to output a first grayscale image includes:
[0016] Performing grayscale processing on the experimental result view to output a first grayscale sub-image;
[0017] The grayscale values of pixels in the first grayscale sub-image whose grayscale values are less than a first preset threshold are set to 0 to obtain a first grayscale image.
[0018] Optionally, before performing the similarity comparison between the first grayscale image and the first picture, the method further includes:
[0019] Obtaining the centroid and center of the first grayscale image;
[0020] Determining whether the difference between the center of gravity and the center in the lateral position is less than a second preset threshold;
[0021] If not, moving the first grayscale image in a lateral direction of the first grayscale image, and returning to execute the step of obtaining the centroid and center of the first grayscale image;
[0022] If so, the step of comparing the first grayscale image with the first picture for similarity is performed.
[0023] Optionally, comparing the first grayscale image with the first picture for similarity includes:
[0024] A structural similarity algorithm is used to compare the first grayscale image with the first picture for similarity.
[0025] Optionally, there are multiple first pictures.
[0026] Optionally, comparing the first grayscale image with the first picture for similarity includes:
[0027] Compare the first grayscale image with each first picture for similarity;
[0028] The best similarity comparison result among the plurality of first pictures is compared with the preset value.
[0029] Based on the same inventive concept, the present invention also proposes a verification device for quantum state control signal distortion, comprising:
[0030] 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 a detuning magnitude 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] An image processing unit, configured to perform image processing on the experimental result view and output a first grayscale image, wherein the first grayscale image is composed of a plurality of pixels with different grayscale values;
[0032] a similarity comparison unit, configured to compare the first grayscale 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 preset requirement;
[0033] 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 reaches a preset value.
[0034] Based on the same inventive concept, the present invention also proposes a method for obtaining a quantum bit working point, comprising:
[0035] 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 change in the probability of the subbit to be measured being in a first selected eigenstate as a function of a detuning size 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;
[0036] Performing image processing on the experimental result view to output a first grayscale image, wherein the first grayscale image is composed of a plurality of pixels with different grayscale values;
[0037] Comparing the first grayscale 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 preset requirement;
[0038] All operating frequencies of the sub-bits to be measured corresponding to when the result of the similarity comparison reaches a preset value are obtained as optional operating points.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] 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 grayscale image, and compares the first grayscale image with the first picture for similarity, wherein the first picture is the result view of the experimental result of the first experiment meeting the preset requirements. When the result of the similarity comparison reaches the preset value, 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 grayscale 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 grayscale image, and compares the similarity between the first grayscale image and the first picture, so as to directly determine whether the quantum state control signal of the sub-bit to be measured is 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.
[0044] 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
[0045] Figure 1 A schematic flow chart of a method for verifying quantum state control signal distortion proposed in an embodiment of the present invention;
[0046] Figure 2 is an experimental result view of the first experiment in an example;
[0047] Figure 3 A first grayscale image output after image processing is performed on an experimental result view of the first experiment in an example;
[0048] Figure 4 A first grayscale image output after image processing is performed on the experimental result view of the first experiment in another example;
[0049] Figure 5 A schematic structural diagram of a verification device for quantum state control signal distortion proposed in another embodiment of the present invention;
[0050] 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
[0051] 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.
[0052] 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.
[0053] 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.
[0054] Please refer to Figure 1 , an embodiment of the present invention provides a verification method for quantum state control signal distortion, comprising:
[0055] 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 a detuning magnitude 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;
[0056] S200: performing image processing on the experimental result view to output a first grayscale image;
[0057] S300: Compare the first grayscale 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 preset requirement;
[0058] S400: When the result of the similarity comparison reaches a preset value, it is determined that the quantum state control signal of the subbit to be measured is not distorted.
[0059] The difference from the prior art is that the verification method of the 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 grayscale image, and compares the first grayscale image with the first picture for similarity, and the first picture is the result view of the experimental result of the first experiment meeting the preset requirements. When the result of the similarity comparison reaches the preset value, it is determined that the quantum state control signal of the sub-bit to be measured is not distorted. The solution of the present invention performs grayscale 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 grayscale image, and compares the similarity between the first grayscale image and the first picture, so as to directly determine whether the quantum state control signal of the sub-bit to be measured is distorted. In addition, the working frequency of the quantum bit can be continuously traversed, and the distortion of the quantum state control signal of the sub-bit to be measured under the corresponding working frequency can be obtained, so as to determine the appropriate working point range of the sub-bit to be measured.
[0060] 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 that the measured sub-bit is 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 sub-bit to be measured is not distorted, then the experimental result view is an image that is symmetrical along the center line. If the quantum state control signal of the sub-bit to be measured is distorted, then the experimental result view will have some deformations, resulting in an image that is not symmetrical along the center line. The scheme of the present application utilizes this feature of the experimental result view. In order to realize automatic identification of the distortion of the quantum state control signal of the sub-bit to be measured, the present application proposes to perform image processing on the experimental result view and output a first grayscale image composed of multiple pixels with different grayscale values. Please refer to Figure 3 , Figure 3 is a first grayscale image 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.
[0061] 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 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.
[0062] In addition to the solution of the present application, there is currently a method of binarizing the experimental result view of the first experiment, converting the three-dimensional depth map of the experimental result of the first experiment into a black-and-white image, and comparing the similarity between the black-and-white image and the first image to directly determine whether the quantum state control signal of the quantum bit to be measured is distorted. This solution ignores the influence of the quantum state excitation probability. Using binarization to convert the experimental result view into a black-and-white image will directly turn some pixels with a higher actual excitation probability into black, which may ultimately lead to misjudgment of the obtained results. The solution of the present application fully considers the influence of the excitation probability through grayscale display, which is more in line with the actual situation and more accurate than the black-and-white solution.
[0063] Specifically, in order to fully consider the influence of the excitation probability, we select the pixels whose grayscale values after the grayscale image processing are less than the set grayscale value and set them to 0 (that is, set them to black), which means that the excitation probability corresponding to the pixel point is low. The pixel points whose grayscale values are greater than the set grayscale value retain the original grayscale, which means that the excitation probability of the pixel point is high. In this embodiment, the image processing of the experimental result view and the output of the first grayscale image include:
[0064] Performing grayscale processing on the experimental result view to output a first grayscale sub-image;
[0065] The grayscale values of pixels in the first grayscale sub-image whose grayscale values are less than a first preset threshold are set to 0 to obtain a first grayscale image.
[0066] Specifically, in practical applications, misjudgment may occur due to uneven distribution of the bottom and top layers of the image. We can move the grayscale image as a whole left and right. In this embodiment, before performing the similarity comparison between the first grayscale image and the first image, the method further includes:
[0067] Obtaining the centroid and center of the first grayscale image according to the pixel distribution of the experimental result view;
[0068] Determining whether the difference between the center of gravity and the center in the lateral position is less than a second preset threshold;
[0069] If not, moving the first grayscale image in a lateral direction of the first grayscale image, and returning to execute the step of obtaining the centroid and center of the first grayscale image;
[0070] If so, the step of comparing the first grayscale image with the first picture for similarity is performed.
[0071] Specifically, in this embodiment, comparing the first grayscale image with the first picture for similarity includes:
[0072] A structural similarity algorithm is used to compare the first grayscale image with the first picture for similarity.
[0073] Specifically, in this embodiment, comparing the first grayscale image with the first picture for similarity includes:
[0074] The first grayscale image is compared with each first image for similarity; and the best similarity comparison result among the plurality of first images is compared with the preset value.
[0075] It can be understood by those skilled in the art that the structural similarity (SSIM, Structure Similarity IndexMeasure) is an index 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 grayscale image, which can reduce the operating cost of the algorithm to a certain extent and improve the computational efficiency. The range of the SSIM value is [0,1]. In this embodiment, the result of the similarity comparison can be considered to be the SSIM value. In this embodiment, the preset value can be set to 0.6. It should be noted that in other embodiments, the preset threshold can be adjusted according to actual needs. For example, for scenes with higher accuracy requirements, the preset value can be set to 0.8 or 0.9, and for scenes with lower accuracy requirements, the preset value can be set to 0.5. They are not described one by one here.
[0076] 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 according to the pixel distribution of the experimental result view 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.
[0077] 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 grayscale image;
[0078] 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;
[0079] If no adhesion occurs, the similarity comparison operation continues.
[0080] 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.
[0081] Specifically, in this embodiment, whether the connected domains of the first grayscale 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 grayscale 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 grayscale image, and the second connected domain is the connected domain with the smallest span in the first grayscale 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 grayscale image, that is, Figure 4 The connected domain 2 in .
[0082] 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 structural similarity, we can also move the center of gravity of the first grayscale image so that the center of gravity of the first grayscale image is close to the center of the first grayscale image.
[0083] Based on the same invention concept, please refer to Figure 5 The embodiment of the present invention further provides a verification device for quantum state control signal distortion, comprising:
[0084] 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 a detuning magnitude 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;
[0085] An image processing unit 200 is used to perform image processing on the experimental result view and output a first grayscale image, wherein the first grayscale image is composed of a plurality of pixels with different grayscale values;
[0086] A similarity comparison unit 300 is used to compare the first grayscale 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 preset requirement;
[0087] 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 reaches a preset value.
[0088] 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.
[0089] Based on the same invention concept, please refer to Figure 6 The embodiment of the present invention further provides a method for obtaining a quantum bit working point, comprising:
[0090] S10: traversing the working 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 the variation of the probability of the subbit to be measured being in a first selected eigenstate with the detuning size and time, wherein the detuning is the frequency difference between the quantum state control signal applied to the subbit to be measured and the X-gate signal;
[0091] S20: performing image processing on the experimental result view to output a first grayscale image;
[0092] S30: comparing the first grayscale 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 preset requirement;
[0093] S40: Acquire all operating frequencies of the sub-bits to be measured corresponding to when the result of the similarity comparison reaches a preset value as optional operating points.
[0094] 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.
[0095] 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.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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 change in the probability of a subbit to be measured being in a first selected eigenstate as a function of a detuning magnitude 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 grayscale image; Comparing the first grayscale 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 preset requirement; When the result of the similarity comparison reaches a preset value, 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 Before performing image processing on the experimental result view, the method further includes: The experiment result view is cropped according to the pixel distribution of the experiment result view.
3. The method according to claim 1, characterized in that The performing image processing on the experimental result view to output a first grayscale image includes: Performing grayscale processing on the experimental result view to output a first grayscale sub-image; The grayscale values of pixels in the first grayscale sub-image whose grayscale values are less than a first preset threshold are set to 0 to obtain a first grayscale image.
4. The method according to claim 1, characterized in that Before performing the similarity comparison between the first grayscale image and the first picture, the method further includes: Obtaining the centroid and center of the first grayscale image; Determining whether the difference between the center of gravity and the center in the lateral position is less than a second preset threshold; If not, moving the first grayscale image in a lateral direction of the first grayscale image, and returning to execute the step of obtaining the centroid and center of the first grayscale image; If so, the step of comparing the first grayscale image with the first picture for similarity is performed.
5. The method according to claim 1, characterized in that Comparing the first grayscale image with the first picture for similarity, including: A structural similarity algorithm is used to compare the first grayscale image with the first picture for similarity.
6. The method according to claim 1, characterized in that The number of the first pictures is multiple.
7. The method according to claim 6, characterized in that The comparing the first grayscale image with the first picture for similarity includes: Compare the first grayscale image with each first picture for similarity; The best similarity comparison result among the plurality of first pictures is compared with the preset value.
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 a detuning magnitude 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 grayscale image; a similarity comparison unit, configured to compare the first grayscale 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 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 reaches a preset value.
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 change in the probability of the subbit to be measured being in a first selected eigenstate as a function of a detuning size 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 grayscale image; Comparing the first grayscale 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 preset requirement; All operating frequencies of the sub-bits to be measured corresponding to when the result of the similarity comparison reaches a preset value are obtained 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.