Experimental measurement of Hilbert-Schmidt distance between two-qubit states as means for speeding-up machine learning
Vojt\v{e}ch Tr\'avn\'i\v{c}ek, Karol Bartkiewicz, Anton\'in, \v{C}ernoch, Karel Lemr

TL;DR
This paper experimentally measures the Hilbert-Schmidt distance between two-qubit states using many-particle interference, offering a simpler alternative to density matrix reconstruction for quantum machine learning applications.
Contribution
It introduces a three-step method for measuring distances in Hilbert space that reduces complexity and can be applied to quantum-enhanced machine learning and quantum artificial intelligence.
Findings
The method is less complex than density matrix reconstruction.
It enables efficient distance measurement for quantum machine learning.
Demonstrates the utility of mixed states in quantum information processing.
Abstract
We report on experimental measurement of the Hilbert-Schmidt distance between two two-qubit states by many-particle interference. We demonstrate that our three-step method for measuring distances in Hilbert space is far less complex than reconstructing density matrices and that it can be applied in quantum-enhanced machine learning to reduce the complexity of calculating Euclidean distances between multidimensional points, which can be especially interesting for near term quantum technologies and quantum artificial intelligence research. Our results are also a novel example of applying mixed states in quantum information processing. Usually working with mixed states is undesired, but here it gives the possibility of encoding extra information as coherence between given two dimensions of the density matrix.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Experimental measurement of Hilbert-Schmidt distance between two-qubit states as means for speeding-up machine learning
Vojtěch Trávniček
RCPTM, Joint Laboratory of Optics of Palacký University and Institute of Physics of Czech Academy of Sciences, 17. listopadu 12, 771 46 Olomouc, Czech Republic
Karol Bartkiewicz
RCPTM, Joint Laboratory of Optics of Palacký University and Institute of Physics of Czech Academy of Sciences, 17. listopadu 12, 771 46 Olomouc, Czech Republic
Faculty of Physics, Adam Mickiewicz University, PL-61-614 Poznań, Poland
Antonín Černoch
Institute of Physics of the Czech Academy of Sciences, Joint Laboratory of Optics of PU and IP AS CR, 17. listopadu 50A, 772 07 Olomouc, Czech Republic
Karel Lemr
RCPTM, Joint Laboratory of Optics of Palacký University and Institute of Physics of Czech Academy of Sciences, 17. listopadu 12, 771 46 Olomouc, Czech Republic
Abstract
We report on experimental measurement of the Hilbert-Schmidt distance between two two-qubit states by many-particle interference. We demonstrate that our three-step method for measuring distances in Hilbert space is far less complex than reconstructing density matrices and that it can be applied in quantum-enhanced machine learning to reduce the complexity of calculating Euclidean distances between multidimensional points, which can be especially interesting for near term quantum technologies and quantum artificial intelligence research. Our results are also a novel example of applying mixed states in quantum information processing. Usually working with mixed states is undesired, but here it gives the possibility of encoding extra information as coherence between given two dimensions of the density matrix.
Introduction.
Quantum information protocols such as teleportation Marcikic et al. (2004); Ma et al. (2012) and cryptography Benett and Brassard (1984); Ekert (1991); Renes (2005) established in the field of quantum information processing Alber et al. (2001); Bowmeester et al. (2000) have a significant impact on modern communications Benett et al. (1992); Ralph (1999); Croal et al. (2016). In fact, early quantum communications networks based on quantum teleportation have already been reported Pirandola et al. (2015); van Loock and Braunstein (2000); Castelvecchi (2018) and experimentally realized Yonezawa et al. (2004). Their physically guaranteed security Zurek and Wooters (1982) and potential for scalability makes them a preferable choice for future communications networks. In quantum communications the quality of a transmission channel is crucial. It is due to security reasons, where imperfections of the communication channel lead to signal degradation known as noise. This noise can be subsequently exploited by a potential eavesdroppers Bartkiewicz et al. (2013a, 2017a). Therefore, tools for diagnostics of the transmission channels are in demand. In quantum communications theory one can quantify the accuracy of a signal transmission by measuring the distance in Hilbert space between the transmitted and received states. The most prominent distance measures include Uhlmann-Jozsa fidelity (Bures metrics), trace distance, and Hilbert-Schmidt distance (HSD) (for overviews see, e.g., Bengtsson and Życzkowski (2017); Dajka et al. (2011); Bartkiewicz et al. (2019)).
These distance measures are also essential for a field of quantum machine learning. Where a common method for a classification algorithms (e.g. k-means) is to perform a distance measurement among sample vectors of dimension . This procedure is a core subroutine for other machine learning algorithms, e.g., supervised and unsupervised nearest-neighbor algorithm. It has been already demonstrated that by using quantum resources one can reduce the complexity of the algorithm from to Lloyd et al. (2013); Cai et al. (2015); Biamonte et al. (2017). Here, we demonstrate that by measuring the distance in terms of HSD we obtain the complexity of the distance-measuring algorithm to by using a different approach than in Ref. Lloyd et al. (2013). The HSD is defined as
[TABLE]
where and are the density matrices representing the two quantum in general mixed states. The HSD is a Riemannian metrics, which makes it appropriate for applying in machine learning problems. Moreover, in contrast to trace distance, HSD is non-increasing under decoherence Bengtsson and Życzkowski (2017); Dajka et al. (2011). For simplicity, let us explain how to implement the k-means algorithm for finding 2 clusters of 3D points enclosed in a cube using qubits. A density matrix for a qubit can be expressed via Pauli matrices and the identity matrix as . Let use this kind of matrix to encode a data point for and The task is to assign different -dimensional data points (here ) to -clusters (let us set clusters) with sample reference vectors and A data point is classified to the closest cluster. It turns that by a proper choice of mapping between vectors and density matrices, we can ensure that Euclidean distance and HSD are equal up to a constant factor. Thus, by assigning data points to a cluster corresponding to the nearest reference vector, depending on the distribution of we can end up with two clearly separable clusters as shown in Fig. 1. In the next step of the k-means algorithm, new positions of centers of clusters are found as mean positions of points belonging to a given cluster. The classification process is repeated. If points were not change their assigned clusters, the algorithm is terminated. Note that the same applies to larger systems, e.g., for a 15-dimensional (in Hilbet-Schmidt space) physically-accessible Bloch ball (or the inscribed hypercube if the components of need to represent data from a segment where is the size of the hypercube) the corresponding state is given as where For -dimensional Hilbert space a density matrix contains independent parameters given as vector and as many generalized Pauli operators [i.e, traceless generators of ], where . This fact makes the complete quantum state tomography a very challenging problem as it requires an exponentially large number of measurements in relation to the number of qubits constituing the composite system (see, e.g., Paris and Řeháček (2004); Miranowicz et al. (2014); Bartkiewicz et al. (2016)). However, this otherwise problematic feature also opens a new possibility to encode parameters in a -dimensional density matrix (i.e., Hilbert-Schmidt space). Once this is done for states a constant number of times, each distance can be measured in only steps. This is because the HSD can be expressed by first-order overlaps as described in Ref. Bartkiewicz et al. (2019); Zhang et al. (2017); Filip (2002)
[TABLE]
where the there directly measured observables are defined as If we measure purity as discussed, e.g., in Refs. Bovino et al. (2005); Bartkiewicz et al. (2013b); Lemr et al. (2016). Each overlap or other functions of overlaps can be measured directly by utilizing multi-particle interactions between copies of the investigated states Ekert et al. (2002); M. Alves and Jaksch (2004); Brun (2004); Jeong et al. (2014); Bartkiewicz et al. (2013b, 2017b); Islam et al. (2015); Zhang et al. (2017); Bartkiewicz et al. (2019). In contrast by applying full quantum tomography (see, e.g., Paris and Řeháček (2004)) measurements are required to calculate the value of HSD. For technical reasons we measure each overlap by utilizing positive-valued measures (POVMs). For this amounts to POVMs for obtaining a single value of in contrast to measurements needed in case of applying quantum state tomography ( if two copies of a sate are used in parallel). This discrepancy can become even grater in case of larger values of The number of the required observables to measure in each of the steps for a multi-qubit overlap depends linearly on the number of qubits forming the density matrix, i.e., as (see, e.g., Refs. Jeong et al. (2014); M. Alves and Jaksch (2004); Islam et al. (2015); Zhang et al. (2017)). Thus, the complexity of the distance measurement is .
Experimental setup.
Let us demonstrate the measurement of HSD with an linear-optical experiment with photons as information carriers. Here, the HSD is measured for two-qubit states by simultaneous interaction between 4 qubits. A usual approach uses 4 photons of only one degree of freedom (DOF) such as polarization (see, e.g., Ref. Zhang et al. (2017)). Here we utilize two DOFs (polarization and spatial) to encode two qubits, therefore, only two photons were needed. This way one achieves much higher detection rates which makes the experiment considerably faster. A horizontally polarized photon (i.e., subsystem ) encodes the logical state , a vertically-polarized photon state . Similarly, its spatial modes and encode logical state and , modes and logical state and (see scheme in Fig. 3).
The two photons are generated in a crystal cascade (known as the Kwiat source Kwiat et al. (1999)) pumped by pulsed Paladine (Coherent) laser at = with of mean optical power and repetition rate of . The source consists of two BBO (-BaB2O4) crystals and generates polarization–entangled photon pairs at = , i.e., In this state, and stand for horizontal and vertical polarizations. The rates and mutual phase shift between horizontally and vertically polarized photons can be tuned by adjusting the pump beam polarization or by tilting one of the beam displacers ( or in Fig. 3). By doing so one can prepare states with various amount of entanglement. Each photon from the generated pair is coupled into a single–mode optical fiber and brought to one input port of the experimental setup depicted in Fig. 3. The photons then pass through beam displacers where the initial polarization encoding is transformed into spatial encoding. Afterwards the photons interact on the polarizing beam splitter (PBS) where a second, in principle different, quantum state is encoded into polarization DOF. As a result, two, in principle different, two-qubit states are encoded into the two DOFs. The two states are then subjected to projective measurements as discussed below and accompanied by post-selection. The photons are filtered by interference filters, coupled into single–mode optical fibers and brought to single-photon detectors. Motorized translation M ensures temporal overlap of the photons on PBS. To demonstrate versatility of this approach, we have measured the HSD between Bell states, 4 separable states, Werner states, and between Werner and Horodecki states.
To measure the HSD between any two states () the first-order overlap has to be measured in three configurations, i.e., , and . The first two configurations correspond to the situation when () is encoded into both DOFs. During the last configuration and are encoded each in one DOF. Measurement of each first-order overlap is split into a measurement of 4 POVMs on each photon across its DOFs, i.e., and The POVMs are identity () and singlet () projections that were implemented by suitable rotation of HWPs behind the PBS. For example the POVM consists of all combinations of local projections, i.e., , while the consists of projections and . Both these POVMs can be implemented in a single step, but in this experiment they were implemented as a series of Von-Neumann projections. The coincidence rates corresponding to specific POVMs are labeled , where where and are associated with photon A and B, respectively. These values are obtained by summing up the coincidence rates associated with respective Von-Neumann projections. The mean value of the overlap operators relates to these rates as
[TABLE]
Note that POVMs associated with measures photon rate and is needed for normalization. In case of a stable photon source and know setup parameters this value is constant and state-independent. The same is true for POVMs and separately.
Experimental results.
First, we have measured the distances between Bell states and . Encoding of the states into the DOFs was implemented by a suitable choice of pump beam polarization, rotation of the HWPs and by tilting one of the beam displacers (). We have decided to plot second power of the HSD denoted so it is linear in terms of the physically measured quantities. The obtained experimental and theoretically calculated values of the second power of HSD between Bell states are shown in Fig. 4a. Next, we have measured the HSD between separable states , , and and visualized the obtained values of in Fig. 4b.
In the third part of the experiment, we have calculated the values of between Werner states which up to a local unitary transformation can be expressed in a form of a weighted sum of maximally entangled and maximally mixed state
[TABLE]
In case of the mixed state, the outcome of each Von-Neumann projection was obtained by accumulating coincidence rates associated with 4 Bell states, i.e., making use of the identity Subsequently, we have calculated the between Werner states for various values of the weight parameter . The results are visualized in Fig. 5a. Finally, we have calculated the between Werner and Horodecki states. Horodecki states can be expressed in form of a weighted sum of maximally entangled and separable state
[TABLE]
Therefore, we had to measure the overlap between states () and encoded in polarization and spatial mode respectively. Rest of the necessary overlaps were calculated in the same way as explained above. The values of between Werner and Horodecki states for various weight parameters and are visualized in Fig. 5b.
Conclusions.
We have reported on experimental measurement of the Hilbert-Schmidt distance between two-qubit states by the method of many-particle interference. This method allows to measure HSD between two two-qubit density matrices by performing overlap measurements ( POVMs per overlap) instead of measurements required to reconstruct two two-qubit mixed states. The obtained results are in good agreement with theoretical predictions. To demonstrate the versatility of our approach we measured HSD between assorted two-qubit states. The HSDs between identical Bell states are sufficiently close to theoretical values. On the other hand, distances between orthogonal Bell states do not deviate from theoretical values by more then 15%. This error is partially caused by the linearization of the Eq (1). We have obtained similar results for the separable states, however, the deviation from theoretical prediction is not as high due to lower complexity of the states. We have also interpolated the HSDs between Werner states and between Werner and Horodecki states for various values of the weight parameters. The results are in good agreement with theoretical values represented by the contours in Fig. 5. We believe that these results can motivate subsequent research on the topic of quantum channel characterization and quantum machine learning. Especially in the latter, measuring distances between multidimensional points efficiently can reduce the computational complexity of supervised and unsupervised machine learning. Thus, our results can be inspiring for near term quantum technologies which would exhibit speedup in comparison to the best currently known classical solutions. Our results are also a novel example of applying mixed states for quantum information processing. Usually working with mixed states is undesired, but here it gives the possibility of encoding extra information in coherence between given two dimensions of density matrix.
Acknowledgements.
Acknowledgements.
Authors thank Cesnet for providing data management services. Authors acknowledge financial support by the Czech Science Foundation under the project No. 19-19002S. The authors also acknowledge the projects Nos. LO1305 and CZ.02.1.01./0.0/0.0/16_019/0000754 of the Ministry of Education, Youth and Sports of the Czech Republic financing the infrastructure of their workplace and VT also acknowledges the Palacky University internal grant No. IGA-PrF-2019-008.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Marcikic et al. (2004) I. Marcikic, H. de Riedmatten, W. Tittel, H. Zbinden, M. Legré, and N. Gisin, “Distribution of Time-Bin Entangled Qubits over 50 km of Optical Fiber,” Phys. Rev. Lett. 93 , 180502 (2004) . · doi ↗
- 2Ma et al. (2012) X.-S. Ma, T. Herbst, T. Scheidl, D. Wang, S. Kropatschek, W. Naylor, B. Wittmann, A. Mech, J. Kofler, E. Anisimova, V. Makarov, T. Jennewein, R. Ursin, and A. Zeilinger, “Quantum teleportation over 143 kilometres using active feed-forward,” Nature (London) 489 , 269 (2012) . · doi ↗
- 3Benett and Brassard (1984) C. H. Benett and G. Brassard, “Quantum Cryptography: Public key distribution and coin tossing,” in IEEE International Conference on Computers, Systems, and Signal Processing (1984) p. 175.
- 4Ekert (1991) A. K. Ekert, “Quantum cryptography based on Bell’s theorem,” Phys. Rev. Lett. 67 , 661 (1991) . · doi ↗
- 5Renes (2005) J. M. Renes, “Equiangular spherical codes in quantum cryptography,” Quantum Inf. Comput. 5 , 81 (2005) .
- 6Alber et al. (2001) G. Alber, T. Beth, M. Horodecki, P. Horodecki, R. Horodecki, M. Rötteler, H. Weinfurter, R. Werner, and A. Zeilinger, Quantum Information (Springer, Berlin, 2001). · doi ↗
- 7Bowmeester et al. (2000) D. Bowmeester, A. K. Ekert, and A. Zeilinger, The Physics of Quantum Information (Springer, Berlin, 2000).
- 8Benett et al. (1992) C.H. Benett, F. Bessette, G. Brassard, L. Salvail, and J. Smolin, “Experimental Quantum Cryptography,” J. Cryptol. 5 , 3 (1992).
