Quantum clock synchronization with a single qudit
Abstract
Clock synchronization for nonfaulty processes in multiprocess networks is indispensable for a variety of technologies. A reliable system must be able to resynchronize the nonfaulty processes upon some components failing causing the distribution of incorrect or conflicting information in the network. The task of synchronizing such networks is related to Byzantine agreement (BA), which can classically be solved using recursive algorithms if and only if less than one-third of the processes are faulty. Here we introduce a nonrecursive quantum algorithm, based on a quantum solution of the detectable BA, which achieves clock synchronization in the presence of arbitrary many faulty processes by using only a single quantum system.
Full text
Quantum Clock Synchronization with a Single Qudit Armin Tavakoli 1 , Ada ´n Cabello 2 , Marek Z ˙ukowski 3 & Mohamed Bourennane 1 1 Physics Department, Stockholm University, S-10691, Stockholm, Sweden, 2 Departamento de Fı ´sica Aplicada II, Universidad de Sevilla, E-41012 Sevilla, Spain, 3 Instytut Fizyki Teoretycznej i Astrofizyki, Uniwersytet Gdan ´ski, PL-80-952 Gdan ´sk, Poland. Clock synchronization for nonfaulty processes in multiprocess networks is indispensable for a variety of technologies. A reliable system must be able to resynchronize the nonfaulty processes upon some components failing causing the distribution of incorrect or conflicting information in the network. The task of synchronizing such networks is related toByzantine agreement (BA), which can classically be solved using recursive algorithms if and only if less than one-third of the processes are faulty. Here we introduce a nonrecursive quantum algorithm, based on a quantum solution of the detectable BA, which achieves clock synchronization in the presence of arbitrary many faulty processes by using only a single quantum system. In many multiprocess networks, including data transfer networks, telecommunications networks, the global positioning system, and long baseline interferometry, the individual processes need to have clocks that must be synchronized with one another 1,2 . To this purpose, individual processes’ clocks must periodically be resynchronized. This motivates the need for clock synchronization algorithms which work despite the faulty behavior by some of the processes. Faulty behavior can occur due to a variety of causes, including crashing, transmission failure, and distribution of incorrect or inconsistent information in the network 3 . A clock synchronization algorithm should achieve the following tasks: C1) For any given instant, the time of all nonfaulty processes’ clocks must be the same. This is necessary, but not sufficient, since simply stopping all clocks at zero satisfies C1. We therefore need to assume that a process’ logical clock also keeps the rate of its corresponding physical clock. In addition, synchronizing may cause further errors, so we require that: C2) There is a small bound on the amount that a process’ clock is changed during synchronization 4 . Reliable clock synchronization algorithms can be complicated. To simplify the problem we shall work under the following assumptions 4 : A1) Initially, all clocks are synchronized to the same value. Physical clocks typically do not keep perfect time but drift with respect to one another. This motivates the following assumption: A2) All nonfaulty processes’ clocks run at one second in clock time per second in real time. A general problem arises from the clocks continuously changing during the synchronization procedure. Unless the synchronization algorithm is very fast, this will cause problems. This motivates our last assumption: A3) A nonfaulty process can read the time difference between the clock of another process and its own. A method to achieve synchronization is to use interactive consistency algorithms (ICAs) in which all nonfaulty processes reach a mutual agreement about all the clocks 4 . An ICA should satisfy that, for every process p: (1) Any two nonfaulty processes obtain the same value of process p’s clock, even if pis faulty. (2) If pis nonfaulty, then every nonfaulty process obtains the value of p’s clock. The synchronization problem can classically be solved using recursive algorithms if and only if less than one-third of the clock are faulty. The conditions for an ICAs are similar to the ones of the problem of Byzantine Agreement (BA) in the case of which: (i) All nonfaulty processes obtain the same value and (ii) if process pis nonfaulty, then all nonfaulty processes obtain the value it sends 4,5 . Nevertheless, it has been shown that even quantum methods cannot solve the BA if one-third or more of processes are faulty 6 . However, for most applications, including clock synchronization, it is sufficient to consider a scenario called detectable Byzantine agreement (DBA) or detectable broadcast 7,8 . In this case, conditions (i) and (ii) are replaced with: (i9) either all nonfaulty processes obtain the same value or all abort, and (ii9) if process pis nonfaulty, then either every nonfaulty process obtains the same value or aborts. By ‘‘abort’’ we mean treating the value as undefined and exiting the protocol. Classical ICAs can only achieve DBA if less than one-third of the processes are faulty 4 and agreement is achieved by majority voting using a recursive algorithm, called OM(n), where nis the number of faulty processes. The OM(n) algorithm works as follows. We label the processes as P k , with k51, 2, …, m.Ifn50, then P 1 OPEN SUBJECT AREAS: QUANTUM INFORMATION SINGLE PHOTONS AND QUANTUM EFFECTS Received 10 November 2014 Accepted 24 December 2014 Published 23 January 2015 Correspondence and requests for materials should be addressed to M.B. ([email protected]. se) SCIENTIFIC REPORTS | 5 : 7982 | DOI: 10.1038/srep07982 1
distributes its value to every other process. Every process uses the value received from P 1 and, in case no value is obtained, uses 0. If n. 0, then P 1 distributes its value to every other process. For k52, …, m, let x k denote the value obtained by P k from P 1 .IfP k receives no message, then let x k 50. P k acts as P 1 in algorithm OM(n21) by distributing x k to the remaining m22 processes. For every kand for all j?k, let x j be the value received by P k from P j using OM(n21), and in case no value was received x j 50. P k decides on the value obtained from the median of (x 1 ,…,x m ). Thus, OM(n) requires O(m n11 ) transmitted messages to solve the task. The DBA is an example of a communication task for which quantum resources can provide a solution, while classical tools cannot. Nevertheless, the special case of DBA in a three process network with one faulty process, has been solved using quantum methods based on three-qutrit singlet states 7,9 , four-qubit entangled states 10 , and three 8 or two 12 pairwise quantum key distribution (QKD) channels, and experimentally demonstrated using four photon-polariza- tion entangled state 11 . Interestingly, later works have shown that there are quantum solutions for certain communication complexity problems and secret sharing tasks which do not require entanglement, but, instead, sequential communication of a single quantum system 13,14 . These protocols have been shown to be much more resistant to noise and imperfections, and significantly more scalable than protocols based on entanglement. In this article, we introduce a quantum algorithm that solves the DBA and achieves clock synchronization in the presence of an arbitrary number of faulty processes, with only one single round of message passing per process independently of the number of faulty processes, utilizing only a single quantum system. In order to solve the DBA problem, the mprocesses need to share data in the form of lists l k , of numbers subject to specific correlations, and the distribution must be such that the list l k held by process P k is known only by P k . Quantum mechanics provides methods to generate and securely distribute such data, here we shall seek for one which is simple, efficient, and easily extendible to an arbitrary number of processes. We assume that all processes can communicate with one another with oral messages by pairwise authenticated error-free classical channels and pairwise authenticated quantum channels. Correlated lists and their use The initial stage of the quantum protocol is to distribute lists l k , for k51, …, m, each of them available only to process P k . All lists have to be of the same length Land are required to satisfy the property that if N50 (or 1) is at position jin l 1 , then 0 (respectively, 1) is at position j in lists l k for k52, …, m(i.e., they are perfectly correlated). However, if Ng{2, …, m21} is at position jin l 1 , then the sum of numbers at positions jin lists l k for k52, …, mequals m2N, and all elements in these lists are either 0 or 1. Given an N, all the possible combinations of binary numbers satisfying the condition are uniformly probable. Note that, on one hand, P 1 has information about at which positions the lists of all other processes the values are perfectly correlated, and at which positions they are random bits, with the property that their sum is anticorrelated with the value, N$1, in l k . On the other hand, the holder of one the lists l k , with k52, …, m, has no information whatsoever on whether the lists are correlated at a given position or not. Once the processes have these lists, they can use them to achieve mutual agreement and solve the DBA by applying the algorithmic part of the protocol, which we shall call QB(n,m). The special case, QB(1, 3), reproduces the protocol in 11 . (1) P 1 sends bit-valued messages to all processes. The message sent to process P k will be denoted by m 1,k . Together with each message, P 1 sends a list l 1,k of all of the positions in l 1 in which the value m 1,k appears. If P 1 is nonfaulty all lists and messages are identical. The full information which P k receives from P 1 will be denoted by {m 1,k ,l 1,k }. (2) The receiving processes P k analyze (singlehandedly) the obtained lists and messages. If the analysis of P k shows that l 1,k is of appropriate length (i.e., about L/m) and {m 1,k ,l 1,k }is consistent with l k at all positions, then if P k is nonfaulty, it conveys {m 1,k ,l 1,k } to all other processes P k?1 . A faulty process sends a flipped bit value of the message with whatever list it chooses. The full information which P j receives from P k will be denoted by {m k,j ,l k,j }. A nonfaulty P k will also decide on the final bit value it adopts V k . This is m 1,k , unless messages from the other processes force it to decide that P 1 is faulty. However, if {m 1,k ,l 1,k } is not consistent with l k , then P k immediately ascertains that P 1 is faulty and relays to other processes neither 0 nor 1 but H, meaning ‘‘I have received inconsistent data.’’ (3) Once all messages have been exchanged between P 2 ,…,P m , each process considers the obtained data and acts according to the instructions in Table 1. The overall aim is, if P 1 is nonfaulty, to have the same value of V k for all nonfaulty processes, or all of them aborting. Quantum protocol for distributing lists l k All processes are equipped with devices which can unitarily transform qudits. In addition, P 1 has a source of single qudits of dimension mand the last process, P m , has additionally a measurement device. The protocol runs as follows (for an illustration, see Fig. 1): (I) P 1 prepares the state y0 ji ~1 ffiffiffiffi m pX m{1 j~0 j ji :ð1Þ (II) P 1 randomly chooses the ‘‘encoding basis’’ from mdifferent options U 0 ,...,U m21 and labels the choice c 1 . Having chosen the c 1 ’st encoding basis, process P 1 applies the following unitary transformation to the qudit: Uc1¼j0ih0jþX m1 k¼1 vc1jkihkj;ð2Þ where v~ei2p m. From the interferometric point of view, applying U c 1 introduces a phase-shift of 22pc 1 /min the first beam. (III) After that, P 1 randomly chooses a value N 1 in the set {0, 1, …, m21} and encodes N 1 , by applying the following unitary transformation: UN 1 ðÞ~X m{1 j~0 vjN1j jij hj :ð3Þ Afterwards, the qudit is sent to P 2 . (IV) P 2 , in the same manner as P 1 , choses a c 2 g{0,...,m21} and applies the unitary U c 2 corresponding to choice of encoding basis. (V) Next, P 2 randomly chooses a value N 2 in the set {0, 1}. If N 2 50, no action is taken, i.e., P 2 applies the transformation UN 2~0ðÞ~.IfN 2 51, then P 2 applies U(N 2 51) and then sends the qudit to P 3 . (VI) P 3 ,…,P m consecutively repeat the same procedure as P 2 with independent choices of basis and encoding their respective random values N 3 ,…,N m . (VII) In addition, P m measures the qudit using a device which distinguishes the state jy 0 æfrom any set of states orthogonal to it. www.nature.com/scientificreports SCIENTIFIC REPORTS | 5 : 7982 | DOI: 10.1038/srep07982 2
(VIII) If P m obtains jy 0 æ, then the processes consecutively reveal their encoding bases (but not their values N k ) in reverse order: First P m and last P 1 . If it turns out that the sum of the basis choices modulo mequals zero, then the run is treated as a valid distribution of the numbers N k at the same position in the private lists l k . The protocol distributes the numbers in the required way because all the unitary operators are diagonal and, therefore, commute. Additionally, if X m k~1 ck~0 mod mthen P k~1 mUck~;ð4Þ and, if Xm k~1Nk~0, modulo m, then P m k~1UN k ðÞ~:ð5Þ Whenever this condition is not satisfied, the final state of the system is orthogonal to jy 0 æand will therefore never be an outcome of P m ’s measurement. Clock synchronization Now, we will show how to apply our method for solving the DBA to achieve fault tolerant clock synchronization. However, a problem arises from clocks ticking during the synchronization procedure. This is solved by exploiting assumption A3: Instead of sending a number, the processes send their clock differences to each other. In the classical case, we achieve clock synchronization by running the algorithm OM(1) mtimes, sending clock differences instead of the binary values, and analogously for OM(n) 4 . In analogy with the classical case, the processes send clock differences also in the quantum case, exploiting the fact that the clock differences can be decomposed into binary strings up to arbitrary accuracy agreed upon in advance. We run QB(n,m)mtimes in such a way that for each run a new processes takes the roll of P 1 in QB(n,m). More explicitly, P y reads the clock difference D xy between its own clock and the clock of P x .If P y is nonfaulty it will relay D xy to P z but if P y is a faulty process, it can arbitrarily change D xy before sending it. If P y relays the value obtained from P x to P z , then P z knows the time difference between P x and P y . Also, since QB(n,m) is ran mtimes, P z will also obtain D yz from P y and thus P z knows that P y is claiming that the time difference between P x and P z is D xy 1D yz , which can then be compared to D xz obtained directly from P x . Comparison with the other solutions The correlated lists needed for achieving DBA can be distributed by other means than with the single-qudit protocol. Successful distribution can be achieved by the process P m sharing a QKD channel with every other process. P m uses a QKD protocol, e.g., BB84 17 to distribute numbers such that (1) P m and P 1 share a string K1,m~k1 1,m...kL 1,m, where kj 1,m[0,...,m{1 fg . (2) For every l52, …, m21, P m and P l share a string Kl,m~k1 l,m...kL l,msuch that kj l,m[0,1fg. (3) For a given j, the lists satisfy Xm l~1kj l,m mod m ~0. (4) None of P 2 ,…,P m21 have any information about a particular list element of any other process. (5) Whenever P 1 receives an element kj 1,m§2, P 1 has no information on the bit value of kj l,mfor l52, …, m, and whenever P 1 receives kj 1,m~p[0,1 fg ,P 1 knows that kj l,m~pfor all l52, …, m. All QKD channels except that shared between P 1 and P m transmit bit values. In order to transmit elements of {0, …, m21} to P 1 , the numbers must be encoded into qlog2mðÞrqubits. One additional requirement that has to be made for solving the DBA using the QKD distributed lists is that P m is not required to convey any lists. This is necessary since P m has full knowledge about the lists of all other processes and therefore easily could cheat. Instead, P m may announce the message it received from P 1 , and if any inconsistency is noted by P 2 ,…,P m21 , then P m will change its final value if the other processes convince P m of them being nonfaulty. There are also other proposed solutions to the DBA considering three processes where one is faulty. The first one, proposed in Ref. 7, relies on the three qutrit entangled Aharonov state. The goal is to distribute lists given by all permutations of the elements of the set {0, 1, 2}, i.e., (0–1–2, 0–2–1, 1–0–2, 1–2–0, 2–0–1, and 2–1–0). Table 1 | Once P k receives all messages and lists from all other processes, it will study the obtained lists and messages and compare to its own list l k . Depending on the consistency between the obtained and private data, P k will act according to table below. Notation mj,k,lj,k %lkmeans that m j,k and l j,k are found to be consistent with l k whereas 6%means ‘‘inconsistent with.’’ The symbol Hmeans ‘‘I have received inconsistent data.’’ By Mkwe denote some nonempty subset of {1, …, m}\{k} local analysis of all data received by P k decision of P k on the value V k (iia) Vj[Nm\kfg,mj,k,lj,k %lkand all messages are equal V k 5m 1,k , no faulty process (iib) Vj[Nm\k fg ,mj,k,lj,k %lkand not all messages are equal as P 1 is faulty, V k 5abort (iic) Vj[Mk,mj,k,lj,k 6%lkand Vj6[Mk,mj,k,lj,k %lkV k 5m j,k , for j6[Mk, as the other P j ’s are faulty (iid) Vj[Mk,mj,k,lj,k %lkand \Vj6[MkV k 5m 1,k , although P 1 could be faulty (iie) Vj[Mk,mj,k,lj,k %lk, but with unequal messages, and Hfrom Vj6[MkV k 5abort, at least P 1 is faulty Figure 1 | Scheme of the quantum protocol for the distribution of the correlated lists. P 1 prepares a uniform d-level superposition state, makes a choice of basis and encoding, and forwards the qudit to P 2 which applies a choice a basis and encoding and forwards the qudit to P 3 . Processes P 3 ,…, P m act in analogy with P 2 . Finally P m projects the state onto the initial state prepared by P 1 and, if the outcome is 1, the processes reveal their bases and, if all bases are the same, the round is treated as valid. www.nature.com/scientificreports SCIENTIFIC REPORTS | 5 : 7982 | DOI: 10.1038/srep07982 3
Generalization to mparties along the lines of Ref. 7 would require the usage of multipartite m-level entanglement, provided by the state km ji ~1 ffiffiffiffiffiffi m! pX i~sSm ðÞ {1ðÞ NsSm ðÞðÞ i1,...,im ji ,ð6Þ where i~i1,...,in fg,S m 5{0, …, m21} and N(s(S m )) is the parity of the permutation of S m . Already for the simplest case of m53, this approach requires the preparation of a very complex state which, to our knowledge, has not yet been experimentally realized. However, for the three process case, it has been pointed out in Ref. 12 that the distribution of the lists can be realized without the state (6), by utilizing two separated QKD channels. With small modification for the mprocess setting, distribution of the lists is achieved with m21 QKD channels. However, to encode the entire space provided by S m , the QKD requires qlog2mðÞrqubits. If the efficiency of a detector gis not perfect and the QKD is performed with single qubits using von Neuman measurements, successful distribution occurs only with probability gm{1ðÞqlog2mðÞr. Typically, the classical part of the protocol in Ref. 7 and its possible generalizations scale rapidly with the number of processes. It is required that m! different types of lists are distributed. However, a solution to the three party DBA exploiting four-qubit entanglement provides a simpler classical part of the protocol: the number of different lists is lowered from six to four 11 . The general mprocess protocol presented in this paper generalizes the protocol in Ref. 11 and requires 2 m21 different types of lists. As emphasized earlier, the distribution of the required lists can be achieved both with single-qudit and with m21QKD channels. Using QKD channels, only one channel needs to transmit all elements in S m while the remaining m22 channels only transmit bit values. In the presence of nonperfect detectors, successful distribution occurs with probability gm{2zqlog2mðÞr. However, in the single-qudit approach only one single detection is needed and, therefore, successful distribution of the lists occur with probability gindependently of m. The single-qudit protocol is highly scalable, both in terms of success probability with inefficient detectors and requirements on the classical lists. Conclusions We have presented a single-qudit protocol which provides an efficient solution to an important multiparty communication problem: It solves DBA and achieves clock synchronization in the presence of arbitrary many faulty clocks. In principle, our quantum algorithm is not limited to the case of clock synchronization, it can with small adaptation be used for other tasks requiring oral message interactive consistency. Interestingly, our algorithm works by transmitting a single qudit among the parties rather than by distributing a quantum entangled state among them. This makes the protocol much more practical, as single qudits can be experimentally realized easily in many ways. For example, using unbiased multiport beamsplitters 15 or time-bin 16 . Compared to schemes based on several QKD channels, the single-qubit protocol is more scalable and robust against detection inefficiencies. This results shows that single-qudit quantum information protocols are interesting beyond QKD 18,19 and random number generation 20,21 , and should stimulate experimental implementations and further research in quantum information protocols. 1. Simons, B., Welch, J. L. & Lynch, N. An overview of clock synchronization. Fault- Tolerant Distributed Computing, Lecture Notes in Computer Science 448, 84–96 (Spinger, New York 1990). 2. Lewandowski, W., Azoubib, J. & Klepczynski, W. J. GPS: Primary tool for time transfer. Proc. IEEE 87, 163–172 (1999). 3. Lamport, L. & Melliar-Smith, M. Byzantine Clock Synchronization. Proc. of the 3rd Ann. ACM Symposium on Principles of Distributed Computing (PODC 1984), 68–74 (ACM Press, New York, 1984). 4. Lamport, L. & Melliar-Smith, M. Synchronizing clocks in the presence of faults. J. ACM 32, 52–78 (1985). 5. Lamport, L., Shostak, R. & Pease, M. The Byzantine generals problem. ACM Trans. Programming Languages and Syst. 4, 382–401 (1982). 6. Fitzi, M., Garay, J. A., Maurer, U. & Ostrovsky, R. Minimal complete primitives for unconditional multi-party computation. Advances in Cryptography - CRYPTO ’01, Lecture Notes in Computer Science 2139, 80–100 (Springer, Berlin, 2001). 7. Fitzi, M., Gisin, N. & Maurer, U. A quantum solution to the Byzantine agreement problem. Phys. Rev. Lett. 87, 217901 (2001). 8. Fitzi, M., Gottesman, D., Hirt, M., Holenstein, T. & Smith, A. Detectable Byzantine agreement secure against faulty majorities. 21th ACM Symposium on Principles of Distributed Computing (PODC 2002), 118–126 (ACM Press, New York, 2002). 9. Cabello, A. N-particle N-level singlet states: Some properties and applications. Phys. Rev. Lett. 89, 100402 (2002). 10. Cabello, A. Solving the liar detection problem using the four-qubit singlet state. Phys. Rev. A 68, 012304 (2003). 11. Gaertner, S., Bourennane, M., Kurtsiefer, C., Cabello, A. & Weinfurter, H. Experimental demonstration of a quantum protocol for Byzantine Agreement and Liar Detection. Phys. Rev. Lett. 100, 070504 (2008). 12. Iblisdir, S. & Gisin, N. Byzantine agreement with two quantum key distribution setups. Phys. Rev. A 70, 034306 (2005). 13. Schmid, C., Trojek, P., Bourennane, M., Kurtsiefer, C., Z ˙ukowski, M. & Weinfurter, H. Experimental single qubit quantum secret sharing. Phys. Rev. Lett. 95, 230505 (2005). 14. Trojek, P., Schmid, C., Bourennane, M., Brukner, C ˇ., Z ˙ukowski, M. & Weinfurter, H. Experimental quantum communication complexity. Phys. Rev. A 72, 050305 (2005). 15. Z ˙ukowski, M., Zeilinger, A. & Horne, M. A. Realizable higher-dimensional twoparticle entanglements via multiport beam splitters. Phys. Rev. A 55, 2564 (1997). 16. Marcikic, I., de Riedmatten, H., Tittel, W., Scarani, V., Zbinden, H. & Gisin, N. Time-bin entangled qubits for quantum communication created by femtosecond pulses. Phys. Rev. A 66, 062308 (2002). 17. Bennett, C. H. & Brassard, G. Proceedings of the International Conference on Computers, Systems and Signal Processing, Bangalore, 1984, 175–179 (1984). 18. Cerf, N. J., Bourennane, M., Karlsson, A. & Gisin, N. Security of quantum key distribution using d-level systems. Phys. Rev. Lett. 88, 127902 (2002). 19. Cabello, A., D’Ambrosio, V., Nagali, E. & Sciarrino, F. Hybrid ququart-encoded quantum cryptography protected by Kochen-Specker contextuality. Phys. Rev. A 84, 030302(R) (2011). 20. Svozil, K. Three criteria for quantum random-number generators based on beam splitters. Phys. Rev. A 79, 054306 (2009). 21. Um, M. et al. Experimental certification of random numbers via quantum contextuality. Sci. Rep. 3, 1627 (2013). Acknowledgments This project was supported by the Swedish Research Council, ADOPT, the Project No. FIS2011-29400 (MINECO, Spain) with FEDER funds, the FQXi large grant project ‘‘The Nature of Information in Sequential Quantum Measurements,’’ MNiSW Grant No. IdP2011 000361 (Ideas Plus) and Foundation for Polish Science TEAM project co-financed by the EU European Regional Development Fund. Author contributions A.C., M.Z. and M.B. proposed and initiated the project. A.T. performed the analysis and the extension for n parties. All authors discussed the results, agreed on the conclusions, and wrote the manuscript. Additional information Competing financial interests: The authors declare no competing financial interests. How to cite this article: Tavakoli, A., Cabello, A., Z ˙ukowski, M. & Bourennane, M. Quantum Clock Synchronization with a Single Qudit. Sci. Rep. 5, 7982; DOI:10.1038/ srep07982 (2015). This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder in order to reproduce the material.To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ www.nature.com/scientificreports SCIENTIFIC REPORTS | 5 : 7982 | DOI: 10.1038/srep07982 4