Quantum error correction code generation method and device, computer equipment and storage medium

By measuring the round results of the detection operator and the coupling method of the auxiliary qubits, the noise error tolerance threshold of the quantum error correction code is improved, solving the problem of low noise error tolerance threshold in the existing technology, and achieving more stable quantum information transmission.

CN118780385AActive Publication Date: 2024-10-15SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410903194.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-15
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The noise tolerance threshold of existing quantum error correction codes is low, resulting in high error rates in quantum circuits and affecting the stability of quantum information.

Method used

By measuring the round results of multiple detection operators, combined with the coupling of auxiliary qubits and data qubits, the number of couplings between auxiliary qubits and data qubits is reduced, thereby improving the noise tolerance threshold.

Benefits of technology

It improves the noise tolerance threshold of quantum error correction codes, reduces the error rate, enhances the stability of quantum information, and is suitable for topological superconducting wire systems with good noise immunity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780385A_ABST
    Figure CN118780385A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a quantum error correction code generation method and device, computer equipment and a storage medium, and the method comprises the steps: measuring a plurality of first-class detection operators, a plurality of second-class detection operators, a plurality of first-class detection operators and a plurality of third-class detection operators in the 0th round, the first round, the second round and the third round; in the t-th round, determining the t-th round measurement result of the t-th round stabilizer operator; in the (t + 1) th round, determining a (t + 1) th round measurement result of the (t + 1) th round stabilizer operator; in the (t + 2) th round, determining a (t + 2) th round measurement result of the (t + 2) th round stabilizer operator; and in the (t + 3) th round, determining a (t + 3) th round measurement result of the (t + 3) th round stabilizer operator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a quantum error correction code generation method, device, computer equipment and storage medium. Background Art

[0002] The basic unit of quantum information used in quantum computing is the qubit. The presence of the external environment (such as temperature, electromagnetic fields, cosmic rays, etc.) will destroy the quantum properties of the qubit. Therefore, quantum error correction codes are needed to preserve quantum information. Quantum error correction codes use multiple data qubits and use the characteristics of quantum entanglement to encode a logical qubit, and protect the logical qubit through continuous error detection and correction. Stable subcodes are widely used quantum error correction codes. In stable subcodes, there is a set of mutually commutative stabilizer operators, and errors are detected by measuring the stabilizer operators.

[0003] In the related technology, the stabilizer operator involved in the stabilizer code is composed of the direct product of four Pauli operators, and the auxiliary quantum bit needs to be coupled with four data quantum bits. In actual quantum circuits, quantum gates contain noise. The greater the number of coupled quantum bits, the higher the error rate; the higher the error rate, the lower the noise tolerance threshold of the quantum error correction code. How to improve the noise tolerance threshold of quantum error correction codes has become a problem that needs to be solved. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide a method, apparatus, computer device and storage medium for generating a quantum error correction code.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating a quantum error correction code, the method comprising:

[0006] In the 0th round, a plurality of first-type detection operators are measured to obtain the 0th round measurement results of the plurality of first-type detection operators, wherein the 0th round measurement results of the first-type detection operators are obtained by the 0th round measurement results of two operators used to obtain the 0th round measurement results of the first-type detection operators, and the two operators used to obtain the 0th round measurement results of the first-type detection operators act on different data qubits in the two data qubits;

[0007] In the first round, a plurality of second-type detection operators are measured to obtain first-round measurement results of the plurality of second-type detection operators, wherein the first-round measurement results of the second-type detection operators are obtained by first-round measurement results of two operators used to obtain the first-round measurement results of the second-type detection operators;

[0008] In the second round, a plurality of first-category detection operators are measured to obtain second-round measurement results of the plurality of first-category detection operators;

[0009] In the third round, a plurality of third-category detection operators are measured to obtain third-round measurement results of the plurality of third-category detection operators, wherein the third-round measurement results of the third-category detection operators are obtained by the third-round measurement results of two operators used to obtain the third-round measurement results of the third-category detection operators;

[0010] In the tth round, the tth round measurement result of the tth round stabilizer operator is obtained according to the t-1th round measurement results of the two third-type detection operators and the tth round measurement results of the two first-type detection operators, where t is a multiple of 4;

[0011] In the t+1th round, the t+1th round measurement result of the t+1th round stabilizing sub-operator is obtained according to the t-th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators;

[0012] In the t+2th round, the t+2th round measurement result of the t+2th round stabilizing sub-operator is obtained according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators;

[0013] In the t+3th round, the t+3th round measurement result of the t+3th round stabilizing sub-operator is obtained according to the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators.

[0014] In a possible implementation, in round 0, a plurality of first-category detection operators are measured, and the round 0 measurement results of the plurality of first-category detection operators are obtained, including:

[0015] measuring a first-type detection operator corresponding to k to obtain a 0th round measurement result of the first-type detection operator corresponding to k, wherein the 0th round measurement result of the first-type detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data qubit and the 0th round measurement result of the first operator acting on the kth second data qubit, wherein k is one of 0 to the total number of the first-type detection operators;

[0016] And in the first round, a plurality of second-type detection operators are measured, and the first-round measurement results of the plurality of second-type detection operators include:

[0017] In the first round, a plurality of second-type first detection operators are measured to obtain first-round measurement results of the plurality of second-type first detection operators, and a plurality of second-type second detection operators are measured to obtain first-round measurement results of the plurality of second-type second detection operators, wherein the first-round measurement results of the second-type first detection operators corresponding to 2n-1 are: the product of the first-round measurement results of the second operator acting on the 2n-1th first data qubit and the first-round measurement results of the third operator acting on the 2nth first data qubit, and the first-round measurement results of the second-type second detection operators corresponding to 2n-1 are: the product of the first-round measurement results of the third operator acting on the 2n-1th second data qubit and the first-round measurement results of the second operator acting on the 2nth second data qubit; and

[0018] In the third round, multiple third-category detection operators are measured, and the third-round measurement results of multiple third-category detection operators include:

[0019] In the third round, multiple third-type first detection operators are measured to obtain third-round measurement results of multiple third-type first detection operators, and multiple third-type second detection operators are measured to obtain third-round measurement results of multiple third-type second detection operators, wherein the third-round measurement results corresponding to 2n third-type first detection operators are: the product of the third-round measurement results of the second operator acting on the 2nth first data quantum bit and the third-round measurement results of the third operator acting on the 2n+1th first data quantum bit, and the measurement results corresponding to 2n third-type second detection operators are: the product of the third-round measurement results of the third operator acting on the 2nth second data quantum bit and the third-round measurement results of the second operator acting on the 2n+1th second data quantum bit.

[0020] In a possible implementation, in the tth round, according to the t-1th round measurement results of the two third-type detection operators and the tth round measurement results of the two first-type detection operators, the tth round measurement results of the tth round stabilizing sub-operator are obtained, including:

[0021] In the tth round, the product of the t-1th round measurement result of the third-type first detection operator corresponding to 2n, the t-1th round measurement result of the third-type second detection operator corresponding to 2n, the tth round measurement result of the first-type detection operator corresponding to 2n, and the tth round measurement result of the first-type detection operator corresponding to 2n+1 is used as the tth round measurement result of the tth round stabilizing sub-operator; and

[0022] In the t+1th round, according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators, the t+1th round measurement results of the t+1th round stabilizing sub-operator are obtained, including:

[0023] In the t+1th round, the product of the t-th round measurement result of the first type detection operator corresponding to 2n-1, the t-th round measurement result of the first type detection operator corresponding to 2n, the t+1th round measurement result of the second type first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second type second detection operator corresponding to 2n-1 is used as the t+1th round measurement result of the t+1th round stabilizing sub-operator; and

[0024] In the t+2th round, based on the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators, the t+2th round measurement results of the t+2th round stabilizing sub-operator are obtained, including:

[0025] In the t+2th round, the product of the t+1th round measurement result of the second type first detection operator corresponding to 2n-1, the t+1th round measurement result of the second type second detection operator corresponding to 2n-1, the t+2th round measurement result of the first type detection operator corresponding to 2n-1, and the t+2th round measurement result of the first type detection operator corresponding to 2n is obtained to obtain the t+2th round measurement result of the t+2th round stabilizing sub-operator; and

[0026] In the t+3th round, based on the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators, the t+3th round measurement results of the t+3th round stabilizing sub-operator are obtained, including:

[0027] In the t+3th round, the product of the t+2th round measurement result of the first type of detection operator corresponding to 2n, the t+2th round measurement result of the first type of detection operator corresponding to 2n+1, the t+3th round measurement result of the third type first detection operator corresponding to 2n, and the t+3th round measurement result of the third type second detection operator corresponding to 2n is used as the t+3th round measurement result of the t+3th round stabilizing sub-operator.

[0028] In a possible implementation, it also includes:

[0029] The product of the i-th round measurement results of multiple second-type first detection operators and the i-th round measurement results of multiple third-type first detection operators is used as the i-th round measurement result of the logical Z operator, wherein the i-th round is any round.

[0030] In a possible implementation, it also includes:

[0031] The product of the i-th round measurement results of two operators in the target operator combination is used as the i-th round measurement result of the logic X operator, wherein the target operator combination includes: a second operator acting on the j-th first data qubit, a third operator acting on the j-th second data qubit, and the i-th round measurement result of the logic X operator commutes with any detection operator used to obtain the i-th round measurement result of the i-th round stabilizer operator.

[0032] In a second aspect, an embodiment of the present disclosure provides a quantum error correction code generation device, the quantum error correction code generation device comprising:

[0033] a first measurement unit, configured to measure, in round 0, a plurality of first-type detection operators to obtain round 0 measurement results of the plurality of first-type detection operators, wherein the round 0 measurement results of the first-type detection operators are obtained by the round 0 measurement results of two operators used to obtain the round 0 measurement results of the first-type detection operators, and the two operators used to obtain the round 0 measurement results of the first-type detection operators act on different data qubits of the two data qubits;

[0034] a second measurement unit, configured to measure, in a first round, a plurality of second-category detection operators to obtain first-round measurement results of the plurality of second-category detection operators, wherein the first-round measurement results of the second-category detection operators are obtained by first-round measurement results of two operators used to obtain the first-round measurement results of the second-category detection operators;

[0035] A third measurement unit is used to measure the plurality of first-category detection operators in the second round to obtain second-round measurement results of the plurality of first-category detection operators;

[0036] a fourth measurement unit, configured to measure, in a third round, multiple third-category detection operators to obtain third-round measurement results of the multiple third-category detection operators, wherein the third-round measurement results of the third-category detection operators are obtained by using the third-round measurement results of two operators used to obtain the third-round measurement results of the third-category detection operators;

[0037] a fifth measurement unit, configured to obtain, in a tth round, a tth round measurement result of a tth round stabilizing sub-operator according to a t-1th round measurement result of two third-type detection operators and a tth round measurement result of two first-type detection operators, where t is a multiple of 4;

[0038] A sixth measurement unit is used to obtain, in the t+1th round, a t+1th round measurement result of the t+1th round stabilizing sub-operator according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators;

[0039] A seventh measurement unit is used to obtain, in the t+2th round, a t+2th round measurement result of the t+2th round stabilizing sub-operator according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators;

[0040] The eighth measurement unit is used to obtain the t+3th round measurement result of the t+3th round stabilizing sub-operator according to the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators in the t+3th round.

[0041] In one possible implementation, the first measurement unit is further used to measure the first type of detection operator corresponding to k to obtain the 0th round measurement result of the first type of detection operator corresponding to k, wherein the 0th round measurement result of the first type of detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data quantum bit and the 0th round measurement result of the first operator acting on the kth second data quantum bit, wherein k is one of 0 to the total number of the first type of detection operators; the second measurement unit is further used to measure multiple second type first detection operators in the first round to obtain the 1st round measurement results of multiple second type first detection operators, and to measure multiple second type second detection operators to obtain the 1st round measurement results of multiple second type second detection operators, wherein the 1st round measurement result of the second type first detection operator corresponding to 2n-1 is: the product of the 1st round measurement result of the second operator acting on the 2n-1th first data quantum bit and the 1st round measurement result of the third operator acting on the 2nth first data quantum bit, for The first round measurement result of the second type second detection operator corresponding to 2n-1 is: the product of the first round measurement result of the third operator acting on the 2n-1 second data quantum bit and the first round measurement result of the second operator acting on the 2n second data quantum bit; the fourth measurement unit is further used to measure multiple third type first detection operators in the third round to obtain the third round measurement results of multiple third type first detection operators, and measure multiple third type second detection operators to obtain the third round measurement results of multiple third type second detection operators, wherein the third round measurement result of the third type first detection operator corresponding to 2n is: the product of the third round measurement result of the second operator acting on the 2n first data quantum bit and the third round measurement result of the third operator acting on the 2n+1 first data quantum bit, and the measurement result of the third type second detection operator corresponding to 2n is: the product of the third round measurement result of the third operator acting on the 2n second data quantum bit and the third round measurement result of the second operator acting on the 2n+1 second data quantum bit.

[0042] In one possible implementation, the fifth measurement unit is further used to, in the tth round, use the product of the t-1th round measurement result of the third-category first detection operator corresponding to 2n, the t-1th round measurement result of the third-category second detection operator corresponding to 2n, the t-1th round measurement result of the first-category detection operator corresponding to 2n, and the tth round measurement result of the first-category detection operator corresponding to 2n+1 as the tth round measurement result of the stabilizing sub-operator of the tth round; the sixth measurement unit is further used to, in the t+1th round, use the product of the t-1th round measurement result of the first-category detection operator corresponding to 2n-1, the t-1th round measurement result of the first-category detection operator corresponding to 2n, the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1 as the t+1th round measurement result of the stabilizing sub-operator of the t+1th round; The seventh measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator of the t+2th round by multiplying the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1, the t+2th round measurement result of the first-category detection operator corresponding to 2n-1, and the t+2th round measurement result of the first-category detection operator corresponding to 2n in the t+2th round; the eighth measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator of the t+2th round by multiplying the t+2th round measurement result of the first-category detection operator corresponding to 2n, the t+2th round measurement result of the first-category detection operator corresponding to 2n+1, the t+3th round measurement result of the third-category first detection operator corresponding to 2n, and the t+3th round measurement result of the third-category second detection operator corresponding to 2n in the t+3th round.

[0043] In a possible implementation, the quantum error correction code generation device further includes:

[0044] The logic Z operator measurement result generating unit is used to take the product of the i-th round measurement results of multiple second-type first detection operators and the i-th round measurement results of multiple third-type first detection operators as the i-th round measurement result of the logic Z operator, wherein the i-th round is any round.

[0045] In a possible implementation, the quantum error correction code generation device further includes:

[0046] A logic X operator measurement result generating unit is used to use the product of the i-th round measurement results of two operators in the target operator combination as the i-th round measurement result of the logic X operator, wherein the target operator combination includes: a second operator acting on the j-th first data qubit, a third operator acting on the j-th second data qubit, and the i-th round measurement result of the logic X operator commutes with any one of the detection operators used to obtain the i-th round measurement result of the i-th round stabilizer operator.

[0047] In a third aspect, an embodiment of the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0048] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding implementation manner thereof.

[0049] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0050] The quantum error correction code generation method provided by the embodiment of the present disclosure is that any round of measurement results of any type of detection operator in any round of measurement only needs to be determined by any round of measurement results of the corresponding two operators. Each operator in the corresponding two operators acts on different data qubits in the corresponding two data qubits. Any auxiliary qubit only needs to be coupled with the corresponding two data qubits. In any round, each auxiliary qubit measures two operators acting on the corresponding two data qubits to obtain any round of measurement results of any type of detection operator. Thus, the problem of high error rate caused by the auxiliary qubit needing to be coupled with four data qubits is avoided, and the noise tolerance threshold of the quantum error correction code is improved. Since the auxiliary qubit only needs to be coupled with two data qubits, the stable subcode provided by the embodiment of the present disclosure can be implemented in a topological superconducting wire system with good noise resistance. The noise resistance of the Majorana zero-energy mode is used to improve the fault tolerance rate, which solves the problem that the auxiliary qubit needs to be coupled with four data qubits and cannot use this topological quantum system with good noise resistance. The measurement result of the logical qubit can be automatically obtained based on the measurement result of the detection operator, which solves the problem of additional errors caused by the existing stable subcode scheme that requires the separate measurement of the logical qubit in addition to the measurement of the stable subcode operator. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0052] Figure 1is a schematic diagram of an example structure to which the quantum error correction code generation method provided by an embodiment of the present disclosure can be applied;

[0053] Figure 2 It is a flowchart of a method for generating a quantum error correction code provided by an embodiment of the present disclosure;

[0054] Figure 3 It is a schematic diagram of the effect of measuring the corresponding operator acting on the corresponding data qubit in the corresponding round;

[0055] Figure 4 It is a schematic diagram of the effects of operators constituting equivalent stabilizer operators;

[0056] Figure 5 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0058] refer to Figure 1 , which shows a schematic diagram of an example structure to which the quantum error correction code generation method provided by an embodiment of the present disclosure can be applied.

[0059] Figure 1 The black squares shown represent data qubits, Figure 1 The white circles shown represent auxiliary qubits.

[0060] The quantum error correction code constructed by the method provided by the embodiment of the present disclosure may be called a ladder code. The shape of the lattice may be a ladder type.

[0061] A data qubit can be located at a lattice point of a lattice, and an auxiliary qubit can be located in one of the planes, on the plane, or below the plane of the lattice. The lattice has periodic boundary conditions in the left and right directions.

[0062] An auxiliary qubit is coupled to two data qubits, and the coupling is represented by a semicircle between the auxiliary qubit and the data qubit.

[0063] For each of the two data qubits to which the auxiliary qubit is coupled, the auxiliary qubit can be used to measure any round of measurement results of the corresponding operator acting on the data qubit.

[0064] In the embodiment of the present disclosure, the first data quantum bit can be denoted as a.

[0065] In the embodiment of the present disclosure, the second data quantum bit can be denoted as b.

[0066] Any first data qubit is above any second data qubit.

[0067] The number of first data qubits is equal to the number of second data qubits.

[0068] Each first data qubit has a corresponding serial number, and the serial number of the first data qubit indicates the position of the first data qubit.

[0069] Each second data qubit has a corresponding serial number, and the serial number of the second data qubit indicates the position of the second data qubit.

[0070] Figure 1 The first first data qubit, a,1, the second first data qubit, a,2, the third first data qubit, a,3, the fourth first data qubit, a,4, the fifth first data qubit, a,5, and the sixth first data qubit, a,6 are shown.

[0071] Figure 1 The first second data qubit, b,1, the second second data qubit, b,2, the third second data qubit, b,3, the fourth second data qubit, b,4, the fifth second data qubit, b,5, and the sixth second data qubit, b,6 are shown.

[0072] In the embodiment of the present disclosure, the first operator may be a Z-type operator, the second operator may be an X-type operator, and the third operator may be a Y-type operator.

[0073] The Z-type operator can specifically refer to σ z Operator, X-type operator can specifically refer to σ x Operator, the Y-type operator can specifically refer to σ y Operator.

[0074] refer to Figure 2 , which shows a schematic flow chart of a method for generating a quantum error correction code provided in an embodiment of the present disclosure.

[0075] In step S201, in round 0, a plurality of first-category detection operators are measured to obtain round 0 measurement results of the plurality of first-category detection operators.

[0076] The 0th round measurement result of the first type of detection operator is obtained by the 0th round measurement results of two operators used to obtain the 0th round measurement result of the first type of detection operator, and each of the two operators used to obtain the 0th round measurement result of the first type of detection operator acts on different data quantum bits in the two data quantum bits.

[0077] The first type of detection operator may be: the product of two operators used to obtain the 0th round measurement result of the first type of detection operator.

[0078] The 0th round measurement result of the first type of detection operator may be: the product of the 0th round measurement results of two operators used to obtain the 0th round measurement result of the first type of detection operator.

[0079] For a first-class detection operator, each of the two operators used to obtain the 0th round measurement result of the first-class detection operator acts on a different data qubit of the two data qubits. An auxiliary qubit for measuring the two operators used to obtain the corresponding round measurement results of the first-class detection operator is coupled to the two data qubits. In the 0th round, the two operators used to obtain the 0th round measurement result of the first-class detection operator are measured by the auxiliary qubit to obtain the 0th round measurement results of the two operators used to obtain the 0th round measurement results of the first-class detection operator.

[0080] In an embodiment of the present disclosure, in the 0th round, measuring multiple first-class detection operators and obtaining the 0th round measurement results of multiple first-class detection operators may include: measuring the first-class detection operator corresponding to k, and obtaining the 0th round measurement results of the first-class detection operator corresponding to k.

[0081] Here, k is one of 0 to the total number of first-class detection operators.

[0082] The first type of detection operator corresponding to k may be: the product of a first operator acting on the kth first data qubit and a first operator acting on the kth second data qubit.

[0083] The 0th round measurement result of the first type detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data qubit and the 0th round measurement result of the first operator acting on the kth second data qubit.

[0084] The first operator acting on the k-th first data qubit may be: a Z-type operator acting on the k-th first data qubit.

[0085] The Z-type operator acting on the kth first data qubit can be written as

[0086] The first operator acting on the k-th second data qubit may be: a Z-type operator acting on the k-th second data qubit.

[0087] The first operator acting on the kth second data qubit can be written as

[0088] The first type of detection operator corresponding to k can be denoted as C1(k).

[0089] in,

[0090] In step S202, in the first round, a plurality of second-category detection operators are measured to obtain the first-round measurement results of the plurality of second-category detection operators.

[0091] The first round of measurement results of the second type of detection operator is obtained through the first round of measurement results of two operators used to obtain the first round of measurement results of the second type of detection operator, and the two operators used to obtain the first round of measurement results of the second type of detection operator act on different data qubits in the two data qubits.

[0092] The first round measurement result of the second type detection operator may be: the product of the first round measurement results of two operators used to obtain the first round measurement result of the second type detection operator.

[0093] For a second type of detection operator, each of the two operators used to obtain the first round measurement result of the second type of detection operator acts on a different data qubit of the two data qubits. An auxiliary qubit for measuring the two operators used to obtain the corresponding round measurement result of the second type of detection operator is coupled to the two data qubits. In the first round, the two operators used to obtain the first round measurement result of the second type of detection operator are measured by the auxiliary qubit to obtain the first round measurement result of the two operators used to obtain the first round measurement result of the second type of detection operator.

[0094] In the first round, measuring multiple second-type detection operators to obtain the first-round measurement results of multiple second-type detection operators may include: in the first round, measuring multiple second-type first detection operators to obtain the first-round measurement results of multiple second-type first detection operators, and measuring multiple second-type second detection operators to obtain the first-round measurement results of multiple second-type second detection operators, wherein the first-round measurement results corresponding to 2n-1 second-type first detection operators are: the product of the first-round measurement results of the second operator acting on the 2n-1th first data quantum bit and the first-round measurement results of the third operator acting on the 2nth first data quantum bit, and the first-round measurement results corresponding to 2n-1 second-type second detection operators are: the product of the first-round measurement results of the third operator acting on the 2n-1th second data quantum bit and the first-round measurement results of the second operator acting on the 2nth second data quantum bit.

[0095] Wherein, n is a positive integer, and n is one from 1 to a preset maximum value.

[0096] The second type of first detection operator corresponding to 2n-1 may be: the product of a second operator acting on the 2n-1th first data qubit and a third operator acting on the 2nth first data qubit.

[0097] The second detection operator of the second type corresponding to 2n-1 may be the product of the third operator acting on the 2n-1th second data qubit and the second operator acting on the 2nth second data qubit.

[0098] The second operator acting on the 2n-1th first data qubit may be: an X-type operator acting on the 2n-1th first data qubit.

[0099] The X-type operator acting on the 2n-1th first data qubit can be written as:

[0100] The third operator acting on the 2nth first data qubit is: a Y-type operator acting on the 2nth first data qubit.

[0101] The Y-type operator acting on the 2nth first data qubit can be expressed as:

[0102] The second type first detection operator corresponding to 2n-1 is denoted as: C2(a,2n-1).

[0103] in,

[0104] The third operator acting on the 2n-1th second data quantum bit is: a Y-type operator acting on the 2n-1th second data quantum bit.

[0105] The third operator acting on the 2n-1th second data qubit is recorded as:

[0106] The second operator acting on the 2nth second data qubit is: an X-type operator acting on the 2nth second data qubit.

[0107] The X-type operator acting on the 2nth second data qubit is denoted as:

[0108] The second detection operator of the second type corresponding to 2n-1 is denoted as: C2(b,2n-1).

[0109] in,

[0110]

[0111] In step S203, in the second round, multiple first-category detection operators are measured to obtain second-round measurement results of multiple first-category detection operators.

[0112] In the second round, measuring multiple first-class detection operators to obtain second-round measurement results of multiple first-class detection operators includes: measuring the first-class detection operator corresponding to k, and obtaining the second-round measurement result of the first-class detection operator corresponding to k, wherein the second-round measurement result of the first-class detection operator corresponding to k is: the product of the second-round measurement result of the first operator acting on the k-th first data quantum bit and the second-round measurement result of the first operator acting on the k-th second data quantum bit.

[0113] The first operator acting on the k-th first data qubit may be: a Z-type operator acting on the k-th first data qubit.

[0114] The first operator acting on the k-th second data qubit may be: a Z-type operator acting on the k-th second data qubit.

[0115] In step S204, in the third round, multiple third-category detection operators are measured to obtain the third-round measurement results of the multiple third-category detection operators.

[0116] The third round of measurement results of the third type of detection operator is obtained through the third round of measurement results of two operators used to obtain the third round of measurement results of the third type of detection operator, and the two operators used to obtain the third round of measurement results of the third type of detection operator act on different data qubits in the two data qubits.

[0117] For a third type of detection operator, each of the two operators used to obtain the third round measurement result of the third type of detection operator acts on different data qubits in the two data qubits. An auxiliary qubit for measuring the two operators used to obtain the corresponding round measurement result of the third type of detection operator is coupled to the two data qubits. In the third round, the two operators used to obtain the third round measurement result of the third type of detection operator are measured by the auxiliary qubit to obtain the third round measurement result of the two operators used to obtain the third round measurement result of the third type of detection operator.

[0118] In the third round, measuring multiple third-category detection operators to obtain the third-round measurement results of multiple third-category detection operators includes: in the third round, measuring multiple third-category first detection operators to obtain the third-round measurement results of multiple third-category first detection operators, and measuring multiple third-category second detection operators to obtain the third-round measurement results of multiple third-category second detection operators.

[0119] The third type of first detection operator corresponding to 2n may be: the product of the second operator acting on the 2nth first data qubit and the third operator acting on the 2n+1th first data qubit.

[0120] The third round of measurement results of the third type first detection operator corresponding to 2n is: the product of the third round of measurement results of the second operator acting on the 2nth first data quantum bit and the third round of measurement results of the third operator acting on the 2n+1th first data quantum bit.

[0121] The third type of second detection operator corresponding to 2n may be: the product of the third operator acting on the 2nth second data qubit and the second operator acting on the 2n+1th second data qubit.

[0122] The measurement result of the third type second detection operator corresponding to 2n is: the product of the third round measurement result of the third operator acting on the 2nth second data quantum bit and the third round measurement result of the second operator acting on the 2n+1th second data quantum bit.

[0123] The second operator acting on the 2nth first data qubit may be: an X-type operator acting on the 2nth first data qubit.

[0124] The X-type operator acting on the 2nth first data qubit is denoted as:

[0125] The third operator acting on the 2n+1th first data qubit may be: a Y-type operator acting on the 2n+1th first data qubit.

[0126] The Y-type operator acting on the 2n+1th first data qubit is denoted as:

[0127] The third type first detection operator corresponding to 2n is denoted as: C3(a,2n).

[0128] in,

[0129] The third operator acting on the 2nth second data qubit is: a Y-type operator acting on the 2nth second data qubit.

[0130] The Y-type operator acting on the 2nth second data qubit is denoted as:

[0131] The second operator acting on the 2n+1th second data qubit is: an X-type operator acting on the 2n+1th second data qubit.

[0132] The X-type operator acting on the 2n+1th second data qubit is denoted as:

[0133] The third type of second detection operator corresponding to 2n is denoted by: C3(b,2n).

[0134] in,

[0135] refer to Figure 3 , which shows a schematic diagram of the effect of measuring the corresponding operators acting on the corresponding data qubits in the corresponding rounds.

[0136] In round 0, the Z-type operator acting on the kth first data qubit (a, k) is measured. In round 0, the Z-type operator acting on the kth second data qubit (b, k) is measured.

[0137] In round 1, the X-type operator acting on the 2n-1th first data qubit (a, 2n-1) is measured. In round 1, the Y-type operator acting on the 2nth first data qubit (a, 2n) is measured. In round 1, the Y-type operator acting on the 2n-1th second data qubit (b, 2n-1) is measured. In round 1, the X-type operator acting on the 2nth second data qubit (b, 2n) is measured.

[0138] In round 2, the Z-type operator acting on the kth first data qubit (a, k) is measured. In round 2, the Z-type operator acting on the kth second data qubit (b, k) is measured.

[0139] In round 3, the X-type operator acting on the 2nth first data qubit (a, 2n) is measured. In round 3, the Y-type operator acting on the 2n+1th first data qubit (a, 2n+1) is measured. In round 3, the Y-type operator acting on the 2nth second data qubit (b, 2n) is measured. In round 3, the X-type operator acting on the 2n+1th second data qubit (b, 2n+1) is measured.

[0140] In the disclosed embodiment, in the second round, the product of the first type detection operator corresponding to 2n-1, the first type detection operator corresponding to 2n, the second type first detection operator corresponding to 2n-1, and the second type second detection operator corresponding to 2n-1 can be used as the first round stabilizing sub-operator.

[0141] The first round of stable sub-operator = the first type of detection operator corresponding to 2n-1 * the first type of detection operator corresponding to 2n * the second type of first detection operator corresponding to 2n-1 * the second type of second detection operator corresponding to 2n-1.

[0142] The product of the 0th round measurement result of the first type detection operator corresponding to 2n-1, the 0th round measurement result of the first type detection operator corresponding to 2n, the 1st round measurement result of the second type first detection operator corresponding to 2n-1, and the 1st round measurement result of the second type second detection operator corresponding to 2n-1 is used as the t+1th round measurement result of the 1st round stabilizing sub-operator.

[0143] In the disclosed embodiment, in the second round, the product of the second-type first detection operator corresponding to 2n-1, the second-type second detection operator corresponding to 2n-1, the first-type detection operator corresponding to 2n-1, and the first-type detection operator corresponding to 2n can be used as the second-round stabilizing sub-operator.

[0144] The second round of stabilizing sub-operator = the first detection operator of the second type corresponding to 2n-1 * the second detection operator of the second type corresponding to 2n-1 * the first detection operator of the first type corresponding to 2n-1 * the first detection operator of the first type corresponding to 2n.

[0145] The 2nd round measurement results of the 2nd round stabilizing sub-operator = the 1st round measurement results of the second type first detection operator corresponding to 2n-1 * the 1st round measurement results of the second type second detection operator corresponding to 2n-1 * the 2nd round measurement results of the first type detection operator corresponding to 2n-1 * the 2nd round measurement results of the first type detection operator corresponding to 2n.

[0146] In the disclosed embodiment, in the third round, the product of the first type of detection operator corresponding to 2n, the first type of detection operator corresponding to 2n+1, the third type of first detection operator corresponding to 2n, and the third type of second detection operator corresponding to 2n can be used as the third round stable sub-operator. The third round stable sub-operator = the first type of detection operator corresponding to 2n * the first type of detection operator corresponding to 2n+1 * the third type of first detection operator corresponding to 2n * the third type of second detection operator corresponding to 2n.

[0147] In the third round, the product of the two rounds of measurement results of the first type detection operator corresponding to 2n, the second round of measurement results of the first type detection operator corresponding to 2n+1, the third round of measurement results of the third type first detection operator corresponding to 2n, and the third round of measurement results of the third type second detection operator corresponding to 2n is used as the third round measurement result of the third round stabilizer operator.

[0148] In step S205, in the tth round, the tth round stabilizing sub-operator is obtained according to the t-1th round measurement results of the two third-type detection operators and the tth round measurement results of the two first-type detection operators.

[0149] Wherein, t is a positive integer and t is a multiple of 4.

[0150] The t-th round stabilizing operator = the first detection operator of the third type corresponding to 2n * the second detection operator of the third type corresponding to 2n * the first detection operator of the first type corresponding to 2n * the first detection operator of the first type corresponding to 2n+1.

[0151] The t-th round measurement result of the t-th round stabilizer operator = the t-1-th round measurement result of the third-category first detection operator corresponding to 2n * the t-1-th round measurement result of the third-category second detection operator corresponding to 2n * the t-th round measurement result of the first-category detection operator corresponding to 2n * the t-th round measurement result of the first-category detection operator corresponding to 2n+1.

[0152] The third type first detection operator corresponding to 2n is denoted as: C3(a,2n).

[0153] The third type of second detection operator corresponding to 2n is denoted as: C3(b,2n).

[0154] The first type of detection operator corresponding to 2n is denoted as: C1(2n).

[0155] The first type of detection operator corresponding to 2n+1 is denoted as: C1(2n+1).

[0156] The t-th round stabilizer operator = C3(a,2n)C3(b,2n)C1(2n)C1(2n+1).

[0157]

[0158] represents the Y-type operator acting on the 2nth first data qubit, represents the X-type operator acting on the 2nth second data qubit, represents the X-type operator acting on the 2n+1th first data qubit, represents the Y-type operator acting on the 2n+1th second data qubit.

[0159] The t-th round measurement result of the t-th round stabilizer operator = the product of the t-1-th round measurement result of the first detection operator of the third category corresponding to 2n * the t-1-th round measurement result of the second detection operator of the third category corresponding to 2n * the t-th round measurement result of the first detection operator of the third category corresponding to 2n * the t-th round measurement result of the first detection operator of the first category corresponding to 2n+1.

[0160] In step S206, in the t+1th round, the t+1th round measurement result of the t+1th round stabilizing sub-operator is obtained according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators.

[0161] The stabilizing operator of the t+1th round = the first type detection operator corresponding to 2n-1 * the first type detection operator corresponding to 2n * the second type first detection operator corresponding to 2n-1 * the second type second detection operator corresponding to 2n-1.

[0162] The first type of detection operator corresponding to 2n-1 is denoted as: C1(2n-1)

[0163] The first type of detection operator corresponding to 2n is denoted as: C1(2n)

[0164] The first detection operator of the second type corresponding to 2n-1 is denoted as: C2(a,2n-1)

[0165] The second type of second detection operator corresponding to 2n-1 is denoted as: C2(b,2n-1)

[0166] The stabilizing sub-operator of the t+1th round = C1(2n-1)C1(2n)C2(a,2n-1)C2(b,2n-1);

[0167]

[0168] represents the Y-type operator acting on the 2n-1th first data qubit, represents the X-type operator acting on the 2n-1th second data qubit, represents the X-type operator acting on the 2nth first data qubit, represents the Y-type operator acting on the 2nth second data qubit.

[0169] In the t+1th round, according to the t+1th round measurement results of the two first-category detection operators and the t+1th round measurement results of the two second-category detection operators, the t+1th round measurement result of the stabilizing sub-operator of the t+1th round is obtained, including: in the t+1th round, the product of the t+1th round measurement result of the first-category detection operator corresponding to 2n-1, the t+1th round measurement result of the first-category detection operator corresponding to 2n, the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1 is used as the t+1th round measurement result of the stabilizing sub-operator of the t+1th round.

[0170] The t+1th round measurement result of the t+1th round stabilizing sub-operator = the t+1th round measurement result of the first type detection operator corresponding to 2n-1 * the t+1th round measurement result of the first type detection operator corresponding to 2n * the t+1th round measurement result of the second type first detection operator corresponding to 2n-1 * the t+1th round measurement result of the second type second detection operator corresponding to 2n-1.

[0171] In step S207, in the t+2th round, the t+2th round measurement result of the t+2th round stabilizing sub-operator is obtained according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators.

[0172] The stabilizing operator of the t+2th round = the first detection operator of the second type corresponding to 2n-1*the second detection operator of the second type corresponding to 2n-1*the first detection operator of the first type corresponding to 2n-1*the first detection operator of the first type corresponding to 2n.

[0173] The second type first detection operator corresponding to 2n-1 is denoted as: C2(a,2n-1).

[0174] The second detection operator of the second type corresponding to 2n-1 is denoted as: C2(b,2n-1).

[0175] The first type of detection operator corresponding to 2n-1 is denoted as: C1(2n-1).

[0176] The first type of detection operator corresponding to 2n is denoted as: C1(2n).

[0177] The stabilizing sub-operator of the t+2th round = C2(a,2n-1)C2(b,2n-1)C1(2n-1)C1(2n)

[0178]

[0179] represents the Y-type operator acting on the 2n-1th first data qubit, represents the X-type operator acting on the 2n-1th second data qubit, represents the X-type operator acting on the 2nth first data qubit, represents the Y-type operator acting on the 2nth second data qubit.

[0180] In the t+2th round, the product of the t+1th round measurement result of the second-type first detection operator corresponding to 2n-1, the t+1th round measurement result of the second-type second detection operator corresponding to 2n-1, the t+2th round measurement result of the first-type detection operator corresponding to 2n-1, and the t+2th round measurement result of the first-type detection operator corresponding to 2n is obtained to obtain the t+2th round measurement result of the t+2th round stabilizing sub-operator.

[0181] The t+2th round measurement result of the t+2th round stabilizing sub-operator = the t+1th round measurement result of the second type first detection operator corresponding to 2n-1 * the t+1th round measurement result of the second type second detection operator corresponding to 2n-1 * the t+2th round measurement result of the first type detection operator corresponding to 2n-1 * the t+2th round measurement result of the first type detection operator corresponding to 2n.

[0182] In step S208, in the t+3th round, the t+3th round measurement result of the t+3th round stabilizing sub-operator is obtained according to the t+2th round measurement results of the two first-category detection operators and the t+3th round measurement results of the two third-category detection operators.

[0183] The stabilizing sub-operator of the t+3th round = the first type of detection operator corresponding to 2n * the first type of detection operator corresponding to 2n+1 * the third type of first detection operator corresponding to 2n * the third type of second detection operator corresponding to 2n.

[0184] The first type of detection operator corresponding to 2n is denoted as: C1(2n);

[0185] The first type of detection operator corresponding to 2n+1 can be written as: C1(2n+1);

[0186] The third type of first detection operator corresponding to 2n can be written as: C3(a,2n);

[0187] The third type of second detection operator corresponding to 2n can be written as: C3(b,2n);

[0188] The stabilizing sub-operator of the t+3th round = C1(2n)C1(2n+1)C3(a,2n)C3(b,2n)

[0189]

[0190] represents the Y-type operator acting on the 2nth first data qubit, represents the X-type operator acting on the 2nth second data qubit, represents the X-type operator acting on the 2n+1th first data qubit, represents the Y-type operator acting on the 2n+1th second data qubit.

[0191] In the t+3th round, according to the t+2th round measurement results of the two first-category detection operators and the t+3th round measurement results of the two third-category detection operators, the t+3th round measurement result of the t+3th round stable sub-operator is obtained, including: in the t+3th round, the product of the t+2th round measurement result of the first-category detection operator corresponding to 2n, the t+2th round measurement result of the first-category detection operator corresponding to 2n+1, the t+3th round measurement result of the third-category first detection operator corresponding to 2n, and the t+3th round measurement result of the third-category second detection operator corresponding to 2n is used as the t+3th round measurement result of the t+3th round stable sub-operator.

[0192] The t+3th round measurement result of the t+3th round stabilizing sub-operator = the t+2th round measurement result of the first type of detection operator corresponding to 2n * the t+2th round measurement result of the first type of detection operator corresponding to 2n+1 * the t+3th round measurement result of the third type first detection operator corresponding to 2n * the t+3th round measurement result of the third type second detection operator corresponding to 2n.

[0193] refer to Figure 4 , which shows a schematic diagram of the effects of operators constituting an equivalent stabilizing sub-operator.

[0194] The stabilizer operator equivalent to the stabilizer operator of the tth round = the Y-type operator acting on the 2nth first data quantum bit (a, 2n) * the X-type operator acting on the 2nth second data quantum bit (b, 2n) * the X-type operator acting on the 2n+1th first data quantum bit (a, 2n+1) * the Y-type operator acting on the 2n+1th second data quantum bit (b, 2n+1).

[0195] The stabilizer operator equivalent to the stabilizer operator of the t+1th round = the Y-type operator acting on the 2n-1th first data quantum bit (a, 2n-1) * the X-type operator acting on the 2n-1th second data quantum bit (b, 2n-1) * the X-type operator acting on the 2nth first data quantum bit (a, 2n) * the Y-type operator acting on the 2nth second data quantum bit (b, 2n).

[0196] The stabilizer operator equivalent to the stabilizer operator of the t+2th round = the Y-type operator acting on the 2n-1th first data quantum bit (a, 2n-1) * the X-type operator acting on the 2n-1th second data quantum bit (b, 2n-1) * the X-type operator acting on the 2nth first data quantum bit (a, 2n) * the Y-type operator acting on the 2nth second data quantum bit (b, 2n).

[0197] The stabilizer operator equivalent to the stabilizer operator of the t+3th round = the Y-type operator acting on the 2nth first data quantum bit (a, 2n) * the X-type operator acting on the 2nth second data quantum bit (b, 2n) * the X-type operator acting on the 2n+1th first data quantum bit (a, 2n+1) * the Y-type operator acting on the 2n+1th second data quantum bit (b, 2n+1).

[0198] In a possible implementation, it also includes: taking the product of the i-th round measurement results of multiple second-category first detection operators and the i-th round measurement results of multiple third-category first detection operators as the i-th round measurement result of the logical Z operator, where the i-th round is any round.

[0199] Among them, the logical Z operator acts on the logical quantum bit to realize the operation of quantum logic gate.

[0200] Logical Z operator = 1st second class first detection operator * 2nd second class first detection operator ... * last second class first detection operator * 1st third class first detection operator * 2nd third class first detection operator ... * last third class first detection operator.

[0201] The i-th round measurement result of the logical Z operator = the i-th round measurement result of the first second-category first detection operator * the i-th round measurement result of the second second-category first detection operator… * the i-th round measurement result of the last second-category first detection operator * the i-th round measurement result of the first third-category first detection operator * the i-th round measurement result of the second third-category first detection operator… * the i-th round measurement result of the last third-category first detection operator.

[0202] In a possible implementation, the method further includes: taking the product of the i-th round measurement results of two operators in the target operator combination as the i-th round measurement result of the logic X operator.

[0203] The target operator combination includes: a second operator acting on the j-th first data quantum bit and a third operator acting on the j-th second data quantum bit.

[0204] Logical X operator = second operator acting on the jth first data qubit * third operator for the jth second data qubit.

[0205] The measurement result of the logical X operator = the i-th round measurement result of the second operator acting on the j-th first data qubit * the i-th round measurement result of the third operator for the j-th second data qubit.

[0206] The i-th round measurement result of the logical X operator commutes with any detection operator used to obtain the i-th round measurement result of the i-th round stabilizer operator.

[0207] The disclosed embodiments provide a device for generating quantum error correction codes. The device is used to implement the above embodiments and preferred implementations, and those that have been described will not be repeated. As used below, the term "unit" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0208] The quantum error correction code generation device comprises:

[0209] a first measurement unit, configured to measure, in round 0, a plurality of first-type detection operators to obtain round 0 measurement results of the plurality of first-type detection operators, wherein the round 0 measurement results of the first-type detection operators are obtained by the round 0 measurement results of two operators used to obtain the round 0 measurement results of the first-type detection operators, and the two operators used to obtain the round 0 measurement results of the first-type detection operators act on different data qubits of the two data qubits;

[0210] a second measurement unit, configured to measure, in a first round, a plurality of second-category detection operators to obtain first-round measurement results of the plurality of second-category detection operators, wherein the first-round measurement results of the second-category detection operators are obtained by first-round measurement results of two operators used to obtain the first-round measurement results of the second-category detection operators;

[0211] A third measurement unit is used to measure the plurality of first-category detection operators in the second round to obtain second-round measurement results of the plurality of first-category detection operators;

[0212] a fourth measurement unit, configured to measure, in a third round, multiple third-category detection operators to obtain third-round measurement results of the multiple third-category detection operators, wherein the third-round measurement results of the third-category detection operators are obtained by using the third-round measurement results of two operators used to obtain the third-round measurement results of the third-category detection operators;

[0213] a fifth measurement unit, configured to obtain, in a tth round, a tth round measurement result of a tth round stabilizing sub-operator according to a t-1th round measurement result of two third-type detection operators and a tth round measurement result of two first-type detection operators, where t is a multiple of 4;

[0214] A sixth measurement unit is used to obtain, in the t+1th round, a t+1th round measurement result of the t+1th round stabilizing sub-operator according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators;

[0215] A seventh measurement unit is used to obtain, in the t+2th round, a t+2th round measurement result of the t+2th round stabilizing sub-operator according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators;

[0216] The eighth measurement unit is used to obtain the t+3th round measurement result of the t+3th round stabilizing sub-operator according to the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators in the t+3th round.

[0217] In one possible implementation, the first measurement unit is further used to measure the first type of detection operator corresponding to k to obtain the 0th round measurement result of the first type of detection operator corresponding to k, wherein the 0th round measurement result of the first type of detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data quantum bit and the 0th round measurement result of the first operator acting on the kth second data quantum bit, wherein k is one of 0 to the total number of the first type of detection operators; the second measurement unit is further used to measure multiple second type first detection operators in the first round to obtain the 1st round measurement results of multiple second type first detection operators, and to measure multiple second type second detection operators to obtain the 1st round measurement results of multiple second type second detection operators, wherein the 1st round measurement result of the second type first detection operator corresponding to 2n-1 is: the product of the 1st round measurement result of the second operator acting on the 2n-1th first data quantum bit and the 1st round measurement result of the third operator acting on the 2nth first data quantum bit, for The first round measurement result of the second type second detection operator corresponding to 2n-1 is: the product of the first round measurement result of the third operator acting on the 2n-1 second data quantum bit and the first round measurement result of the second operator acting on the 2n second data quantum bit; the fourth measurement unit is further used to measure multiple third type first detection operators in the third round to obtain the third round measurement results of multiple third type first detection operators, and measure multiple third type second detection operators to obtain the third round measurement results of multiple third type second detection operators, wherein the third round measurement result of the third type first detection operator corresponding to 2n is: the product of the third round measurement result of the second operator acting on the 2n first data quantum bit and the third round measurement result of the third operator acting on the 2n+1 first data quantum bit, and the measurement result of the third type second detection operator corresponding to 2n is: the product of the third round measurement result of the third operator acting on the 2n second data quantum bit and the third round measurement result of the second operator acting on the 2n+1 second data quantum bit.

[0218] In one possible implementation, the fifth measurement unit is further used to, in the tth round, use the product of the t-1th round measurement result of the third-category first detection operator corresponding to 2n, the t-1th round measurement result of the third-category second detection operator corresponding to 2n, the t-1th round measurement result of the first-category detection operator corresponding to 2n, and the tth round measurement result of the first-category detection operator corresponding to 2n+1 as the tth round measurement result of the stabilizing sub-operator of the tth round; the sixth measurement unit is further used to, in the t+1th round, use the product of the t-1th round measurement result of the first-category detection operator corresponding to 2n-1, the t-1th round measurement result of the first-category detection operator corresponding to 2n, the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1 as the t+1th round measurement result of the stabilizing sub-operator of the t+1th round; The seventh measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator of the t+2th round by multiplying the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1, the t+2th round measurement result of the first-category detection operator corresponding to 2n-1, and the t+2th round measurement result of the first-category detection operator corresponding to 2n in the t+2th round; the eighth measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator of the t+2th round by multiplying the t+2th round measurement result of the first-category detection operator corresponding to 2n, the t+2th round measurement result of the first-category detection operator corresponding to 2n+1, the t+3th round measurement result of the third-category first detection operator corresponding to 2n, and the t+3th round measurement result of the third-category second detection operator corresponding to 2n in the t+3th round.

[0219] In a possible implementation, the quantum error correction code generation device further includes:

[0220] The logic Z operator measurement result generating unit is used to take the product of the i-th round measurement results of multiple second-type first detection operators and the i-th round measurement results of multiple third-type first detection operators as the i-th round measurement result of the logic Z operator, wherein the i-th round is any round.

[0221] In a possible implementation, the quantum error correction code generation device further includes:

[0222] A logic X operator measurement result generating unit is used to use the product of the i-th round measurement results of two operators in the target operator combination as the i-th round measurement result of the logic X operator, wherein the target operator combination includes: a second operator acting on the j-th first data qubit, a third operator acting on the j-th second data qubit, and the i-th round measurement result of the logic X operator commutes with any one of the detection operators used to obtain the i-th round measurement result of the i-th round stabilizer operator.

[0223] In this embodiment, the device is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0224] The further functional description of each of the above units is the same as that of the above corresponding embodiments and will not be repeated here.

[0225] refer to Figure 5 , which shows a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).

[0226] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0227] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0228] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0229] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0230] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means.

[0231] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0232] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0233] A portion of the embodiments of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0234] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for generating a quantum error correction code, characterized in that: The method comprises: In the 0th round, a plurality of first-type detection operators are measured to obtain the 0th round measurement results of the plurality of first-type detection operators, wherein the 0th round measurement results of the first-type detection operators are obtained by the 0th round measurement results of two operators used to obtain the 0th round measurement results of the first-type detection operators, and the two operators used to obtain the 0th round measurement results of the first-type detection operators act on different data qubits in the two data qubits; In the first round, a plurality of second-type detection operators are measured to obtain first-round measurement results of the plurality of second-type detection operators, wherein the first-round measurement results of the second-type detection operators are obtained by first-round measurement results of two operators used to obtain the first-round measurement results of the second-type detection operators; In the second round, a plurality of first-category detection operators are measured to obtain second-round measurement results of the plurality of first-category detection operators; In the third round, a plurality of third-category detection operators are measured to obtain third-round measurement results of the plurality of third-category detection operators, wherein the third-round measurement results of the third-category detection operators are obtained by the third-round measurement results of two operators used to obtain the third-round measurement results of the third-category detection operators; In the tth round, the tth round measurement result of the tth round stabilizer operator is obtained according to the t-1th round measurement results of the two third-type detection operators and the tth round measurement results of the two first-type detection operators, where t is a positive integer and t is a multiple of 4; In the t+1th round, the t+1th round measurement result of the t+1th round stabilizing sub-operator is obtained according to the t-th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators; In the t+2th round, the t+2th round measurement result of the t+2th round stabilizing sub-operator is obtained according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators; In the t+3th round, the t+3th round measurement result of the t+3th round stabilizing sub-operator is obtained according to the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators.

2. The method according to claim 1, characterized in that In the 0th round, multiple first-class detection operators are measured, and the 0th round measurement results of multiple first-class detection operators include: measuring a first-type detection operator corresponding to k to obtain a 0th round measurement result of the first-type detection operator corresponding to k, wherein the 0th round measurement result of the first-type detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data qubit and the 0th round measurement result of the first operator acting on the kth second data qubit, wherein k is one of 0 to the total number of the first-type detection operators; And in the first round, a plurality of second-type detection operators are measured, and the first-round measurement results of the plurality of second-type detection operators include: In the first round, a plurality of second-type first detection operators are measured to obtain first-round measurement results of the plurality of second-type first detection operators, and a plurality of second-type second detection operators are measured to obtain first-round measurement results of the plurality of second-type second detection operators, wherein the first-round measurement results of the second-type first detection operators corresponding to 2n-1 are: the product of the first-round measurement results of the second operator acting on the 2n-1th first data qubit and the first-round measurement results of the third operator acting on the 2nth first data qubit, and the first-round measurement results of the second-type second detection operators corresponding to 2n-1 are: the product of the first-round measurement results of the third operator acting on the 2n-1th second data qubit and the first-round measurement results of the second operator acting on the 2nth second data qubit; and In the third round, multiple third-category detection operators are measured, and the third-round measurement results of multiple third-category detection operators include: In the third round, multiple third-type first detection operators are measured to obtain third-round measurement results of multiple third-type first detection operators, and multiple third-type second detection operators are measured to obtain third-round measurement results of multiple third-type second detection operators, wherein the third-round measurement results corresponding to 2n third-type first detection operators are: the product of the third-round measurement results of the second operator acting on the 2nth first data quantum bit and the third-round measurement results of the third operator acting on the 2n+1th first data quantum bit, and the measurement results corresponding to 2n third-type second detection operators are: the product of the third-round measurement results of the third operator acting on the 2nth second data quantum bit and the third-round measurement results of the second operator acting on the 2n+1th second data quantum bit.

3. The method according to claim 2, characterized in that In the tth round, according to the t-1th round measurement results of the two third-type detection operators and the tth round measurement results of the two first-type detection operators, the tth round measurement results of the tth round stabilizing sub-operator are obtained, including: In the tth round, the measurement results of the t-1th round of the third type first detection operator corresponding to 2n 、 The product of the t-1th round measurement result of the third-type second detection operator corresponding to 2n, the tth round measurement result of the first-type detection operator corresponding to 2n, and the tth round measurement result of the first-type detection operator corresponding to 2n+1 is used as the tth round measurement result of the tth round stabilizing sub-operator; and In the t+1th round, according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators, the t+1th round measurement results of the t+1th round stabilizing sub-operator are obtained, including: In the t+1th round, the product of the t-th round measurement result of the first type detection operator corresponding to 2n-1, the t-th round measurement result of the first type detection operator corresponding to 2n, the t+1th round measurement result of the second type first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second type second detection operator corresponding to 2n-1 is used as the t+1th round measurement result of the t+1th round stabilizing sub-operator; and In the t+2th round, based on the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators, the t+2th round measurement results of the t+2th round stabilizing sub-operator are obtained, including: In the t+2th round, the product of the t+1th round measurement result of the second type first detection operator corresponding to 2n-1, the t+1th round measurement result of the second type second detection operator corresponding to 2n-1, the t+2th round measurement result of the first type detection operator corresponding to 2n-1, and the t+2th round measurement result of the first type detection operator corresponding to 2n is obtained to obtain the t+2th round measurement result of the t+2th round stabilizing sub-operator; and In the t+3th round, based on the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators, the t+3th round measurement results of the t+3th round stabilizing sub-operator are obtained, including: In the t+3th round, the t+2th round measurement results of the first type of detection operator corresponding to 2n, the t+2th round measurement results of the first type of detection operator corresponding to 2n+1, and the t+3th round measurement results of the third type of first detection operator corresponding to 2n are combined. 、 The product of the t+3th round measurement results of the third type second detection operator corresponding to 2n is used as the t+3th round measurement result of the t+3th round stabilizing sub-operator.

4. The method according to claim 1, characterized in that: The method further comprises: The product of the i-th round measurement results of multiple second-type first detection operators and the i-th round measurement results of multiple third-type first detection operators is used as the i-th round measurement result of the logical Z operator, wherein the i-th round is any round.

5. The method according to claim 1, characterized in that The method further comprises: The product of the i-th round measurement results of two operators in the target operator combination is used as the i-th round measurement result of the logic X operator, wherein the target operator combination includes: a second operator acting on the j-th first data qubit, a third operator acting on the j-th second data qubit, and the i-th round measurement result of the logic X operator commutes with any detection operator used to obtain the i-th round measurement result of the i-th round stabilizer operator.

6. A quantum error correction code generation device, characterized in that: The device comprises: a first measurement unit, configured to measure, in round 0, a plurality of first-type detection operators to obtain round 0 measurement results of the plurality of first-type detection operators, wherein the round 0 measurement results of the first-type detection operators are obtained by the round 0 measurement results of two operators used to obtain the round 0 measurement results of the first-type detection operators, and the two operators used to obtain the round 0 measurement results of the first-type detection operators act on different data qubits of the two data qubits; a second measurement unit, configured to measure, in a first round, a plurality of second-category detection operators to obtain first-round measurement results of the plurality of second-category detection operators, wherein the first-round measurement results of the second-category detection operators are obtained by first-round measurement results of two operators used to obtain the first-round measurement results of the second-category detection operators; A third measurement unit is used to measure the plurality of first-category detection operators in the second round to obtain second-round measurement results of the plurality of first-category detection operators; a fourth measurement unit, configured to measure, in a third round, multiple third-category detection operators to obtain third-round measurement results of the multiple third-category detection operators, wherein the third-round measurement results of the third-category detection operators are obtained by using the third-round measurement results of two operators used to obtain the third-round measurement results of the third-category detection operators; a fifth measurement unit, configured to obtain, in a tth round, a tth round measurement result of a tth round stabilizing sub-operator according to a t-1th round measurement result of two third-type detection operators and a tth round measurement result of two first-type detection operators, where t is a multiple of 4; A sixth measurement unit is used to obtain, in the t+1th round, a t+1th round measurement result of the t+1th round stabilizing sub-operator according to the t+1th round measurement results of the two first-type detection operators and the t+1th round measurement results of the two second-type detection operators; A seventh measurement unit is used to obtain, in the t+2th round, a t+2th round measurement result of the t+2th round stabilizing sub-operator according to the t+1th round measurement results of the two second-type detection operators and the t+2th round measurement results of the two first-type detection operators; The eighth measurement unit is used to obtain the t+3th round measurement result of the t+3th round stabilizing sub-operator in the t+3th round according to the t+2th round measurement results of the two first-type detection operators and the t+3th round measurement results of the two third-type detection operators.

7. The device according to claim 6, characterized in that The first measurement unit is further used to measure the first type detection operator corresponding to k to obtain the 0th round measurement result of the first type detection operator corresponding to k, wherein the 0th round measurement result of the first type detection operator corresponding to k is: the product of the 0th round measurement result of the first operator acting on the kth first data quantum bit and the 0th round measurement result of the first operator acting on the kth second data quantum bit, wherein k is one of 0 to the total number of the first type detection operators; the second measurement unit is further used to measure multiple second type first detection operators in the first round to obtain the 1st round measurement results of multiple second type first detection operators, and to measure multiple second type second detection operators to obtain the 1st round measurement results of multiple second type second detection operators, wherein the 1st round measurement result of the second type first detection operator corresponding to 2n-1 is: the product of the 1st round measurement result of the second operator acting on the 2n-1th first data quantum bit and the 1st round measurement result of the third operator acting on the 2nth first data quantum bit, corresponding to 2n-1 The first round measurement result of the second type second detection operator is: the product of the first round measurement result of the third operator acting on the 2n-1th second data quantum bit and the first round measurement result of the second operator acting on the 2nth second data quantum bit; the fourth measurement unit is further used to measure multiple third type first detection operators in the third round to obtain multiple third type first detection operators’ third round measurement results, and measure multiple third type second detection operators to obtain multiple third type second detection operators’ third round measurement results, wherein the third round measurement result of the third type first detection operator corresponding to 2n is: the product of the third round measurement result of the second operator acting on the 2nth first data quantum bit and the third round measurement result of the third operator acting on the 2n+1th first data quantum bit, and the measurement result of the third type second detection operator corresponding to 2n is: the product of the third round measurement result of the third operator acting on the 2nth second data quantum bit and the third round measurement result of the second operator acting on the 2n+1th second data quantum bit.

8. The device according to claim 7, characterized in that The fifth measurement unit is further used to, in the tth round, convert the t-1th round measurement result of the third type first detection operator corresponding to 2n 、 The product of the t-1th round measurement result of the third-category second detection operator corresponding to 2n, the t-th round measurement result of the first-category detection operator corresponding to 2n, and the t-th round measurement result of the first-category detection operator corresponding to 2n+1 is used as the t-th round measurement result of the t-th round stabilizing sub-operator; the sixth measurement unit is further used to use, in the t+1th round, the product of the t-th round measurement result of the first-category detection operator corresponding to 2n-1, the t-th round measurement result of the first-category detection operator corresponding to 2n, the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, and the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1 as the t+1th round measurement result of the t+1th round stabilizing sub-operator; the seventh The measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator by multiplying the t+1th round measurement result of the second-category first detection operator corresponding to 2n-1, the t+1th round measurement result of the second-category second detection operator corresponding to 2n-1, the t+2th round measurement result of the first-category detection operator corresponding to 2n-1, and the t+2th round measurement result of the first-category detection operator corresponding to 2n in the t+2th round; the eighth measurement unit is further used to obtain the t+2th round measurement result of the stabilizing sub-operator in the t+2th round by multiplying the t+2th round measurement result of the first-category detection operator corresponding to 2n, the t+2th round measurement result of the first-category detection operator corresponding to 2n+1, and the t+3th round measurement result of the third-category first detection operator corresponding to 2n in the t+3th round. 、 The product of the t+3th round measurement results of the third type second detection operator corresponding to 2n is used as the t+3th round measurement result of the t+3th round stabilizing sub-operator.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 5 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for eliminating quantum noise, electronic equipment and medium

    CN114429218A

  • Error information transmission correction method based on topological quantum error correction code

    CN114692885A

  • Quantum error correction decoding method and related equipment

    CN116136971A

  • Method and device for eliminating quantum computer noise, electronic equipment and medium

    CN116306956A

  • System and methods for quantum post-selection using logical parity encoding and decoding

    US20200119748A1