<<

Quantum Error Correcting Code for Ternary Logic

Ritajit Majumdar1,∗ Saikat Basu2, Shibashis Ghosh2, and Susmita Sur-Kolay1† 1Advanced Computing & Microelectronics Unit, Indian Statistical Institute, India 2A. K. Choudhury School of Information Technology, University of Calcutta, India

Ternary quantum systems are being studied because these provide more computational state space per unit of information, known as qutrit. A qutrit has three basis states, thus a may be considered as a special case of a qutrit where the coefficient of one of the basis states is zero. Hence both (2 × 2)-dimensional as well as (3 × 3)-dimensional Pauli errors can occur on qutrits. In this paper, we (i) explore the possible (2 × 2)-dimensional as well as (3 × 3)-dimensional Pauli errors in qutrits and show that any pairwise bit swap error can be expressed as a linear combination of shift errors and phase errors, (ii) propose a new type of error called error and show its equivalence to arbitrary rotation, (iii) formulate a nine qutrit code which can correct a single error in a qutrit, and (iv) provide its stabilizer and circuit realization.

I. INTRODUCTION errors or (d d)-dimensional errors only and no explicit circuit has been× presented. Quantum computers hold the promise of reducing the Main Contributions: In this paper, we study error cor- computational complexity of certain problems. However, rection in qutrits considering both (2 2)-dimensional × quantum systems are highly sensitive to errors; even in- as well as (3 3)-dimensional errors. We have intro- × teraction with environment can cause a change of state. duced a new type of error where a basis state is mapped While descriptions of quantum algorithms, communica- to any arbitrary superposition state. We have called it tion protocols, etc. assume the existence of closed quan- quantum superposition error. We have shown that such tum system, in reality such systems are open. Hence er- an error can be represented as an arbitrary diagonaliz- ror correction is of utmost importance for quantum com- able rotation matrix. We have proposed an error cor- putation. recting code that can correct these (3 3)-dimensional × Multi-valued based on d- as well as (2 2)-dimensional errors affecting a qutrit. × dimensional quantum systems is gaining importance par- Moreover, for , a phase error in + , ba- {| i |−i} ticularly in the field of as it can sis is analogous to a bit error in 0 , 1 basis, where 1 {| 1i | i} represent a larger state space using less quantum re- + = √ ( 0 + 1 ) and = √ ( 0 1 ). The | i 2 | i | i |−i 2 | i − | i sources. For example, in ion trap technology, if d levels + , basis is obtained by the Hadamard transform of the ion are used, then the number of qudits required of{| i0|−i}, 1 basis. However, in a qutrit, since there are {| i | i} can be reduced by a factor of log2d [8]. In [4], the au- three basis states, ternary QFT does not have similar thor showed that multi-valued quantum logic in some properties as that of Hadamard in a qubit system. QFT quantum algorithms outperforms its binary counterpart. acting on the states 0 , 1 , and 2 produces the states Furthermore, recent researches on quantum algorithms + = √1 ( 0 + 1 + 2| ),i | i = √1 |( 0i +ω2 1 +ω 2 ) and | i 3 | i | i | i |−i 3 | i | i | i have used lackadaisical quantum walk [15] with multi- = √1 ( 0 + ω 1 + ω2 2 ) respectively. Hence the bit dimensional coin to solve search problems faster than ||i 3 | i | i | i flip nature of + , basis for qubits does not trans- their classical counterpart [9, 14]. The simplest higher {| i |−i} dimensional quantum system is for d = 3. Muthukr- late directly in three-dimensional systems. This prob- ishnan and Stroud [8] have implemented a few (3 3) lem has not been addressed earlier for higher dimensional quantum ternary logic gates with ion trap. × . We have proposed a mecha- A general ternary (qutrit) is represented nism to correct phase errors in qutrits. Moreover, we 2 provide stabilizer and circuit realization of the error cor- as ψ = α 0 +β 1 +γ 2 , where α, β, γ C and α + arXiv:1807.01863v1 [quant-ph] 5 Jul 2018 β 2| +i γ 2 =| i 1. For| i practical| i implementation∈ of quantum| | rection mechanism. We also show that similar to qubit ternary| | | | system in noisy environment, it is essential that system [7] five qutrits are necessary to correct a single one is able to correct errors in the system. In literature, 9- error in a qutrit. qubit [12], 7-qubit [13] and 5-qubit [7] codes are available In Section II, we provide the possible types of pure for error correction in qubits. However, to the best of our state qutrit errors. We consider (2 2)-dimensional pair- wise swap error and (3 3)-dimensional× errors which we knowledge, no error correcting code has been provided for × ternary quantum systems. Previous attempts have been call shift errors. Section III presents phase errors due to made for higher dimensional error correction [1, 2, 5, 6, decoherence. We have also introduced the notion of a 11] but they have either considered (2 2)-dimensional quantum superposition error, and shown its equivalence × to an arbitrary phase error. In Section IV, we depict the basic error model which captures all pure state er- rors, phase errors and arbitrary diagonalizable rotation. ∗ [email protected] In Section V, we provide our proposed 9-qutrit code for † [email protected] correcting a single error in a qutrit. Section VI shows the 2 stabilizer and circuit realizations of the error correction. of shifts are possible - clockwise shift (0 1 2) and We conclude in Section VII. anticlockwise shift (0 1 2). The mathematical→ → for- ← ← X1 mulation of clockwise shift (X1) is j j + 1 mod | i −−→| X2 i II. BIT ERRORS IN QUTRITS 3 and that of anticlockwise shift (X2) is j j 1 mod 3. It is interesting to note that the| stabilizeri −−→| − pro-i posed by Gottesman in [5] for higher dimensional errors Our mathematical model of a qutrit, as mentioned in T correspond to the clockwise shift (X1). Section I, is in 0 , 1 , 2 basis where 0 = 1 0 0 , It can be easily verified that the respective matrices {|T i | i | i} T | i 1 = 0 1 0 and 2 = 0 0 1 . Hence a general corresponding to errors X1 and X2 are - | i | i error-free qutrit is of the form ψ = α 0 + β 1 + γ 2     2 | i 2 | i 2 | i | i 0 0 1 0 1 0 where α, β, γ C and α + β + γ = 1. We first consider bit∈ pairwise| swap| errors| | which| | are (2 2)- X1 = 1 0 0 X2 = 0 0 1 dimensional. Then we discuss ternary bit errors which× 0 1 0 1 0 0 we call shift errors. The action of these cyclic shift errors on the error-free state ψ can be mathematically represented as | i A. Ternary pairwise swap errors X1 ψ = α 1 + β 2 + γ 0 . | i | i | i | i

It is possible to have a (2 2)-dimensional error in a X2 ψ = α 2 + β 0 + γ 1 . three-dimensional system. A× pairwise pure state swap or | i | i | i | i bit flip error in a qubit [10] is represented by the Pauli The matrices for shift errors are not self-adjoint. How-   0 1 ever, each type of shift error occurring twice in succession matrix σx = . In a ternary system, there can be 2 1 0 produces the other type of shift error, i.e., X2 = X1 and three types of (2 2)-dimensional pairwise swap, namely X = X2; further X−1 = X and X−1 = X . Thus to × 1 2 1 2 2 1 X01,X12,X20. A single qutrit pairwise swap error op- correct an X1 error, one can apply X2 and vice-versa. erates only on any two of the three basis states, i.e., It can be checked that any combination of these five the amplitudes of two out of the three basis states get types of errors (pairwise swap and shift) results in one swapped in the presence of such an error. The matrices of these five errors or identity. Thus these five errors corresponding to these errors are as follows: exhaust the list of possible bit errors in a qutrit.

X01 ψ = α 1 + β 0 + γ 2 . • | i | i | i | i III. PHASE ERRORS IN QUTRITS 0 1 0 X01 = 1 0 0 A. Arbitrary rotation and phase 0 0 1 Qutrits are unit vectors in three-dimensional Hilbert X12 ψ = α 0 + β 2 + γ 1 . ⊗3 • | i | i | i | i Space . On interaction with the environment, a qutrit canH undergo rotation by some arbitrary angles,   1 0 0 where the basis states 1 and 2 may incur different iθ| i iφ| i X12 = 0 0 1 phase errors given by e and e respectively. Such an 0 1 0 error changes the error- free state ψ as | i α 0 + β 1 + γ 2 α 0 + βeiθ 1 + γeiφ 2 . X20 ψ = α 2 + β 1 + γ 0 . | i | i | i → | i | i | i • | i | i | i | i The corresponding error operator is denoted as   0 0 1 1 0 0  X = 0 1 0 20   R = 0 eiθ 0 . 1 0 0 θφ   0 0 eiφ These matrices are self-adjoint. Hence if any of these Using the formula e±iθ = cosθ isinθ, the error matrix ± i θ+φ errors occur, applying the same error matrix again can can be represented upto a global phase of e 2 , as correct it. 1 0 0 1 0 0 θ θ [cos 2 0 1 0 isin 2 0 1 0] B. Ternary bit shift errors 0 0 1 − 0− 0 1 · 1 0 0 1 0 0  φ φ In addition to bit flip errors, purely ternary errors are [cos 2 0 1 0 isin 2 0 1 0 ] possible which we call (cyclic) shift errors. Two types 0 0 1 − 0 0 1 − 3

i α j + β k where i, j, k 0, 1, 2 and j = k. | i → | i | i { } ∈ { } 6 θ φ θ φ θ φ = cos cos I isin cos Z1 icos sin Z2 The criterion j = k ensures that a qutrit is not mapped 2 2 − 2 2 − 2 2 (1) to a qubit. Such an6 error can induce the following: θ φ sin sin Z12. − 2 2 0 α0 j0 + β0 k0 . | i → | i | i where 1 α1 j1 + β1 k1 . | i → | i | i   2 α2 j2 + β2 k2 . 1 0 0 | i → | i | i Z1 = 0 1 0 where j0, k0, j1, k1, j2, k2 0, 1, 2 and the criterion • 0− 0 1 { } ∈ { } (jl = kl for l 0, 1, 2 ) holds in each case. We call this Z α 0 + β 1 + γ 2 1 α 0 β 1 + γ 2 . quantum6 superposition∈ { } error. | i | i | i −−→ | i − | i | i 1 0 0  Theorem 1. A quantum superposition error is equiva- Z2 = 0 1 0  lent to arbitrary diagonalizable rotation. • 0 0 1 − Z2 Proof. Since the error free state was ψ = α 0 + β 1 + α 0 + β 1 + γ 2 α 0 + β 1 γ 2 . | i | i 0 | i | i | i | i −−→ | i | i − | i γ 2 , the error state can be written as φ = a 0 +   b0| 1i + c0 2 by summing up the new amplitudes,| i where| i 1 0 0 0| 2i 0 |2 i 0 2 0 0 0 a + b + c = 1 and a , b , c C. Z12 = 0 1 0  = Z1Z2 = Z2Z1 | | | |iλ | | ∈ 0 0 • − Since e = 1 for any λ R, the new amplitudes a , b , 0 0 1 0 | | 0 ∈ ia 0 ib 0 ic − Z c can be represented as a = e α, b = e β and c = e γ α 0 + β 1 + γ 2 12 α 0 β 1 γ 2 . | i | i | i −−→ | i − | i − | i for some a, b, c R. So the state φ can be written as φ = eiaα 0 +∈eibβ 1 + eicγ 2 | αi 0 + ei(b−a)β 1 + Correction of phase error is not so obvious in ternary |ei(ic−a)γ 2 |upi to a global| i phase| i of ≈eia.| Puttingi b a| =i θ systems as in binary systems. This is because phase flip and c a| =i φ, this error can be represented by the− error error has the nature of bit flip error in the Hadamard matrix−R and can be corrected in a similar way. basis ( + = √1 ( 0 + 1 ), = √1 ( 0 1 )). How- θφ | i 2 | i | i |−i 2 | i − | i The proof is similar for the case where a basis state ever, the natural extension of Hadamard transform, i.e., is mapped to a superposition of three basis states i.e. Quantum Fourier Transform (QFT) does not behave in a0 0 + a1 1 + a2 2 . a similar way for qutrits. We address this problem and | i | i | i  propose a solution in Section VI. It has already been shown that Z12 = Z1Z2. One can The phase of the three basis states are defined [5] in check that any combination of Z1,Z2 and Z12 results in 3 terms of ω, the cube root of unity, i.e., ω = 1, and one of the three errors Z1,Z2, Z12 or identity. Moreover, 1 + ω + ω2 = 0. The two phase error matrices for 0 are | i arbitrary phase and quantum superposition error can also given by be represented as combinations of these three. Hence, these three errors exhaust the list of possible phase errors 1 0 0  1 0 0 2 in a qutrit. R1 = 0 ω 0  R2 = 0 ω 0. 0 0 ω2 0 0 ω

It can be seen that the matrices R1 and R2 are special IV. ERROR MODEL FOR QUTRITS cases of the rotation matrix Rθφ. So they are not inde- pendent errors. However, in Section VI, we have used ω The errors considered in Sections II and III can be and ω2 phases to show that a binary bit pairwise swap er- summed up using the error model proposed in [2]. Any ror can be represented as a linear combination of ternary error E acting on the qutrit is a 3 3 complex unitary 3×3 × errors. Hence, we explicitly show their correction in Sec- matrix, E C . Such a matrix can be written as a tion VI. linear combination∈ of bit errors (X), phase errors (Z) [2] In the following part, we consider a special type of rota- and their product (Y = iZX). The general error model tion, where each basis state is knocked into superposition considered in this paper is of two or three basis states. We call it quantum super- position error, and describe it in details in the following 2 2 2 subsection. X X X E = aI3+ biZi+ (cmnXmn+ dmnjYmnj) (2) i=1 m,n=0 j=1 m6=n B. Quantum superposition error where a, b, cmn, dmnj C are constants. I3 is the 3 3 ∈ × We consider a special quantum error where the deco- identity operator and Ymnj = iZjXmn takes into account herence knocks a basis state into a superposition of two when both bit error (X) and phase error (Z) occur simul- (or three) basis states, i.e., taneously. This error model tackles both binary as well as 4 ternary bit and phase errors. Furthermore, it can encap- example, the error operator X12 can be written (upto a sulate an arbitrary diagonalizable rotation error whose normalization factor) as a linear combination of shift and matrix representation is a diagonal matrix (Rθφ) with phase operators as follows: different phases for the basis states. We consider this er- ror model since it can capture any such error E C3×3. ∈ 1 0 0 1 0 0 1 0 0  1 0 0 0 0 1 = 0 1 0 + 0 ω 0  + 0 ω2 0 V. ERROR CORRECTING CODE FOR 0 1 0 0 0 1 0 0 ω2 0 0 ω QUTRITS 0 1 0  0 ω 0 0 ω2 0 + 0 0 1 +  0 0 1 + 0 0 1 We propose a nine-qutrit error correcting code. For 2 error correction, we encode the information of a single 1 0 0 ω 0 0 ω 0 0 qutrit ψ = α 0 + β 1 + γ 2 into nine qutrits where      2 | i | i | i | i 0 0 1 0 0 ω 0 0 ω the logical qutrit is denoted as + 1 0 0 + 1 0 0 + 1 0 0  . 2 ψ L = α 0 L + β 1 L + γ 2 L. 0 1 0 0 ω 0 0 ω 0 | iThe logical| i 0 |, i1 and| i2 are as follows: | iL | iL | iL Note that the error operators with angles ω and ω2 1 0 = ( 000 + 111 + 222 )( 000 + 111 + 222 ) can be considered as Rθφ error for particular values of θ | iL 3√3 | i | i | i | i | i | i and φ. Hence, a code which can correct shift and phase ( 000 + 111 + 222 ). errors can also correct pairwise swap errors occurring on | i | i | i qutrits. Henceforth, we shall focus only on the correction 1 2 1 = ( 000 + ω 111 + ω 222 ) of bit shift errors and phase errors. | iL 3√3 | i | i | i ( 000 + ω 111 + ω2 222 ) | i | i | i ( 000 + ω 111 + ω2 222 ). | i | i | i A. Stabilizer structure for error detection 1 2 = ( 000 + ω2 111 + ω 222 ) | iL 3√3 | i | i | i 2 A set of operators M1,M2,...,Mk are called stabilizers ( 000 + ω 111 + ω 222 ) of a quantum state ψ if Mi ψ = ψ for all i. If the | i 2 | i | i | i | i | i ( 000 + ω 111 + ω 222 ). state ψ , upon incurring some error, is changed to ψE , | i | i | i | i | i then at least for one of the stabilizers Mi, the error state It is easy to check that 0 , 1 and 2 are orthog- will be a -1 eigenstate, i.e., M ψ = ψ for at least | iL | iL | iL i E E onal to each other. one i. For ternary systems, the| errori − states | i may be ω- In order to correct the error in Eq.(2), ancilla state(s) eigenstate or ω2-eigenstate of the stabilizers. ζ is entangled with the system. Finally, the ancilla Gottesman defined stabilizers for higher dimensional | i state(s) is measured which gives a classical outcome systems as called error syndrome. The error syndrome denotes the type of error that has occurred. The resultant state after X j = j + 1 mod d R j = ωj j entanglement of the ancilla state(s) ζ is a superposition | i | i | i | i of the form | i

θ φ θ φ where d is the dimension of the quantum state. For cos 2 cos 2 I ψ ζI isin 2 cos 2 Z1 ψ ζZ1 qutrit systems, d = 3. The stabilizers for detection of bit θ φ | i | i − θ φ | i | i − icos sin Z2 ψ ζZ sin sin Z12 ψ ζZ and phase errors are 2 2 | i | 2 i − 2 2 | i | 12 i where ζi indicates the ancilla qubit with i-th error syndrome.| Uponi measurement of the ancilla qubits, the RRRIIIIII, IIIRRRIII, IIIIIIRRR superposition collapses. If the ancilla state collapses with XXXIIIIII, IIIXXXIII, IIIIIIXXX. i-th syndrome, then the encoded state also collapses with the i-th error on the system. The first three stabilizers, including R and identity (I) only check shift errors. The last three stabilizers, includ- ing X and identity only check the errors with ω, ω2 phase. VI. STABILIZER AND CIRCUIT REALIZATION We show in Table I the eigenvalues corresponding to sta- bilizers RRRIIIIII and XXXIIIIII for different error We have considered that a ternary quantum system states. The actions of the other stabilizers are similar. can be perturbed by both binary (pairwise swap of basis However, the stabilizers for shift errors can only detect states) and ternary (cyclic shift of basis states) errors. the presence and the type of error, but not their location. However, any pairwise swap error can be written as a Hence, a second step is required to find the location of linear combination of ternary shift and phase errors. For the errors. 5

q MS +1 MS +2 TABLE I. Stabilizers for ternary errors | 0i • Error state RRRIIIIII XXXIIIIII q C21 |000i + |111i + |222i 1 1 | 1i |200i + |011i + |122i ω2 |020i + |101i + |212i ω2 FIG. 2. Realising the C11 gate with MS gates |002i + |110i + |221i ω2 |100i + |211i + |022i ω q 0 • • |010i + |121i + |202i ω | i q |001i + |112i + |220i ω | 1i • • • • |000i + ω |111i + ω2 |222i ω2 q | 2i • • |000i + ω2 |111i + ω |222i ω q C11 C11 | 3i q C21 C21 q | 4i | 0i • • q C11 C11 | 5i q1 | i • • q6 C21 C21 | i q2 C11 C11 | i FIG. 3. Circuit for qutrit error correction q C21 C21 | 3i

FIG. 1. Circuit to compare two qutrits C21 is one of the basic (3 3) ternary quantum gates proposed and implemented in× ion-trap by Muthukrishnan and Stroud [8]. The gates proposed in [8] are often called B. Error correction circuit MS gates. Two other types of MS gates, namely MS+1 and MS+2, are defined as

After applying the stabilizer RRRIIIIII, if the eigen- MS + i j = j + i mod 3. 2 value is ω , it implies that X2 error has occurred in any | i | i one of the first three qutrits. However, it cannot specify The implementation of C11 gate using MS gates is the qutrit which has incurred the error. Fig 1 shows the shown in Fig 2. circuit which checks whether two qutrits are in the same In Fig 3 we show the circuit which checks whether the state. In this circuit, we consider the ancilla states ( q2 , three qutrits are in the same state or not. In the Figure, | i q ) to be qubits only. Using qutrits as ancilla does not q3 to q6 are ancilla qubits initialized to 0 . Following 3 | i | i | i hamper| i the error correction procedure, but qutrits are the truth table from Table II, if all the qutrits are in the not necessary. The truth table of this circuit is shown same state, then the syndrome is 000. Otherwise one of in Table II. The states of the ancilla qubits comprise the the three bits will differ, which indicates the qutrit which error syndrome. When the syndrome is 00, it implies has incurred error. that both the qutrits are in the same state. Any other Next, we address the problem of correction of phase error syndrome indicates that the qutrits are in different errors (Z1, Z2 and Z12). The + , , basis for {| i |−i ||i} states. qutrits is equivalent to Hadamard basis for qubits. The gates C11 and C21 are defined as follows: 1 + = ( 0 + 1 + 2 ). | i √3 | i | i | i C : if (control = 1) then target = target + 1 11 1 = ( 0 + ω2 1 + ω 2 ). |−i √3 | i | i | i C21 : if (control = 2) then target = target + 1 1 where the addition is modulo 3. = ( 0 + ω 1 + ω2 2 ). ||i √3 | i | i | i It is clear that the bit flip nature of Hadamard basis TABLE II. Truth table for the circuit in Fig 1 does not hold true in a three-dimensional system. In |q0i |q1i |q2i |q3i order to correct a phase error in qutrit, we consider the 0 0 0 0 three unitary matrices as proposed in [3]: 0 1 1 0   0 2 0 1 1 1 0 1 0 1 0 H01 = √1 1 1 0 . 2 − 1 1 0 0 • 0 0 √2 1 2 1 1   2 0 0 1 √2 0 0 2 1 1 1 12 √1 H = 2  0 1 1 . 2 2 0 0 • 0 1 1 − 6   1 0 1 required cannot be more than 3n. To accommodate all H20 = √1 0 √2 0 . these eleven errors and the error free state in separate • 2 1 0 1 orthogonal subspaces for each of the three logical qutrits − in an n-qutrit code, Eq.(3) should be satisfied. These matrices are similar to Hadamard operation on two states while the third state is kept unchanged. Ap- 01 plying H on these states changes 0 and 1 to + and n | i | i | i 3(11n + 1) 3 . (3) respectively, while the state 2 remains unchanged. ≤ Hence,|−i if there is a phase error| oni 1 with respect to The minimum value of n for which this inequality is 0 , then it can be easily detected as it| willi flip the states satisfied is five. So five qutrits are necessary for correcting |+i and . Similarly, by applying H20 any phase error a single error in a qutrit. The similar bound was achieved |betweeni |−i0 and 2 can be detected. Since Z = Z Z , 12 1 2 by Laflamme et al [7] for qubits. Our proposed code uses correcting| iZ and| Zi one after the another corrects Z . 1 2 12 nine qutrits. VII. CONCLUSION C. Performance analysis In this paper, we have proposed a nine qutrit code which can correct a single binary (pairwise swap, Z and The code proposed in this paper is a repetition code, 1 Z2 phase and their combination) or ternary (shift, Z12 where each of the logical qutrits ( 0 L, 1 L, 2 L) are and their combination) error. This code is a repetition arranged in three blocks of three qutrits| i | each.i | Thisi ap- code, where each of the logical qutrits ( 0 L, 1 L, 2 L) proach is similar to Shor code [12] for qubits. If p is the are arranged in three blocks of three qutrits| i each.| i To| thei probability that a single qutrit is affected by decoherence, best of our knowledge, this is the first error correcting then the probability that none of the nine qutrits deco- code for qutrit system which takes into account both bi- here is (1 p)9. This code fails if more than one qutrit nary and ternary errors. We have also addressed the issue incur error.− The probability that at least two qutrits have of correcting phase errors in ternary systems since the bit error is 1 (1 p)9 9p(1 p)8 = 1 (1+8p)(1 p)8 36p2. flip nature of phase errors in Hadamard basis does not − − − − − − ≈1 translate directly in ternary QFT basis. The performance Hence, when the error probability is less than 36 , this technique provides an improved method to preserve the of this code is similar to the nine-qubit code proposed by Shor, however, its stabilizer structure is not. We have coherence of the qutrits. The performance of our pro- shown that this code is not optimal in the number of posed code is in accordance to Shor code. However, this qutrits for a ternary quantum system. Further studies apparent similarity to Shor Code vanishes in the error can be performed to find the five-qutrit error correcting correction process. Unlike Shor Code, the error correc- code. Moreover, it is worthwhile to study whether the tion is two fold - in the first step error is detected, and two step error correction procedure used in this paper then its location is identified. can be avoided and a single stabilizer structure can be In the error model chosen for qutrits in this paper, provided for error correction. there are two independent bit errors (X1, X2) and two in- dependent phase errors (Z1, Z2) and their product (Z12). So there are three phase errors. Hence, according to ACKNOWLEDGEMENT Eq.(2), there can be six Ymnj = iZjXmn errors. Reliable detection of these eleven errors and the error free state We gratefully acknowledge fruitful discussions with demands each error state and the error free state to be Prof. Peter Shor, MIT and Prof. Guruprasad Kar, in different orthogonal subspaces. An n-qutrit quantum Indian Statistical Institute, Kolkata. Ritajit Majum- system resides in a 3n-dimensional . So, dar would like to acknowledge DST INSPIRE Fellowship in an n-qutrit code, the number of orthogonal subspaces DST/INSPIRE/03/2016/002097 for supporting the research.

[1] Cafaro, C., Maiolini, F., and Mancini, S. (2012). Quan- Springer Berlin Heidelberg, Berlin, Heidelberg. tum stabilizer codes embedding qubits into qudits. Phys. [6] Gottesman, D., Kitaev, A., and Preskill, J. (2001). En- Rev. A, 86:022308. coding a qubit in an oscillator. Phys. Rev. A, 64:012310. [2] Chau, H. F. (1997). Correcting quantum errors in higher [7] Laflamme, R., Miquel, C., Paz, J. P., and Zurek, W. H. spin systems. Phys. Rev. A, 55:R839–R841. (1996). Perfect quantum error correcting code. Phys. [3] Di, Y.-M. and Wei, H.-R. (2011). Elementary gates Rev. Lett., 77:198–201. for ternary quantum logic circuit. arXiv preprint [8] Muthukrishnan, A. and Stroud, C. R. (2000). Multival- arXiv:1105.5485. ued logic gates for quantum computation. Phys. Rev. A, [4] Fan, Y. (2008). Applications of multi-valued quantum 62:052309. algorithms. arXiv preprint arXiv:0809.0932. [9] Nahimovs, N. and Rivosh, A. (2016). Quantum walks on [5] Gottesman, D. (1999). Fault-Tolerant Quantum Compu- two-dimensional grids with multiple marked locations. In tation with Higher-Dimensional Systems, pages 302–313. Freivalds, R. M., Engels, G., and Catania, B., editors, 7

SOFSEM 2016: Theory and Practice of Computer Sci- R2496. ence, pages 381–391, Berlin, Heidelberg. Springer Berlin [13] Steane, A. M. (1996). Error correcting codes in quantum Heidelberg. theory. Phys. Rev. Lett., 77:793–797. [10] Nielsen, M. A. and Chuang, I. L. (2010). Quantum com- [14] Wang, H., Zhou, J., Wu, J., and Yi, X. (2017). putation and . Cambridge univer- Adjustable self-loop on discrete-time quantum walk sity press. and its application in spatial search. arXiv preprint [11] Pirandola, S., Mancini, S., Braunstein, S. L., and Vitali, arXiv:1707.00601. D. (2008). Minimal qudit code for a qubit in the phase- [15] Wong, T. G. (2015). Grover search with lackadaisical damping channel. Phys. Rev. A, 77:032309. quantum walks. Journal of Physics A: Mathematical and [12] Shor, P. W. (1995). Scheme for reducing decoherence in Theoretical, 48(43):435304. quantum computer memory. Phys. Rev. A, 52:R2493–