A method, device, equipment and medium for analyzing quantum bit reading data
Through the combination of Pauli-X gate and neural network model, the problem of low fidelity of qubit reading results in superconducting quantum computing is solved, and high-accurate quantum state analysis is achieved, which is suitable for quantum computing of multi-bit algorithms .
Patent Information
- Application Number
- CN202210408673.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-04-19
AI Technical Summary
The fidelity of the reading results of qubits in superconducting quantum computing is low, especially in multi-bit algorithms, which is difficult to extract useful calculation results in exponential Hilbert space.
The qubits are prepared from the initial state to the target state through the Pauli-X gate, and combined with the neural network model to train the read data, build a qubit analysis model to determine the quantum state, and use deep learning to improve the accuracy of the reading results.
It improves the accuracy and computing efficiency of quantum state reading results, overcomes the problem of low fidelity of quantum bit reading results, and is suitable for quantum computing in multi-bit algorithms.
Smart Images

Figure CN114861922B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum computing technology, and specifically to an analysis method, device, equipment and medium for reading quantum bit data. Background Art
[0002] Superconducting quantum computing is currently recognized as one of the most likely technical solutions to realize the commercialization of quantum computing in a short period of time. In order to obtain the operating results of quantum computing, it is necessary to read the quantum state of the quantum bit after the quantum information processing process.
[0003] However, superconducting quantum computing technology is far from mature, especially the reading fidelity of superconducting quantum bits is low, and the amount of data represented by quantum bits increases exponentially with the number of bits. Therefore, in multi-bit algorithms, it is difficult to extract useful calculation results in the exponential Hilbert space. Summary of the invention
[0004] In order to solve the above problems, this application proposes a method for analyzing quantum bit read data, including:
[0005] Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data;
[0006] By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data;
[0007] Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0008] The quantum bit analysis model is used to perform state analysis on the quantum bits read from the quantum computer to determine the quantum state corresponding to the quantum bits.
[0009] In one implementation of the present application, the first quantum state is a |0> state, and the second quantum state is a |1> state.
[0010] In one implementation of the present application, before inputting the first qubit read data and the second qubit read data into a pre-built neural network model for training, the method further includes:
[0011] Construct a single-node neural network model with a single neuron as the output layer;
[0012] According to the first quantum state and the second quantum state, marking corresponding classification labels on the first quantum bit read data and the second quantum bit read data;
[0013] Determine the binary output result of the single-node neural network model and the mapping relationship between the binary output result and the classification label to construct a final neural network model.
[0014] In one implementation of the present application, the first qubit read data and the second qubit read data are input into a pre-built neural network model for training, specifically including:
[0015] According to the pre-built neural network model, the first quantum bit reading data and the second quantum bit reading data are taken as input, and the corresponding predicted quantum state is output;
[0016] Calculate the difference between the predicted quantum state and the true quantum state, and determine the loss function of the neural network model based on the difference;
[0017] According to the loss function, the model parameters of the neural network model are updated to obtain the quantum bit analysis model.
[0018] In one implementation of the present application, the loss function of the neural network model is determined according to the difference, specifically including:
[0019] Determining the number of times the first quantum bit is read and the number of times the second quantum bit is prepared;
[0020] The differences are summed, and a ratio of the summed result of the differences to the sum of the number of readings and the number of preparations is calculated to determine a loss function of the neural network model based on the ratio.
[0021] In one implementation of the present application, the first quantum bit is prepared from the first quantum state to the second quantum state through the Pauli-X gate, specifically including:
[0022] Determine a characteristic frequency corresponding to the first quantum bit, and generate a corresponding microwave driving signal according to the characteristic frequency;
[0023] The Pauli-X gate is driven according to the microwave driving signal to prepare the first quantum bit from the first quantum state to the second quantum state.
[0024] In one implementation of the present application, before performing state analysis on the quantum bits read from the quantum computer, the method further includes:
[0025] Obtaining a quantum bit read signal corresponding to the quantum bit;
[0026] Perform anomaly analysis on the quantum bit reading signal to determine the corresponding anomaly type;
[0027] determining anomaly parameters associated with the anomaly type, and the strength of association of the anomaly parameters with the anomaly type;
[0028] The abnormal parameters are corrected in order of correlation strength from large to small until the quantum bit reading signal returns to normal.
[0029] The embodiment of the present application provides a device for analyzing quantum bit read data, characterized in that the device includes:
[0030] A reading unit, reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit reading data;
[0031] A preparation unit, which prepares the first quantum bit from the first quantum state to a second quantum state through a Pauli-X gate to obtain a corresponding second quantum bit, and reads the second quantum bit to obtain second quantum bit read data;
[0032] A training unit, inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0033] The analysis unit performs state analysis on the quantum bit read from the quantum computer through the quantum bit analysis model to determine the quantum state corresponding to the quantum bit.
[0034] The embodiment of the present application provides a device for analyzing quantum bit read data, characterized in that the device includes: at least one processor;
[0035] and, a memory communicatively connected to at least one processor; wherein,
[0036] The memory stores instructions executable by at least one processor, the instructions being executed by at least one processor to enable the at least one processor to:
[0037] Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data;
[0038] By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data;
[0039] Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0040] The quantum bit analysis model is used to perform state analysis on the quantum bits read from the quantum computer to determine the quantum state corresponding to the quantum bits.
[0041] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0042] Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data;
[0043] By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data;
[0044] Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0045] The quantum bit analysis model is used to perform state analysis on the quantum bits read from the quantum computer to determine the quantum state corresponding to the quantum bits.
[0046] The analysis method of quantum bit reading data proposed in this application can bring the following beneficial effects:
[0047] Combining deep learning with quantum bit data reading and analysis is no longer limited by computing space. By training a neural network model and performing state analysis on quantum bits, it is possible to obtain reading results with higher fidelity, thereby improving the accuracy of quantum state reading results, which is conducive to improving the operating efficiency and accuracy of quantum computing. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0049] Figure 1 A schematic diagram of a flow chart of a method for analyzing quantum bit reading data provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of the structure of a quantum bit data analysis device provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of the structure of an analysis device for quantum bit reading data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0053] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0054] like Figure 1 As shown, a method for analyzing quantum bit reading data provided by an embodiment of the present application includes:
[0055] S101: Read a first quantum bit in a first quantum state output by a quantum computer to obtain first quantum bit read data.
[0056] The result of qubit reading signal analysis (also called reading) of the qubit quantum state serves as the input parameter that determines the quantum chip control system and can control the execution of the quantum chip. Therefore, the fidelity of the qubit reading result affects the speed of quantum computing.
[0057] There are two states of quantum bits in the quantum computing space, namely the |0> state and the |1> state. In the quantum computing system, the initial state of the quantum bits is the |0> state. Reading the first quantum bit in the first quantum state output by the quantum computer is equivalent to reading the first quantum bit in the |0> state. In order to ensure the accuracy of the quantum state determination results, the training samples need to be expanded as much as possible. Therefore, the above reading process can be repeated N1 times according to the actual training needs.
[0058] S102: Using a Pauli-X gate, the first quantum bit is prepared from a first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data.
[0059] After obtaining the first qubit read data, the first qubit is prepared from the first quantum state |0> to the second quantum state |1> through the Pauli-X gate to obtain the corresponding second qubit, and then the second qubit is read to obtain the second qubit read data. This process needs to be repeated N2 times, where 0 <N2≤N1。
[0060] The frequency of the qubits in the quantum chip is adjustable, so the characteristic frequency corresponding to the first qubit is first determined, and then a microwave driving signal with a frequency equal to the characteristic frequency is generated based on the characteristic frequency. The microwave driving signal can drive the Pauli-X gate, thereby preparing the first qubit from the state|0> to the state|1>.
[0061] S103: Input the first quantum bit reading data and the second quantum bit reading data into a pre-built neural network model for training to obtain a corresponding quantum bit analysis model.
[0062] After obtaining the first quantum bit and the second quantum bit in different quantum states through S101 and S102, a neural network model can be trained based on them to obtain a quantum state analysis result with higher fidelity.
[0063] In one embodiment, a single-node neural network model is constructed with an input layer of multiple neurons and an output layer of a single neuron. By training the neural network model of this architecture and inputting multiple quantum bits to read data, a specific quantum bit reading result, that is, a quantum state, can be output. After preliminarily determining the input and output structure of the neural network model, the first quantum bit and the second quantum bit are labeled with corresponding classification labels according to the first quantum state and the second quantum state. For example, the first quantum state |0> state and the second quantum state |0> state correspond to 0 and 1, respectively. Since quantum states are divided into two categories, the constructed neural network model is a binary distribution type, and its output result is 0 or 1. Then, the binary output result 0 or 1 of the preliminarily constructed single-node neural network model, as well as the mapping relationship between the binary output result and the classification label, can be determined, so that the final neural network model is obtained.
[0064] In order to make the analysis effect of the neural network model better, it needs to be further trained to ensure the highest fidelity of the output quantum bit reading result. Specifically, the first quantum bit reading data and the second quantum bit reading data are input into the above-mentioned pre-built neural network model to obtain the output predicted quantum state. It can be understood that the predicted quantum state is either 0 or 1. By calculating the degree of difference between the predicted quantum state and the true quantum state, the training effect of the neural network model can be measured.
[0065] Therefore, after obtaining the predicted quantum state, the loss function of the neural network model is determined according to the difference between the predicted quantum state and the true quantum state, and then the model parameters are continuously updated during the iterative training of the neural network model by the descent gradient method until the loss function is minimized. The model parameters at this time are determined to achieve the best performance of the neural network model. At this point, a trained quantum bit analysis model is obtained, through which the quantum bit reading data can be analyzed and high-fidelity quantum bit reading results can be obtained.
[0066] Determining the loss function of the neural network model can be achieved through the following process: first determine the number of readings N1 of the first quantum bit and the number of preparations N2 corresponding to the second quantum bit, then sum the difference between the predicted quantum state and the actual quantum state, and calculate the ratio between the summation result and N1+N2. This ratio is the loss function of the neural network model.
[0067] S104: Performing state analysis on the quantum bits read from the quantum computer through a quantum bit analysis model to determine the quantum state corresponding to the quantum bit data.
[0068] The quantum bit analysis model obtained by S103 can be used for the analysis of quantum bit reading data. After the quantum bit is read from the quantum computer through the quantum bit reading signal, the obtained quantum bit reading data can be input into the quantum bit analysis model to obtain the corresponding quantum state, so as to perform further quantum calculations.
[0069] In one embodiment, as the scale of quantum computing continues to expand, the number of quantum bits in the quantum chip will increase. To ensure the normal operation of quantum computing, the performance of the quantum bits needs to be monitored in real time to avoid a reduction in reading fidelity due to abnormalities in the quantum bits.
[0070] Specifically, before reading the quantum bit, the quantum bit reading signal corresponding to the quantum bit is obtained, and the quantum bit reading signal is analyzed for abnormalities, so as to determine the abnormal type corresponding to the quantum bit. Abnormal detection can be achieved by a model prediction method, and the abnormal type at least includes a decrease in reading fidelity. After determining the abnormal type, the abnormal parameters related to the abnormal type are determined. For example, the abnormal parameters that cause the reading fidelity to decrease may be the reading frequency and the reading speed. There are also certain differences in the correlation strength between each abnormal parameter and the abnormal type. Therefore, after determining the abnormal parameter that causes the abnormality, the abnormal parameters need to be corrected in sequence according to the level of the correlation strength until the quantum bit reading signal can return to normal. Taking the abnormal type of reading fidelity as an example, the reading frequency has a higher correlation strength with it. Therefore, when correcting the parameters, the reading frequency is corrected first, and then the quantum bit reading signal at this time is detected to be restored to normal. If there is still an abnormality, the reading speed is corrected in the order of the magnitude of the correlation strength.
[0071] The above are embodiments of the method proposed in this application. Based on the same idea, one or more embodiments of this specification also provide devices and equipment corresponding to the above method.
[0072] Figure 2A schematic diagram of the structure of an analysis device for quantum bit reading data provided in an embodiment of the present application, the device includes: a reading unit 201, a preparation unit 202, a training unit 203, and an analysis unit 204.
[0073] A reading unit 201 reads a first quantum bit in a first quantum state output by a quantum computer to obtain first quantum bit reading data;
[0074] The preparation unit 202 prepares the first quantum bit from the first quantum state to the second quantum state through the Pauli-X gate to obtain the corresponding second quantum bit, and reads the second quantum bit to obtain the second quantum bit read data;
[0075] The training unit 203 inputs the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0076] The analysis unit 204 performs state analysis on the quantum bit read from the quantum computer through the quantum bit analysis model to determine the quantum state corresponding to the quantum bit.
[0077] Figure 3 A schematic diagram of a structure of a quantum bit data reading analysis device provided in an embodiment of the present application includes:
[0078] at least one processor; and,
[0079] a memory communicatively connected to at least one processor; wherein,
[0080] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to
[0081] Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data;
[0082] The first quantum bit is prepared from the first quantum state to the second quantum state through the Pauli-X gate to obtain the corresponding second quantum bit, and the second quantum bit is read to obtain the second quantum bit read data;
[0083] Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0084] Through the quantum bit analysis model, the state analysis of the quantum bits read from the quantum computer is performed to determine the quantum state corresponding to the quantum bit.
[0085] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0086] Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data;
[0087] The first quantum bit is prepared from the first quantum state to the second quantum state through the Pauli-X gate to obtain the corresponding second quantum bit, and the second quantum bit is read to obtain the second quantum bit read data;
[0088] Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model;
[0089] Through the quantum bit analysis model, the state analysis of the quantum bits read from the quantum computer is performed to determine the quantum state corresponding to the quantum bit.
[0090] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0091] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0094] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0100] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for analyzing quantum bit read data, characterized in that: The method comprises: Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data; By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data; Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model; Performing state analysis on the quantum bit read from the quantum computer using the quantum bit analysis model to determine the quantum state corresponding to the quantum bit; Before inputting the first qubit read data and the second qubit read data into a pre-built neural network model for training, the method further includes: Construct a single-node neural network model with a single neuron as the output layer; According to the first quantum state and the second quantum state, marking corresponding classification labels on the first quantum bit read data and the second quantum bit read data; Determine the binary output result of the single-node neural network model and the mapping relationship between the binary output result and the classification label to construct a final neural network model.
2. The method for analyzing quantum bit read data according to claim 1, characterized in that: The first quantum state is a |0> state, and the second quantum state is a |1> state.
3. The method for analyzing quantum bit read data according to claim 1, characterized in that: Inputting the first qubit read data and the second qubit read data into a pre-built neural network model for training, specifically including: According to the pre-constructed neural network model, the first quantum bit reading data and the second quantum bit reading data are taken as input, and the corresponding predicted quantum state is output; Calculating the difference between the predicted quantum state and the true quantum state, and determining the loss function of the neural network model according to the difference; According to the loss function, the model parameters of the neural network model are updated to obtain a quantum bit analysis model.
4. The method for analyzing quantum bit read data according to claim 3, characterized in that: Determining the loss function of the neural network model according to the difference specifically includes: Determining the number of times the first quantum bit is read and the number of times the second quantum bit is prepared; The differences are summed, and a ratio of the sum of the differences to the sum of the number of readings and the number of preparations is calculated to determine a loss function of the neural network model based on the ratio.
5. The method for analyzing quantum bit read data according to claim 1, characterized in that: The first quantum bit is prepared from the first quantum state to a second quantum state through a Pauli-X gate, specifically comprising: Determining a characteristic frequency corresponding to the first quantum bit, and generating a corresponding microwave driving signal according to the characteristic frequency; The Pauli-X gate is driven according to the microwave driving signal to prepare the first quantum bit from the first quantum state to a second quantum state.
6. The method for analyzing quantum bit read data according to claim 1, characterized in that: Before performing state analysis on the quantum bits read from the quantum computer, the method further comprises: Obtaining a quantum bit read signal corresponding to the quantum bit; Performing an anomaly analysis on the quantum bit read signal to determine a corresponding anomaly type; Determining anomaly parameters associated with the anomaly type, and the strength of correlation between the anomaly parameters and the anomaly type; According to the order of the correlation strength from large to small, the parameter correction operation is performed on the abnormal parameters in sequence until the quantum bit reading signal returns to normal.
7. A device for analyzing quantum bit read data, characterized in that: The device comprises: A reading unit, reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit reading data; A preparation unit, which prepares the first quantum bit from the first quantum state to a second quantum state through a Pauli-X gate to obtain a corresponding second quantum bit, and reads the second quantum bit to obtain second quantum bit read data; A training unit, inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model; Specifically used to construct a single-node neural network model with a single neuron as the output layer; According to the first quantum state and the second quantum state, marking corresponding classification labels on the first quantum bit read data and the second quantum bit read data; Determine the binary output result of the single-node neural network model and the mapping relationship between the binary output result and the classification label to construct a final neural network model; The analysis unit performs state analysis on the quantum bit read from the quantum computer through the quantum bit analysis model to determine the quantum state corresponding to the quantum bit.
8. An analysis device for quantum bit reading data, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data; By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data; Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model; Performing state analysis on the quantum bit read from the quantum computer using the quantum bit analysis model to determine the quantum state corresponding to the quantum bit; Before inputting the first quantum bit read data and the second quantum bit read data into a pre-built neural network model for training, the method further includes: Construct a single-node neural network model with a single neuron as the output layer; According to the first quantum state and the second quantum state, marking corresponding classification labels on the first quantum bit read data and the second quantum bit read data; Determine the binary output result of the single-node neural network model and the mapping relationship between the binary output result and the classification label to construct a final neural network model.
9. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Reading a first quantum bit in a first quantum state output by the quantum computer to obtain first quantum bit read data; By using a Pauli-X gate, the first quantum bit is prepared from the first quantum state to a second quantum state to obtain a corresponding second quantum bit, and the second quantum bit is read to obtain second quantum bit read data; Inputting the first qubit reading data and the second qubit reading data into a pre-built neural network model for training to obtain a corresponding qubit analysis model; Performing state analysis on the quantum bit read from the quantum computer using the quantum bit analysis model to determine the quantum state corresponding to the quantum bit; Before inputting the first quantum bit read data and the second quantum bit read data into a pre-built neural network model for training, the method further includes: Construct a single-node neural network model with a single neuron as the output layer; According to the first quantum state and the second quantum state, marking corresponding classification labels on the first quantum bit read data and the second quantum bit read data; Determine the binary output result of the single-node neural network model and the mapping relationship between the binary output result and the classification label to construct a final neural network model.
