Quantum codes do not increase fidelity against isotropic errors
Abstract
Given an qubit and an quantum code , let be the qubit that results from the encoding of . Suppose that the state is affected by an isotropic error (decoherence), becoming , and that the corrector circuit of is applied to , obtaining the quantum state . Alternatively, we analyze the effect of the isotropic error without using the quantum code . In this case the error transforms into . Assuming that the correction circuit does not introduce new errors and that it does not increase the execution time, we compare the fidelity of , and with the aim of analyzing the power of quantum codes to control isotropic errors. We prove that . Therefore the best option to optimize fidelity against isotropic errors is not to use quantum codes.
Keywords: quantum error correcting codes, isotropic quantum computing errors, quantum computing error fidelity, quantum computing error variance
1 Introduction
Currently the biggest obstacle to the development of quantum computing continues to be control of quantum errors. Since the beginnings of quantum computing in the 90s of the last century one of the main research objectives was to solve this stumbling block. To address the problem, two fundamental tools were developed: quantum error correction codes [1, 2, 3, 4, 5, 6] in combination with fault tolerant quantum computing [7, 8, 9, 10, 11, 12, 13]. These studies culminated in the proof of the quantum threshold theorem, which reads as follows: a quantum computer with a physical error rate below a certain threshold can, through application of quantum error correction schemes, suppress the logical error rate to arbitrarily low levels. However, the proof of this theorem depends on the discretized treatment of quantum errors, inherited from the construction of quantum codes.
We believe that the quantum error model used for the proof of the quantum threshold theorem is not general and that the techniques developed to control quantum errors do not verify the golden rule of error control: correct all small errors exactly. For example, in the case of the coding of a qubit by means of the 5-qubit code [14, 15] it is argued, using error discretization and that this code exactly corrects errors in any of the qubits, that the error probability goes from to , once the correction circuit has been applied. But, what is actually happening is that the probability of an error (small with high probability) in all qubits is 1 and that the code cannot correct these simultaneous errors. Then, an error occurs with probability 1 and, once the correction circuit is applied, it becomes undetectable.
Therefore it is necessary to make an analysis of quantum errors regardless of their discretization. The procedure indicated for this is to consider quantum errors as continuous random variables and characterize them by their corresponding density functions. In this article we analyze a specific type of error: isotropic quantum errors. An isotropic error of an qubit is one in which the probability of the error only depends on the distance between the two states, , and not on the direction in which the imprecision occurs with respect to . They are errors that are easy to analyze due to their central symmetry with respect to .
In work [16] we have studied the ability of an arbitrary quantum code to correct these errors, using the variance as the error measure. If is the qubit without error state, the state resulting from a disturbance modeled by an isotropic quantum error and the result of applying the quantum code correction circuit, assuming that it does not introduce new errors, the result that we demonstrate in [16] is the following:
where and are the variances of the corrected state and the disturbed state respectively. This means that no quantum code can handle isotropic errors, or even reduce their variance.
Now we are interested in analyzing the ability of quantum codes to increase fidelity against isotropic errors, since the fidelity allows to measure the quantum errors taking into account that the quantum states do not change if they are multiplied by a phase factor, while the variance used in [16] does not take this fact into account.
We represent qubits as points of the unit real sphere of dimension being [17], , taking coordinates with respect to the computational basis ,
(1) |
We consider quantum computing errors as random variables with density function defined on . In [16] it is mentioned that it is easy to relate this representation to the usual representation in quantum computing by density matrices and that the representation through random variables is more accurate.
We define the variance of a random variable as the mean of the quadratic deviation from the mean value of , . In our case, since the random variable represents a quantum computing error, the mean value of is the qubit resulting from an errorless computation. Without loss of generality, we will assume that the mean value of every quantum computing error will always be . To achieve this, it suffices to move into through a unitary transformation. Therefore, using the pure quantum states given by Formula (1), the variance of will be:
(2) |
Obviously the variance satisfies . In [18] the variance of the sum of two independent errors on is presented for the first time. It is proved for isotropic errors and it is conjectured in general that:
(3) |
Considering the representation of errors through random variables, the definition of fidelity is very simple:
(4) |
Then, the problem we want to address is the following: Let be an qubit and the corresponding qubit encoded by an quantum code . Suppose that the coded state is changed by error, becoming the state . Now, to fix the error we apply the code correction circuit, obtaining the final state . While is a pure state, and are random variables (mixed states).
We also want to study the possibility of not using quantum codes. In this case, we suppose that the initial state is changed by error, becoming the state . State is also a random variable. Then our goal is to compare the fidelities of , and :
In order to compare the fidelities we will assume that the corrector circuit of does not introduce new errors and it does not increase the execution time. In other words, we are going to estimate the theoretical capacity of the code to correct quantum computing errors.
In the case of isotropic errors we shall prove that:
(5) |
This result leads us to the conclusion that the best option to optimize fidelity against isotropic errors is not to use quantum codes. This result goes in the same direction as that obtained in [16], which indicates that quantum codes do not reduce the variance against isotropic errors.
However, the most widely used model of errors in quantum computing is qubit independent errors. The study of this type of quantum error is much more complex than that of isotropic errors, because it does not have the same symmetry. Despite this technical difficulty, we have proved in [19] that the qubit code [14, 15] is not able to reduce the variance against qubit independent errors. This result, together with those obtained in [16] and in this article, clearly reveals the difficulty of the quantum error control challenge and clearly shows that the continuous nature of quantum errors cannot be ignored.
There are many works related to the control of quantum computing errors, in addition to those already mentioned above. General studies and surveys on the subject [20, 21, 22, 23, 24, 25, 26, 27], about the quantum computation threshold theorem [28, 29, 30, 31], quantum error correction codes [32, 33, 34, 35], concatenated quantum error correction codes [36, 37] and articles related to topological quantum codes [38, 39]. Lately, quantum computing error control has focused on both coherent errors [40, 41] and cross-talk errors [42, 43]. Finally, we cannot forget the hardest error to control in quantum computing, the quantum decoherence [44]. As we have commented above, these quantum computing errors can be analyzed in the framework of random variables that has been set in [16, 18]. In the conclusions we analyze in more detail the characteristics of the different types of error from the point of view of their control and in view of the result obtained in this paper.
The outline of the article is as follows: in section 2 we study the fidelity of the quantum stages , and ; in section 3 we prove the relationship between them given by Formula (5); finally, in section 4 we analyze the conclusions that can be obtained from the proved result.
2 Analysis of fidelity
Associated with the quantum code , the following parameters are defined: is the dimension of , and is the number of discrete errors that corrects.
First we are going to study how we can compare the fidelity of the quantum states and , which are qubits encoded with the quantum code , and the fidelity of the state , which is an unencoded qubit state. The working scheme in these two scenarios is illustrated in Figure 1. We assume that the correction circuit, which is applied after each quantum gate in the coded algorithm, does not introduce new errors and is ideally applied for a time . In this way we study the theoretical capacity of to control isotropic errors, that is, its capacity to increase the fidelity of the final state with respect to , and we can compare it with the fidelity of the final state in the scheme without the quantum code .

We analyze the isotropic error as a decoherence error over a unit of time, which corresponds to the time it takes to apply a quantum gate in the coded algorithm. To compare it with the uncoded algorithm we have to bear in mind that the unit of time in this case will be at most the th part of the unit of time in the coded algorithm. To relate the probability distributions in both cases we use the following equality of variances:
where is the decoherence error during a unit of time in the coded algorithm and , , … are independent decoherence errors corresponding to a unit of time in the uncoded algorithm. Using the following generalization of Formula (3) demonstrated in [18]:
(6) |
where is the variance of each of the independent errors, we obtain the following relation of with the variance of the error :
(7) |
In the case of the normal probability distribution defined in [16, 18], with the following density function:
(8) |
where the parameter belongs to the interval , the above variances have a very simple expression and are independent of the dimension: and . The relationship between them given in Formula (7) translates into a very simple relationship between the corresponding sigma parameters:
(9) |
From now on we are going to follow the scheme proposed in [16] to calculate the variances of states and , but to calculate the fidelities of these states and of state .
2.1 Fidelity of and
The state , described in Cartesian coordinates in Formula (1) is represented in spherical coordinates as follows:
Using this representation of , the fidelity entered in Formula (4) is as follows:
(10) |
Theorem 1.
The fidelity of the isotropic random variable with density function is equal to:
(11) |
where .
Proof.
We have to calculate the expected value of an expression that depends only on angles and and the isotropic density function depends only on angle . Therefore, using Formula (10):
We have used equalities from the Appendix. ∎
Corollary 1.
The fidelity of the isotropic random variable with normal distribution is equal to:
(12) |
Proof.
Corollary 2.
The fidelity of the isotropic random variable with density function is equal to:
(13) |
where . And, if the probability distribution of is normal with density function , the fidelity is equal to:
(14) |
To compare the fidelities of and we need to obtain their values as a function of their variances and respectively. The relationship between these variances obtained in Formula (7) will allow us to relate the fidelities of these states.
Theorem 2.
The fidelity of the isotropic random variable with density function satisfy:
(15) |
Proof.
First we prove, similar to the proof of Theorem 1, the following:
And, using the formulas in the Appendix, we obtain:
∎
Using Jensen’s inequality we obtain a lower bound for :
And then:
Substituting in the formula of the previous lower bound of , the proof is concluded:
2.2 Fidelity of
The formula for the fidelity of the state is very similar to that of the state , Formula (11), although the proof is more complex because the quantum code is involved.
Theorem 3.
The fidelity of the isotropic random variable with density function is equal to:
(16) |
where .
Proof.
Taking into account Theorem 3 and Corollary 1 of [16] the fidelity of is the following:
where and are the probabilities of measuring the syndromes and respectively, and the (normalized) projectors corresponding to the discrete errors and associated with the aforementioned syndromes and .
The first expected value in the above expression is equal to by the Formula (10) and, using Theorem 1, it is obtained:
And the second is the following:
Using the Appendix the following is obtained:
Similarly we obtain:
With the last two results the following is obtained:
Finally we get the result we are looking for:
∎
If the probability distribution of is normal the fidelity of is much simpler.
Corollary 3.
If has a normal probability distribution with parameter the fidelity of satisfies:
(17) |
Proof.
To prove the result, it is enough to substitute in Theorem 3 the value of the integral from the Appendix and consider that . ∎
To compare the fidelities of and we need to obtain as a function of the variances of the state .
Theorem 4.
If the state has an isotropic distribution with density function such that:
(18) |
the fidelity of satisfies:
(19) |
3 Relationship between the fidelity of the states , and
The results obtained in the previous section allow us to easily prove the following theorem.
Theorem 5.
If the state has an isotropic distribution the following relationship between the fidelities of and holds:
(20) |
To compare the fidelities of states and we need to use Theorems 2 and 4. However, we must establish a previous result in order to establish the relationship between these states.
Lemma 1.
Given , , and , , the following is satisfied:
Proof.
The change of variable allows us to better analyze the function:
Property for all allows us to conclude that for all and this shows that:
∎
The previous lemma allows us to obtain the main result of this article.
Theorem 6.
If states and have isotropic distributions with variances and respectively and the density function of satisfies Formula (18), the following relationship between the fidelities of and holds:
(21) |
Proof.
Theorems 2 and 4 allow us to prove the result, just establishing that the following inequality holds:
Taking into account that the above inequality is equivalent to the following:
Using the fact that would suffice to prove the first of the following two inequalities:
Finally, Lemma 1 allows us to conclude the proof, using the fact that the variance . ∎
If the isotropic distributions of and are normal the condition given in Formula (18) for Theorems 4 and 6 is not necessary. Indeed, Corollaries 1, 2 and 3 clearly imply that:
(22) |
On the other hand, the condition given by Formula (18) for Theorems 4 and 6 is a sufficient condition. However, it is not necessary because it has been obtained by underestimating the fidelity of and overestimating that of . It is verified for very general isotropic distributions, such as for density functions that satisfy the following:


Figure 2 shows the curves of , and for normal isotropic distributions and (), in the extreme cases () and ().
The conclusion of the study carried out in this article, in view of the results summarized in Formula (22), is that the best option to obtain the highest fidelity against isotropic errors is not to use quantum codes. On the other hand, the improvement of the fidelity of versus that of seems to be closely related to the dimension of the subspaces to which these states belong: for versus for . See Theorems 1 and 3 and Corollaries 1 and 3.
4 Conclusions
In this article we have analyzed the ability of quantum codes to increase fidelity of quantum states affected by isotropic decoherence errors. The results obtained, despite being those expected for this type of quantum errors, are not good from the point of view of controlling errors in quantum computing. The ability of quantum codes to reduce errors does not compensate the multiplication of the number of gates that they require. This fact implies that the best option against isotropic errors is not to use quantum codes. This result is similar to that obtained in [16]: quantum codes do not reduce the variance of isotropic errors; and in [19]: the qubit quantum code do not reduce the variance of qubit independent errors. The last result is more worrying since it negatively affects the standard model of error in quantum computing. For this reason, it would be important to study the behavior of fidelity in this case.
These results indicate that continuous errors must be taken into account, since it is not possible to ensure that the golden rule of error control “correct all small errors exactly” is fulfilled. Therefore, the study of the stochastic model of quantum errors, focused on discrete errors, must be extended to continuous errors.
For future research, we believe that the continuous quantum computing error model should be further developed. The results on the ability of quantum codes to increase the fidelity or to reduce the variance of quantum errors should be extended to other types of error. It is also important to develop models of the behavior of quantum errors in highly entangled quantum systems. We need to know better the behavior of errors in this type of systems so important for quantum computing. Finally, all these approaches should allow a reformulation of fault-tolerant quantum computing for continuous errors.
5 Appendix
The values of the integrals that have been used throughout the article are included in this Appendix.
Starting from the first integral, the surface of a unit sphere of arbitrary even or odd dimension can be calculated.
References
- [1] Calderbank. A.R., Shor, P.W., Good quantum error-correcting codes exist, Phys. Rev. A 54, 1098–1105 (1996).
- [2] Steane, A.M., Multiple particle inference and quantum error correction, Proc. Roy. Soc. A 452, 2551 (1996).
- [3] Gottesman, D., Class of quantum error correcting codes saturating the quantum Hamming boud, Phys. Rev. A 54, 1862 (1996).
- [4] Calderbank, A.R., Rains, E.M., Shor, P. W., Sloane, N.J.A., Quantum Error Correction and Orthogonal Geometry, Phys. Rev. Lett. 78, 405 (1997).
- [5] Gottesman, D., Stabilizer Codes and Quantum Error Correction (thesis), California Institute of Technology, 1997.
- [6] Calderbank, A.R., Rains, E.M., Shor, P.W., Sloane, N.J.A., Quantum error correction via codes over GF(4), IEEE Trans. Inf. Theory. 44(4), 1369–1387 (1998).
- [7] Shor, P.W., Fault-tolerant quantum computation, Proceedings of 37th Conference on Foundations of Computer Science, 14-16 October 1996; Burlington, VT, USA; IEEE Comput. Soc. Press, 56–65 (1996); arXiv:quant-ph/9605011. DOI: 10.1109/SFCS.1996.548464.
- [8] Steane, A.M., Active stabilization, quantum computation and quantum state synthesis, Phys. Rev. Lett. 78, 2252 (1997).
- [9] Preskill, J., Reliable quantum computers, Proc. Roy. Soc. Lond. A 454, 385–410 (1998).
- [10] Gottesman, D., Theory of fault-tolerant quantum computation, Phys. Rev. A 57, 127–137 (1998).
- [11] Knill, E., Laflamme, R., Zurek, W.H., Resilient Quantum Computation, Science 279(5349), 342–345 (1998); arXiv:quant-ph/9702058v1; DOI: 10.1126/science.279.5349.342
- [12] Kitaev, A.Yu., Fault-tolerant quantum computation by anyons, Annals of Physics 303(1), 2–30 (2003); arXiv:quant-ph/9707021; DOI: 10.1016/S0003-4916(02)00018-0
- [13] Aharonov, D., Ben-Or, M., Fault-Tolerant Quantum Computation with Constant Error Rate, SIAM Journal on Computing 38(4), 1207–1282 (2008). arXiv:quant-ph/9906129. DOI: 10.1137/S0097539799359385
- [14] Bennet, C.H., DiVincenzo, D.P., Smolin, J.A., Wootters, W.K., Mixed state entanglement and quantum error correction, Los Alamos Physics Preprint Archive http://xxx.lanl.gov/abs/quant-ph/9909058, (1999).
- [15] Laflamme, R., Miquel, C., Paz, J.-P., Zurek, W.H., Perfect quantum error correction codes, Phys. Rev. Lett. 77, 198 (1996). Los Alamos Physics Preprint Archive http://xxx.lanl.gov/abs/quant-ph/9602019.
- [16] Lacalle, J., Pozo-Coronado, L.M., Fonseca de Oliveira, A.L., Quantum codes do not fix isotropic errors. Quantum Inf Process 20, 37 (2021).
- [17] Nielsen, M.A., Chuang, I.L., Quantum Computation and Quantum Information, Cambridge University Press, 2010.
- [18] Lacalle, J., Pozo Coronado, L.M., Variance of the sum of independent quantum computing errors, Quantum Information & Computation 19 (15-16), 1294–1312 (2019).
- [19] Lacalle, J., Pozo Coronado, L.M., Fonseca de Oliveira, A.L., Martín-Cuevas, R., Quantum Codes Do Not Fix Qubit Independent Errors, American Journal of Information Science and Technology 9(3), 60–72 (2021).
- [20] Scott, A.J., Probabilities of Failure for Quantum Error Correction, Quantum Inf Process 4, 399–431 (2005). https://doi.org/10.1007/s11128-005-0002-1
- [21] Preskill, J., Sufficient condition on noise correlations for scalable quantum computing, Quantum Information & Computation 13(3-4), 181–194 (2013).
- [22] Gottesman, D., Fault-tolerant quantum computation with constant overhead, Quantum Information & Computation 14(15), 1338–1372 (2014).
- [23] Cross, A.W., Divincenzo, D.P., Terhal, B.M., A comparative code study for quantum fault tolerance, Quantum Information & Computation 9(7), 541–572 (2009).
- [24] Hill, C.D., Fowler, A.G., Wang, D.S., Hollenberg, L.C.L., Fault-tolerant quantum error correction code conversion, Quantum Information & Computation 13(5), 439–451 (2013).
- [25] Duclos-Cianci, G., Poulin, D., Fault-tolerant renormalization group decoder for abelian topological codes, Quantum Information & Computation 14(9), 721–740 (2014).
- [26] Hocker, D., Zheng, Y., Kosut, R., Brun, T., Rabitz, H., Survey of control performance in quantum information processing, Quantum Inf Process 15, 4361–4390 (2016). https://doi.org/10.1007/s11128-016-1406-9
- [27] Hocker, D., Kosut, R., Rabitz, H., PEET: a Matlab tool for estimating physical gate errors in quantum information processing systems, Quantum Inf Process 15, 3489–3518 (2016). https://doi.org/10.1007/s11128-016-1337-5
- [28] Aliferis, P., Gottesman, D., Preskill, J., Quantum accuracy threshold for concatenated distance-3 codes, Quantum Information & Computation 6, 97–165 (2006).
- [29] Wang, D.S., Fowler, A.G., Stephens, A.M., Hollenberg, and L.C.L., Threshold error rates for the toric and planar codes, Quantum Information & Computation 10(5), 456–469 (2010).
- [30] Aggarwal, V., Calderbank, A.R., Gilbert, G., Weinstein, Y.S., Volume thresholds for quantum fault tolerance, Quantum Inf Process 9, 541–549 (2010). https://doi.org/10.1007/s11128-010-0181-2
- [31] Criger, B., Terhal, B., Noise thresholds for the [4,2,2]-concatenated toric code, Quantum Information & Computation 16(15) 1261–1281 (2016).
- [32] Ozen, M., Guzeltepe, M., Quantum codes from codes over Gaussian integers with respect to the Mannheim metric, Quantum Information & Computation 12(9), 813–819 (2012).
- [33] Li, R., Zou, F., Liu, Y., Xu, Z., Hermitian dual containing BCH codes and Construction of new quantum codes, Quantum Information & Computation 13(1), 21–35 (2013).
- [34] Chen, J., Chen, Y., Huang, Y., Feng, C., New optimal asymmetric quantum codes and quantum convolutional codes derived from constacyclic codes, Quantum Inf Process 18, 40 (2019). https://doi.org/10.1007/s11128-018-2156-7
- [35] La Guardia, G.G., Asymmetric quantum Reed-Solomon and generalized Reed-Solomon codes, Quantum Inf Process 11, 591–604 (2012). https://doi.org/10.1007/s11128-011-0269-3
- [36] Boulant, N., Pravia, M.A., Fortunato, E.M., Havel, T.F., Cory, D.G., Experimental Concatenation of Quantum Error Correction with Decoupling, Quantum Inf Processing 1, 135–144 (2002). https://doi.org/10.1023/A:1019623208633
- [37] Evans, Z.W.E., Stephens, A.M., Optimal correction of concatenated fault-tolerant quantum codes, Quantum Inf Process 11, 1511–1521 (2012). https://doi.org/10.1007/s11128-011-0312-4
- [38] Dias de Albuquerque, C., Palazzo Jr., R., Brandani da Sil, E., Families of codes of topological quantum codes from tessellations tessellations {4i+2,2i+1}, {4i,4i}, {8i-4,4} and {12i-6,3}, Quantum Information & Computation 14(15), 1424–1440 (2014).
- [39] Naghipour, A., Jafarizadeh, M.A., Shahmorad, S., Topological quantum codes from self-complementary self-dual graphs, Quantum Inf Process 14, 4057–4066 (2015). https://doi.org/10.1007/s11128-015-1115-9
- [40] Greenbaum, D., Dutton, Z., Modeling coherent errors in quantum error correction, Quantum Science and Technology 3(1), pp. 015007 (2018).
- [41] Bravyi, S., Englbrecht, M., Konig, R., Peard N., Correcting coherent errors with surface codes, npj Quantum Information 4, art. 55 (2018).
- [42] Piltz, C., Sriarunothai, T., Varón, A.F., Wunderlich, C., A trapped-ion-based quantum byte with next-neighbour cross-talk, Nature Communications 5, art. 4679 (2014).
- [43] Buterakos, D., Throckmorton, R.E., Das Sarma, S., Crosstalk error correction through dynamical decoupling of single-qubit gates in capacitively coupled singlet-triplet semiconductor spin qubits, Phys. Rev. B 97(4), pp. 045431 (2018).
- [44] Zurek W.H., Decoherence and the Transition from Quantum to Classical - Revisited. In: Duplantier B., Raimond JM., Rivasseau V. (eds) Quantum Decoherence. Progress in Mathematical Physics, vol 48. Birkhauser Basel (2006).