A quantum processing method, device, equipment and medium for transmission error detection
Through dual-track encoding and Pauli channel transmission, combined with error detection and amplitude amplification of the quantum machine learning model, the problem of noise influence in quantum key transmission will be solved, and the key code rate and the reliability of data transmission will be improved.
Patent Information
- Application Number
- CN202411155689.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Quantum keys are easily affected by noise during channel transmission, resulting in a reduction in code rate and affecting system performance.
Dual-rail coding and Pauli channel transmission are used, an error detection circuit is designed to pre-screen single qubit errors, and a parameterized quantum circuit is used as a quantum machine learning model to amplify the amplitude of the correct state to improve the probability of the correct state during the transmission process.
Through these measures, the code rate of quantum keys is improved, the application scenarios are broadened, and the integrity and accuracy of data transmission are enhanced.
Smart Images

Figure CN118677613B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum key distribution technology, and in particular to a quantum processing method, device, equipment and medium for transmission error detection. Background Art
[0002] With the gradual development of quantum technology, quantum computing is constantly shaking the foundation that traditional encryption systems have always relied on - the complexity and difficulty of calculations. Quantum computing, with the quantum mechanical properties of its quantum bits, superposition, entanglement and its inherent parallelism, can provide quantum computers with computing power that is exponentially greater than that of classical computers used today.
[0003] Quantum Key Distribution (QKD) is a provably secure protocol that allows private key bits to be created between communicating parties over a public channel. This technology uses the principles of quantum mechanics to implement a secure communication method for key exchange, ensuring that both parties share a key that only they know and can detect if a third party is trying to eavesdrop. At its core are two important properties of quantum mechanics: quantum superposition and quantum entanglement, and the property that measuring a quantum system affects its state.
[0004] However, quantum keys still need to be transmitted through channels, and during the transmission process in the channel they will inevitably be affected by factors such as noise, which will reduce the key coding rate to a certain extent, thereby affecting the overall performance of the system.
[0005] Therefore, how to improve the coding rate of quantum keys has become a technical problem that needs to be urgently solved by those skilled in the art. Summary of the invention
[0006] The present invention provides a quantum processing method, device, equipment and medium for transmission error detection to improve the coding rate in the process of quantum key transmission.
[0007] In order to solve the above technical problems, an embodiment of the present invention provides a quantum processing method for transmission error detection, the method comprising:
[0008] At the communication sending end, a quantum state to be encoded is prepared according to a quantum key distribution protocol, and dual-track encoding is performed on the quantum state to be encoded to obtain a quantum state to be detected.
[0009] The encoded quantum state to be detected is transmitted through a Pauli channel to obtain transmission information data of the quantum state to be detected in the Pauli channel.
[0010] According to the transmission information data, an error detection circuit is designed to pre-screen single quantum bit errors in the quantum state to be detected to obtain the quantum state to be amplified.
[0011] The parameterized quantum circuit is trained as a quantum machine learning model to amplify the amplitude of the correct state in the quantum state to be amplified to obtain the transmitted quantum state.
[0012] The communication receiving end receives the transmitted quantum state, decodes the transmitted quantum state, obtains the initial key, and completes the transmission of the key.
[0013] Further, the dual-track encoding of the quantum state to be encoded to obtain the quantum state to be detected includes:
[0014] The quantum state to be encoded is dual-track encoded, and the encoding rule is:
[0015]
[0016] in, and is the input quantum state of the encoding circuit, and They are and The corresponding encoding circuit outputs the quantum state, and They are and A simple representation of .
[0017] Further, the Pauli channel is expressed as:
[0018]
[0019] in, is the density matrix representation of the input quantum state, is the Pauli operator, is the conjugate transpose of the Pauli operator, is the quantum state after evolution, where is the probability of error-free transmission, Transmission occurs The probability of error and , .
[0020] Furthermore, the designed error detection circuit pre-screens single quantum bit errors in the quantum state to be detected, including:
[0021] An error detection circuit is provided with an auxiliary qubit, the initial value of which is The error detection circuit is designed such that when the quantum state to be detected passes through, the auxiliary qubit detects the quantum state to be detected, and determines whether to discard the data causing the auxiliary qubit to flip according to whether the auxiliary qubit has a bit flip.
[0022] Further, the training parameterized quantum circuit as a quantum machine learning model includes:
[0023] The training process of the quantum machine learning model includes:
[0024] A parameterized quantum circuit is used as a quantum machine learning model, and the quantum state to be amplified is input into the quantum machine learning model for training, wherein the quantum machine learning model has a quantum rotating gate for adjusting the relative probability of the correct state in the quantum state to be amplified.
[0025] Based on the detection results output by the quantum machine learning model, the quantum machine learning model is optimized and adjusted to achieve the training of the quantum machine learning model, wherein the detection results include the relative probabilities of the correct state and the incorrect state output by the quantum rotating gate.
[0026] Furthermore, the step of performing amplitude amplification on the correct state in the quantum state to be amplified further includes:
[0027] Extract the variational quantum circuits in the quantum machine learning model after training.
[0028] The variational quantum circuit is used as an amplitude amplification circuit to amplify the correct state in the quantum state to be amplified to obtain the transmission quantum state.
[0029] Furthermore, the quantum key distribution protocol includes the BB84 protocol.
[0030] Another embodiment of the present invention provides a quantum processing device for transmission error detection, comprising:
[0031] The dual-track encoding module is used to prepare a quantum state to be encoded according to a quantum key distribution protocol at a communication transmitting end, and perform dual-track encoding on the quantum state to be encoded to obtain a quantum state to be detected.
[0032] The channel selection module is used to use the Pauli channel to transmit the encoded quantum state to be detected, and obtain the transmission information data of the quantum state to be detected in the Pauli channel.
[0033] The error detection module designs an error detection circuit according to the transmission information data to pre-screen single quantum bit errors in the quantum state to be detected to obtain the quantum state to be amplified.
[0034] The amplitude amplification module is used to train the parameterized quantum circuit as a quantum machine learning model to amplify the amplitude of the correct state in the quantum state to be amplified to obtain the transmitted quantum state.
[0035] The receiving and decoding module is used for receiving the transmission quantum state at the communication receiving end, decoding the transmission quantum state, obtaining the initial key, and completing the transmission of the key.
[0036] Yet another embodiment of the present invention provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the quantum processing method for transmission error detection as described above when executing the computer program.
[0037] Yet another embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when a device where the computer-readable storage medium is located executes the computer program, the quantum processing method for transmission error detection as described above is implemented.
[0038] Compared with the prior art, the embodiments of the present invention have the following advantages:
[0039] (1) The more universal Pauli channel is used for quantum transmission. By changing some coefficients in the channel, it can be transformed into different types of noise channels, thus broadening the application scenarios.
[0040] (2) The error of a single quantum bit is detected through an error detection circuit, and the amplitude of the correct quantum state is amplified through an amplitude amplification circuit, thereby increasing the probability of measuring the correct state during quantum key transmission and improving the coding rate of the quantum key. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a flowchart of the steps of a quantum processing method for transmission error detection provided by an embodiment of the present invention;
[0042] Figure 2 is a dual-track encoding circuit diagram provided by an embodiment of the present invention;
[0043] Figure 3 is an error detection circuit diagram provided by an embodiment of the present invention;
[0044] Figure 4 is a parameterized quantum circuit model diagram provided by an embodiment of the present invention;
[0045] Figure 5 This is a system overall circuit diagram of an embodiment of the present invention taking the BB84 protocol as an example;
[0046] Figure 6A structural block diagram of a quantum processing device for transmission error detection provided by an embodiment of the present invention;
[0047] Figure 7 A structural diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0050] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. The terms "vertical", "horizontal", "left", "right", "upper", "lower" and similar expressions used herein are only for illustrative purposes, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0051] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.
[0052] An embodiment of the present invention provides a quantum processing method for transmission error detection. For details, see Figure 1 , Figure 1 The flowchart of the quantum processing method for transmission error detection in one embodiment of the present invention includes steps S11 to S14:
[0053] Step S11, at the communication sending end, a quantum state to be encoded is prepared according to a quantum key distribution protocol, and dual-track encoding is performed on the quantum state to be encoded to obtain a quantum state to be detected.
[0054] The quantum state prepared according to the quantum key distribution protocol (QKD) is dual-track encoded to obtain the quantum state to be encoded, thereby improving its anti-interference, error correction and error detection capabilities during the transmission process.
[0055] Dual-track coding refers to the redundant coding of single quantum bits into dual quantum bits in a fixed manner through a quantum coding circuit. Specifically, the coding rule for dual-track coding of the quantum state to be encoded is:
[0056]
[0057] in, and is the input quantum state of the encoding circuit, and They are and The corresponding encoding circuit outputs the quantum state. For the convenience of representation, and They are simply expressed as and .
[0058] like Figure 2 As shown, Figure 2 FIG. 1 shows a dual-track encoding circuit diagram provided by an embodiment of the present invention. The encoding circuit specifically consists of a CNOT gate and an X gate. As the input of the encoding circuit, the encoding effect is: Assuming the input ,in and It is measured get ( ), then the output of this coding circuit is .
[0059] By dual-track encoding of quantum states, quantum information is distributed in two physical systems. Therefore, when one of the systems is subject to noise or interference, the other system can still maintain the integrity of the quantum information, thereby improving the stability of the quantum information.
[0060] Step S12: using a Pauli channel to transmit the encoded quantum state to be detected, and obtaining transmission information data of the quantum state to be detected in the Pauli channel.
[0061] The transmission channel selects the more universal Pauli channel, where the mathematical expression of the Pauli channel is:
[0062]
[0063] in, is the density matrix representation of the input quantum state, is the Pauli operator, is the conjugate transpose of the Pauli operator, is the quantum state after evolution, where is the probability of error-free transmission, Transmission occurs The probability of error. , , so we only need to change the parameter , , , The Pauli channel can evolve into several other different types of quantum noise channels. = =0, at this time, the channel is changed to a bit-flipped channel, which makes this scheme easy to apply to other noisy channel scenarios by only changing the parameters in the channel.
[0064] We assume that under this Pauli channel State and The status of the states is the same, and the influence of the output signal amplitude and phase is not considered. Then the output of any quantum bit after passing through the channel can be expressed as , and satisfies the normalization condition .
[0065] Here, the quantum state after dual-track encoding For example, according to the above assumptions, the output after passing through the Pauli channel will be a superposition state, expressed as follows:
[0066]
[0067] in and For quantum bits The channel output coefficient, and For qubit The composite coefficient represents the superposition of the two qubits after the dual-track coding passes through the Pauli channel.
[0068] The data is transmitted using the Pauli channel to obtain the transmission status of the quantum state to be detected in the Pauli channel for subsequent error detection and amplitude amplification processes.
[0069] Step S13, according to the transmission information data, an error detection circuit is designed to pre-screen single quantum bit errors in the quantum state to be detected to obtain the quantum state to be amplified.
[0070] After the encoded quantum state to be detected is transmitted through the Pauli channel, it will be affected by noise and produce an erroneous output state. Figure 3 The circuit shown in the figure performs error detection. Figure 3 FIG. 2 shows an error detection circuit diagram provided for an embodiment of the present invention.
[0071] Set up an error detection circuit and introduce the initial state into the circuit as Auxiliary qubit , the auxiliary qubit is used to perform error detection on the quantum state to be detected passing through the circuit.
[0072] Specifically, the process of error detection of the quantum state to be detected by the auxiliary qubit is as follows: the two qubits in the quantum state to be detected after double-track encoding Each controls a CNOT gate and passes the corresponding CNOT gate to The auxiliary qubit exerts an influence, and when the quantum state to be detected passes by, the auxiliary qubit detects the quantum state to be detected. According to the properties of the CNOT gate, the auxiliary qubit After passing through the error detection circuit and being measured by the receiving end, it may present two states, and the receiving end makes a post-selection based on the different states.
[0073] Since a single qubit is encoded as a double qubit by dual tracks, it will show four different possible states under the influence of Pauli channel. , after passing through the Pauli channel, it goes out In addition to the state, there may also be These three different error states. Analyzing the difference between the correct state and the error state, the designed error detection circuit can detect , Only one wrong quantum state occurred.
[0074] The receiving end of subsequent communications performs post-selection based on the state of the quantum auxiliary bit, and the subsequent selection rule is: if the detection result shows that the auxiliary quantum bit has a bit flip, subsequent decoding and other operations are performed; if the auxiliary quantum bit has not a bit flip, it means that an error has been detected, and the received data corresponding to the quantum state to be detected is discarded.
[0075] By designing the above error detection circuit to detect transmission errors of the quantum state to be detected, single-bit errors occurring during the transmission process can be effectively detected, thereby ensuring the integrity and accuracy of data transmission.
[0076] Step S14, training the parameterized quantum circuit as a quantum machine learning model to amplify the amplitude of the correct state in the quantum state to be amplified to obtain a transmitted quantum state.
[0077] Since the error detection circuit in step S13 can only detect the error of a single quantum bit, when errors occur in two quantum bits at the same time, the error detection circuit will fail at this time, and the quantum state after passing through the error detection circuit is:
[0078]
[0079] at this time , the subsequent communication receiving end gets the correct state The probability of the error state is already greater than that of the error state, but in order to maximize the bit rate, it is necessary to amplify it as much as possible. Amplitude , reduce Amplitude To this end, a quantum machine learning-based solution is used to train a circuit that can amplify the large amplitude of the weight in the quantum state, so that the superposition state The maximum approximation .
[0080] like Figure 4 As shown, Figure 4 A parameterized quantum circuit model diagram provided for an embodiment of the present invention is shown, a parameterized quantum circuit is constructed as a quantum machine learning model, and a quantum rotating gate is set in the quantum machine learning model to adjust and control the state of the quantum bit.
[0081] In the construction of parameterized quantum circuits, first, a parameterized quantum rotation gate is applied on two quantum bits.
[0082] The relative probabilities of the correct state and the wrong state after passing through the quantum rotating gate are detected to obtain the detection results. According to the detection results, the parameters of the quantum rotating gate are adjusted using the gradient descent algorithm so that the quantum state after passing through the rotating gate is The relative probability of value, reduce The value of .
[0083] Repeat multiple tests and parameter adjustments until the relative probability between the correct state and the incorrect state reaches a preset value, and the model training is completed.
[0084] The variational quantum circuit in the trained quantum machine learning model is then extracted and used as an amplitude amplification circuit, thereby increasing the probability of measuring the correct state during quantum key transmission under the Pauli channel.
[0085] Since the above processing is all about coded quantum states, decoding is required at the receiving end of the communication to restore the received transmission quantum state to the state before dual-track encoding. After that, according to the different QKD protocols, operations corresponding to the specific protocol are performed to obtain the original key. After obtaining the original key, the receiving and sending ends perform classical post-processing to complete the key distribution.
[0086] Take the most common BB84 protocol as an example. Figure 5 As shown, Figure 5 The figure shows the overall circuit diagram of the system taking the BB84 protocol as an example in an embodiment of the present invention. At the end of the circuit, like the last step of the standard BB84 protocol, the communication receiving end randomly measures the decoded BB84 state with one of the two base states X or Z to obtain the original key bit. After that, the receiving end and the sending end need to perform classical post-processing according to the subsequent steps of the protocol to complete the transmission of the key.
[0087] The quantum processing method for transmission error detection of the present invention selects a more universal Pauli channel for quantum transmission, and can transform it into different types of noise channels by changing several coefficients in the channel, thereby broadening the application scenarios; the error of a single quantum bit is detected by an error detection circuit, and the amplitude of the quantum correct state is amplified by an amplitude amplification circuit, thereby increasing the probability of measuring the correct state during quantum key transmission and improving the coding rate of the quantum key.
[0088] The embodiment of the present invention further provides a quantum processing device for transmission error detection, which is used to execute the quantum processing method for transmission error detection as described above. Figure 6 This is a block diagram of a quantum processing device for transmission error detection according to an embodiment of the present invention. The device includes:
[0089] The dual-track encoding module 21 is used to prepare a quantum state to be encoded according to a quantum key distribution protocol at a communication transmitting end, and perform dual-track encoding on the quantum state to be encoded to obtain a quantum state to be detected.
[0090] The channel selection module 22 is used to use the Pauli channel to transmit the encoded quantum state to be detected, and obtain the transmission information data of the quantum state to be detected in the Pauli channel.
[0091] The error detection module 23 designs an error detection circuit according to the transmission information data to pre-screen single quantum bit errors in the quantum state to be detected, so as to obtain the quantum state to be amplified.
[0092] The amplitude amplification module 24 is used to train the parameterized quantum circuit as a quantum machine learning model to perform amplitude amplification on the correct state in the quantum state to be amplified to obtain a transmission quantum state.
[0093] The receiving and decoding module 25 is used for the communication receiving end to receive the transmitted quantum state, decode the transmitted quantum state, obtain the initial key, and complete the transmission of the key.
[0094] The technical features and technical effects of the device proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and are not described in detail here. Each module in the above device can be implemented in whole or in part by software, hardware, and a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0095] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the quantum processing method for transmission error detection as described above.
[0096] The embodiment of the present invention further provides a computer device, Figure 7 A structural block diagram of a preferred embodiment of a computer device provided by the present invention, wherein the computer device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the quantum processing method for transmission error detection as described above when executing the computer program.
[0097] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.
[0098] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the computer device, and various parts of the computer device are connected using various interfaces and lines.
[0099] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.
[0100] It should be noted that the above-mentioned computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 7 The structural block diagram is merely an example of a computer device and does not constitute a limitation of the computer device, and may include more or less components than shown in the figure, or combine certain components, or different components.
[0101] In summary, compared with the prior art, the quantum processing method, device, equipment and medium for transmission error detection provided by the embodiments of the present invention have the following beneficial effects:
[0102] (1) The more universal Pauli channel is used for quantum transmission. By changing some coefficients in the channel, it can be transformed into different types of noise channels, thus broadening the application scenarios.
[0103] (2) The error of a single quantum bit is detected through an error detection circuit, and the amplitude of the correct quantum state is amplified through an amplitude amplification circuit, thereby increasing the probability of measuring the correct state during quantum key transmission and improving the coding rate of the quantum key.
[0104] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A quantum processing method for transmission error detection, characterized in that: include: At the communication transmitting end, a quantum state to be encoded is prepared according to a quantum key distribution protocol, and the quantum state to be encoded is dual-track encoded to obtain a quantum state to be detected; Using a Pauli channel to transmit the encoded quantum state to be detected, to obtain transmission information data of the quantum state to be detected in the Pauli channel; According to the transmission information data, an error detection circuit is designed to pre-screen single quantum bit errors in the quantum state to be detected to obtain a quantum state to be amplified; Training a parameterized quantum circuit as a quantum machine learning model to amplify the amplitude of a correct state in the quantum state to be amplified to obtain a transmission quantum state; The communication receiving end receives the transmitted quantum state, decodes the transmitted quantum state, obtains the initial key, and completes the transmission of the key.
2. The quantum processing method for transmission error detection according to claim 1, characterized in that: The step of performing dual-track encoding on the quantum state to be encoded to obtain the quantum state to be detected includes: The quantum state to be encoded is dual-track encoded, and the encoding rule is: in, and is the input quantum state of the encoding circuit, and They are and The corresponding encoding circuit outputs the quantum state, and They are and A simple representation of .
3. The quantum processing method for transmission error detection according to claim 1, characterized in that: The Pauli channel is expressed as: in, is the density matrix representation of the input quantum state, is the Pauli operator, is the conjugate transpose of the Pauli operator, is the quantum state after evolution, is the probability of a depolarization error, , .
4. The quantum processing method for transmission error detection according to claim 1, characterized in that: The designed error detection circuit pre-screens single quantum bit errors in the quantum state to be detected, including: An error detection circuit is provided with an auxiliary qubit, the initial value of which is The error detection circuit is designed such that when the quantum state to be detected passes through, the auxiliary qubit detects the quantum state to be detected, and determines whether to discard the data causing the auxiliary qubit to flip according to whether the auxiliary qubit has a bit flip.
5. The quantum processing method for transmission error detection according to claim 1, characterized in that: The training parameterized quantum circuit as a quantum machine learning model includes: The training process of the quantum machine learning model includes: Using a parameterized quantum circuit as a quantum machine learning model, inputting the quantum state to be amplified into the quantum machine learning model for training, wherein the quantum machine learning model has a quantum rotating gate for adjusting the relative probability of a correct state in the quantum state to be amplified; Based on the detection results output by the quantum machine learning model, the quantum machine learning model is optimized and adjusted to achieve the training of the quantum machine learning model, wherein the detection results include the relative probabilities of the correct state and the incorrect state output by the quantum rotating gate.
6. The quantum processing method for transmission error detection according to claim 5, characterized in that: The amplitude amplifying the correct state in the quantum state to be amplified also includes: Extracting the variational quantum circuit in the quantum machine learning model after training; The variational quantum circuit is used as an amplitude amplification circuit to amplify the correct state in the quantum state to be amplified to obtain the transmission quantum state.
7. The quantum processing method for transmission error detection according to claim 1, characterized in that: The quantum key distribution protocol includes the BB84 protocol.
8. A quantum processing device for transmission error detection, characterized in that: include: A dual-track encoding module is used to prepare a quantum state to be encoded according to a quantum key distribution protocol at a communication transmitting end, and perform dual-track encoding on the quantum state to be encoded to obtain a quantum state to be detected; A channel selection module, used to use a Pauli channel to transmit the encoded quantum state to be detected, and obtain transmission information data of the quantum state to be detected in the Pauli channel; An error detection module, according to the transmission information data, designs an error detection circuit to pre-screen single quantum bit errors in the quantum state to be detected, and obtains the quantum state to be amplified; An amplitude amplification module, used to train a parameterized quantum circuit as a quantum machine learning model to amplify the amplitude of a correct state in the quantum state to be amplified, so as to obtain a transmission quantum state; The receiving and decoding module is used for receiving the transmission quantum state at the communication receiving end, decoding the transmission quantum state, obtaining the initial key, and completing the transmission of the key.
9. A computer device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the quantum processing method for transmission error detection according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the quantum processing method for transmission error detection according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and system for transmitting data in plateau tunnel, and storage medium
CN118118514A
Quantum key distribution method, system, device and medium
CN118413323A
OAM measurement device independent quantum key distribution system and method based on real-time tracking compensation
WO2020135786A1
KR20200092674A
