Advantages of quantum support vector machine in cross-domain classification of quantum states

Diksha Sharma1 [email protected]    Vivek Balasaheb Sabale1 [email protected]    Parvinder Singh2 [email protected]    Atul Kumar1 [email protected] 1 Indian Institute of Technology Jodhpur, 342030, India 2Central University of Punjab Bathinda, Punjab-151001, India
(June 30, 2024)
Abstract

In this study, we use cross-domain classification using quantum machine learning for quantum advantages to address the entanglement versus separability paradigm. We further demonstrate the efficient classification of Bell diagonal states into zero and non-zero discord classes. The inherited structure of quantum states and its relation with a particular class of quantum states are exploited to intuitively approach the classification of different domain testing states, referred here as cross-domain classification. In addition, we extend our analysis to evaluate the robustness of our model for the analyzed problem using random unitary transformations. Using numerical analysis, our results clearly demonstrate the potential of QSVM for classifying quantum states across the multi-dimensional Hilbert space.

Quantum Machine Learning, Entanglement classification, Cross-domain classification, Support Vector Machine, Quantum Kernel methods
preprint: APS/123-QED

I Introduction

The entangled quantum states are known for the non-local correlations, defying the notion of classical mechanics confined by locality, and serve as the foundational block in quantum protocols like teleportation [1, 2, 3, 4], dense coding [5, 6], and secure key distribution [7, 8]. Apart from the quantum protocols, entangled states are also utilized in quantum networking [9, 10], quantum machine learning (QML) [11, 12, 13], quantum finance [14, 15, 16], and variational quantum eigensolvers (VQE) [17, 18, 19].

In general, quantum states are categorized or classified into entangled and separable classes. With enlarging quantum system size, the potential classes for quantum state classification also increase. For example, bipartite or two-qubit quantum states are typically classified into two potential classes, while this classification expands to five classes for the three-qubit scenario. Therefore, despite being a crucial and advantageous property of quantum computing, entanglement detection, identification, and classification tasks are extremely hard with the increasing number of sub-systems or qubits in the context of quantum information.

To address the entanglement versus separability paradigm, entanglement classification is approached by machine learning algorithms as a pattern recognition task. In one such attempt, Harney et al. demonstrated the use of artificial neural networks and reinforcement learning to classify multi-qubit pure quantum states [20]. Asif et al. also demonstrated the use of artificial neural network with multiple Bell-type inequalities for relative entropy of coherence for detecting quantum states as separable or entangled states [21]. In addition to artificial neural networks for the entanglement classification, [22] used support vector machine learning algorithms and entanglement witness operators to facilitate the classification of four-qubit arbitrary pure states. In [23], authors show the efficacy of machine learning tools with bagging-based models to design an entanglement classifier using a convex hull of separable states. Moreover, the model also employs prior knowledge about the states, which further assists in classifying the states as separable or entangled. For an effective classification, machine learning algorithms require a large dataset for training and subsequently use a subset of the original dataset for testing. As the number of qubits increases in a quantum state, the dimensions of the density matrix- representing the features- increase exponentially, in accordance with the associated Hilbert space. For example, a density operator representing an n𝑛nitalic_n-qubit quantum state is associated with 2nsuperscript2𝑛2^{n}2 start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT basis states and 2n×2nsuperscript2𝑛superscript2𝑛2^{n}\times 2^{n}2 start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT × 2 start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT features in the realms of classical machine learning. Evidently, to accurately classify the test states, classical machine learning algorithms require a large dataset spanning a complete vector or Hilbert space, consequently increasing the computational training time with increasing size of the system or increasing number of qubits.

Refer to caption
(a) A. Visualization of the Werner type states
Refer to caption
(b) B. Randomly generated Bell diagonal states
Figure 1: Geometrical representation of training and testing two-qubit Werner states; the four corners represent Bell states such that (-1,-1,-1), (-1,1,1), (1,-1,1), and (1,1,-1) represent |ψketsubscript𝜓\ket{\psi_{-}}| start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩, |ϕketsubscriptitalic-ϕ\ket{\phi_{-}}| start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩, |ϕ+ketsubscriptitalic-ϕ\ket{\phi_{+}}| start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩, and |ψ+ketsubscript𝜓\ket{\psi_{+}}| start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩, respectively. A) The line joining from the center to the vertex represents one of the Werner states, and the part of the line confined in the octahedron depicts a separable class of quantum states. B) the octahedron confined in a tetrahedron contains all separable Bell diagonal states, and the inside edges (red and green lines) show zero discord states. Other than these, all states are non-zero discord states.

In this article, we readdress the entanglement versus separability paradigm using quantum machine learning algorithms and cross-domain classification where, as per the conventional methods, the realms of testing and training datasets are always different [24, 25]. For this, we use one set of states as a training set in a specific Hilbert space to effectively classify a different set of quantum states in a different Hilbert space- cross-domain classification. Our approach uses the inherent mathematical structure of quantum states as the basis for the optimal classification. Considering that we train the algorithm on one set of states only and classify different types of states, our analysis further facilitates reducing the size of training set. Our algorithm further exploits the essence of similar entanglement and separability properties of testing and training states, which conventional machine learning methods do not recognize otherwise.

To understand this, let us consider a density matrix constructed by map** the values xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT using a function f(xi)𝑓subscript𝑥𝑖f(x_{i})italic_f ( italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ), where xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT can be thought of as polarization vector or correlation matrix elements. The resultant density matrix can be used for the machine learning algorithm, where elements of the matrix are features. Depending on the values of xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, different matrices can be generated for training and testing. Considering the inherent mathematical structure in quantum states, the trained localized model on a certain interval range must be able to make predictions for entire ranges of xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. In addition, the algorithm should be capable of identifying the inherent map** and its connection with a given class. For example, the class of Bell diagonal states [26] depends on values of correlation matrix elements (see Eq.(11))- the visualization of Bell diagonal states can be attempted by plotting correlation elements. For our purpose, by restricting the range of correlation matrix elements to half instead of the entire range from 1 to -1, we generate and demonstrate the data for cross-domain learning in Fig. 1. We use the mathematical structure and properties of these states to identify entanglement and nonclassical correlations in different classes of mixed states through cross-domain classification.

Using the above strategy, we demonstrate a quantum machine learning algorithm, in particular, a quantum support vector machine (QSVM) using a fully entangled ZZ+UC-gates-based circuit [13], that employs the benefits of recognizing patterns in quantum states more readily than classical machine learning algorithms. We first utilize the model for classifying two-qubit mixed states into separable and entangled classes and then present the analysis for training the QSVM on one type of Werner states (ρ|ψ)subscript𝜌ketsubscript𝜓(\rho_{\ket{\psi_{-}}})( italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT ) and subsequently test the trained model with another type of Werner states (ρ|ψ+),(ρ|ϕ)subscript𝜌ketsubscript𝜓subscript𝜌ketsubscriptitalic-ϕ(\rho_{\ket{\psi_{+}}}),(\rho_{\ket{\phi_{-}}})( italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT ) , ( italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT ) and (ρ|ϕ+)subscript𝜌ketsubscriptitalic-ϕ(\rho_{\ket{\phi_{+}}})( italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT ) [27]. Clearly, the test set belongs to one part of the Hilbert state and the testing set belongs to completely different part of the Hilbert space as demonstrated in Fig. 1. For a detailed analysis, we further use the our trained model to classify Horodecki and maximally entangled mixed states (MEMS) [28, 29, 30, 31]. Our results demonstrate that the model can accurately predict testing states with a significant prediction probability difference between the separable and entangled states. We also evaluate our algorithm based on different evaluation metrics, i.e., accuracy, precision, recall, and F1-score, and show that the model performs exceedingly well on all evaluation criteria. In addition, we thoroughly evaluate our model by performing random unitary operations on Werner states to understand its robustness and observe similar performance. For analyzing the nonclassical correlations, we further analyze the proposed QSVM model in identifying the zero and noon-zero discord states with a high success probability. Our model detects quantum correlations in different types of Werner states and classifies them as non-zero or zero discord states with outstanding accuracy. For a comparative analysis, we evaluate the CSVM and artificial neural network with the same strategies and observe that for cross-domain classification, the classical models predict each state of the testing set as separable states.

II Preliminaries

In this section, we present a brief overview of necessary concepts such as entanglement and quantum correlation measures for identifying the entangled and separable classes. The section also gives an introduction to the quantum machine learning algorithm, QSVM, used in this study.

II.1 Entanglement and quantum correlation measures

One of the most fundamental and promising quantifiers of the degree of entanglement in two-qubit systems is concurrence [32]. The concurrence of a two-qubit quantum state ρ𝜌\rhoitalic_ρ is defined as:

C(ρ)=max{0,λ1λ2λ3λ4},𝐶𝜌𝑚𝑎𝑥0subscript𝜆1subscript𝜆2subscript𝜆3subscript𝜆4C(\rho)=max\{0,\lambda_{1}-\lambda_{2}-\lambda_{3}-\lambda_{4}\},italic_C ( italic_ρ ) = italic_m italic_a italic_x { 0 , italic_λ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT - italic_λ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT - italic_λ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT - italic_λ start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } , (1)

where λissuperscriptsubscript𝜆𝑖𝑠\lambda_{i}^{\prime}sitalic_λ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_s are square roots of eigenvalues of the matrix ρρ~𝜌~𝜌\rho\tilde{\rho}italic_ρ over~ start_ARG italic_ρ end_ARG such that ρ~=(σyσy)ρ(σyσy)~𝜌tensor-productsubscript𝜎𝑦subscript𝜎𝑦superscript𝜌tensor-productsubscript𝜎𝑦subscript𝜎𝑦\tilde{\rho}=(\sigma_{y}\otimes\sigma_{y})\rho^{*}(\sigma_{y}\otimes\sigma_{y})over~ start_ARG italic_ρ end_ARG = ( italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ⊗ italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ) italic_ρ start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ( italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ⊗ italic_σ start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT ), and ρsuperscript𝜌\rho^{*}italic_ρ start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is complex conjugate of the state ρ𝜌\rhoitalic_ρ. Similarly, geometrical discord- a signature of quantumness of correlations- can be used to detect nonclassical correlations in two-qubit states [33]. For a general two-qubit state represented as

ρ=14(II+i=13aiσiI+j=13bjIσj+i,j=13tijσiσj),𝜌14tensor-product𝐼𝐼superscriptsubscript𝑖13tensor-productsubscript𝑎𝑖subscript𝜎𝑖𝐼superscriptsubscript𝑗13tensor-productsubscript𝑏𝑗𝐼subscript𝜎𝑗superscriptsubscript𝑖𝑗13tensor-productsubscript𝑡𝑖𝑗subscript𝜎𝑖subscript𝜎𝑗\rho=\frac{1}{4}(I\otimes I+\sum_{i=1}^{3}a_{i}\sigma_{i}\otimes I+\sum_{j=1}^% {3}b_{j}I\otimes\sigma_{j}+\sum_{i,j=1}^{3}t_{ij}\sigma_{i}\otimes\sigma_{j}),italic_ρ = divide start_ARG 1 end_ARG start_ARG 4 end_ARG ( italic_I ⊗ italic_I + ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⊗ italic_I + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_I ⊗ italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_i , italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⊗ italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) , (2)

where ai=tr(ρ(σiI))subscript𝑎𝑖𝑡𝑟𝜌tensor-productsubscript𝜎𝑖𝐼a_{i}=tr(\rho(\sigma_{i}\otimes I))italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_t italic_r ( italic_ρ ( italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⊗ italic_I ) ) and bj=tr(ρ(Iσj))subscript𝑏𝑗𝑡𝑟𝜌tensor-product𝐼subscript𝜎𝑗b_{j}=tr(\rho(I\otimes\sigma_{j}))italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_t italic_r ( italic_ρ ( italic_I ⊗ italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ) are individual polarization vectors and tij=tr(ρ(σiσj))subscript𝑡𝑖𝑗𝑡𝑟𝜌tensor-productsubscript𝜎𝑖subscript𝜎𝑗t_{ij}=tr(\rho(\sigma_{i}\otimes\sigma_{j}))italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = italic_t italic_r ( italic_ρ ( italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⊗ italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ) are elements of a correlation matrix, the geometrical discord is defined as

DG(ρ)=14(a2+Tλmax),subscript𝐷𝐺𝜌14superscriptnorm𝑎2norm𝑇subscript𝜆𝑚𝑎𝑥D_{G}(\rho)=\frac{1}{4}(||\vec{a}||^{2}+||T||-\lambda_{max}),italic_D start_POSTSUBSCRIPT italic_G end_POSTSUBSCRIPT ( italic_ρ ) = divide start_ARG 1 end_ARG start_ARG 4 end_ARG ( | | over→ start_ARG italic_a end_ARG | | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + | | italic_T | | - italic_λ start_POSTSUBSCRIPT italic_m italic_a italic_x end_POSTSUBSCRIPT ) , (3)

Here a𝑎\vec{a}over→ start_ARG italic_a end_ARG is a column vector whose elements are aisubscript𝑎𝑖a_{i}italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, T𝑇Titalic_T is correlation matrix with tijsubscript𝑡𝑖𝑗t_{ij}italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT as elements, and λmaxsubscript𝜆𝑚𝑎𝑥\lambda_{max}italic_λ start_POSTSUBSCRIPT italic_m italic_a italic_x end_POSTSUBSCRIPT is a largest eigenvalue of matrix k=aaT+TTT𝑘𝑎superscript𝑎𝑇𝑇superscript𝑇𝑇k=\vec{a}\vec{a}^{T}+TT^{T}italic_k = over→ start_ARG italic_a end_ARG over→ start_ARG italic_a end_ARG start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT + italic_T italic_T start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT. For the case of Bell diagonal states, this expression gets simplified to

DG(ρBD)=14(t112+t222+t332max{t112,t222,t332}).subscript𝐷𝐺subscript𝜌𝐵𝐷14superscriptsubscript𝑡112superscriptsubscript𝑡222superscriptsubscript𝑡332superscriptsubscript𝑡112superscriptsubscript𝑡222superscriptsubscript𝑡332D_{G}(\rho_{BD})=\frac{1}{4}(t_{11}^{2}+t_{22}^{2}+t_{33}^{2}-\max{\{t_{11}^{2% },t_{22}^{2},t_{33}^{2}\}}).italic_D start_POSTSUBSCRIPT italic_G end_POSTSUBSCRIPT ( italic_ρ start_POSTSUBSCRIPT italic_B italic_D end_POSTSUBSCRIPT ) = divide start_ARG 1 end_ARG start_ARG 4 end_ARG ( italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - roman_max { italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT } ) . (4)

II.2 Quantum Support Vector Machine

Quantum support vector machine is a mathematical variant of a classical support vector machine that embodies a hybrid quantum-classical approach. The classical support vector machine is based on a quadratic constrained problem, where the algorithm tries to maximize the distance between the hyperplane, drawn on the edges of different datasets belonging to different classes, while satisfying the constraints [34], given as

L=min(12w2)(i=1dyiαiK(xi,xj)+b),𝐿𝑚𝑖𝑛12superscriptnorm𝑤2superscriptsubscript𝑖1𝑑subscript𝑦𝑖subscript𝛼𝑖𝐾subscript𝑥𝑖subscript𝑥𝑗𝑏L=min(\frac{1}{2}||w||^{2})-\left(\sum_{i=1}^{d}y_{i}\alpha_{i}K(\vec{x_{i}},% \vec{x_{j}})+b\right),italic_L = italic_m italic_i italic_n ( divide start_ARG 1 end_ARG start_ARG 2 end_ARG | | italic_w | | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) - ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_d end_POSTSUPERSCRIPT italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_K ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ) + italic_b ) , (5)

where xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the support vector, w𝑤witalic_w is normal to hyperplane, b𝑏bitalic_b is offset, yisubscript𝑦𝑖y_{i}italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the label of support vector which is yi{1,1}subscript𝑦𝑖11y_{i}\in\{-1,1\}italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ { - 1 , 1 } and K(xi,xj)𝐾subscript𝑥𝑖subscript𝑥𝑗K(\vec{x_{i}},\vec{x_{j}})italic_K ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ) is a kernel matrix in between two vectors. Classically, the kernel matrix is known as a Gram matrix, whose entries are computed using a dot product between a pair of vectors. Quantum mechanically, the kernel can be simply computed using the inner product or SWAP test [35] between two different quantum states [36] such that

K(xi,xj)=|ψxi|ψxj|2=tr(ρ(xi),ρ(xj)),𝐾subscript𝑥𝑖subscript𝑥𝑗superscriptinner-productsubscript𝜓subscript𝑥𝑖subscript𝜓subscript𝑥𝑗2𝑡𝑟subscript𝜌subscript𝑥𝑖subscript𝜌subscript𝑥𝑗K(\vec{x_{i}},\vec{x_{j}})=\absolutevalue{\bra{\psi_{\vec{x_{i}}}}\ket{\psi_{% \vec{x_{j}}}}}^{2}=tr(\rho_{(x_{i})},\rho_{(x_{j})}),italic_K ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ) = | start_ARG ⟨ start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG | start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG ⟩ end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = italic_t italic_r ( italic_ρ start_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) end_POSTSUBSCRIPT , italic_ρ start_POSTSUBSCRIPT ( italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) end_POSTSUBSCRIPT ) , (6)

where xi,xjsubscript𝑥𝑖subscript𝑥𝑗\vec{x_{i}},\vec{x_{j}}over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG , over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG \in dataset. To compute the SWAP test using a quantum circuit, |ψxi|ψxj|2superscriptinner-productsubscript𝜓subscript𝑥𝑖subscript𝜓subscript𝑥𝑗2\absolutevalue{\bra{\psi_{\vec{x_{i}}}}\ket{\psi_{\vec{x_{j}}}}}^{2}| start_ARG ⟨ start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG | start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG ⟩ end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT can be further defined as

|ψxi|ψxj|2=|0n|𝒰ψ(xi)𝒰ψ(xj)|0n|2.superscriptinner-productsubscript𝜓subscript𝑥𝑖subscript𝜓subscript𝑥𝑗2superscriptbrasuperscript0𝑛subscriptsuperscript𝒰𝜓subscript𝑥𝑖subscript𝒰𝜓subscript𝑥𝑗ketsuperscript0𝑛2\absolutevalue{\bra{\psi_{\vec{x_{i}}}}\ket{\psi_{\vec{x_{j}}}}}^{2}=% \absolutevalue{\bra{0^{n}}\mathcal{U}^{\dagger}_{\psi(\vec{x_{i}})}\mathcal{U}% _{\psi({\vec{x_{j}}})}\ket{0^{n}}}^{2}.| start_ARG ⟨ start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG | start_ARG italic_ψ start_POSTSUBSCRIPT over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG end_POSTSUBSCRIPT end_ARG ⟩ end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = | start_ARG ⟨ start_ARG 0 start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT end_ARG | caligraphic_U start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ψ ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) end_POSTSUBSCRIPT caligraphic_U start_POSTSUBSCRIPT italic_ψ ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ) end_POSTSUBSCRIPT | start_ARG 0 start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT end_ARG ⟩ end_ARG | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT . (7)

From Eq.(7), it becomes evident that kernel values can be feasibly computed using quantum circuits through the evolution of the initial state |0ket0\ket{0}| start_ARG 0 end_ARG ⟩ under the influence of a unitary operator 𝒰ψ(x)subscript𝒰𝜓𝑥\mathcal{U}_{\psi(x)}caligraphic_U start_POSTSUBSCRIPT italic_ψ ( italic_x ) end_POSTSUBSCRIPT and then finally measuring the state in the computational basis. In this study, we use fidelity quantum kernels [37]. Finally, the computed kernel value is passed to the classical support vector machine (CSVM) for classification.

III Framework

With the representation of Bell diagonal states [28, 26] as represented in Fig. 1- more specifically the Werner states- our intent is to test our algorithm on one type of the Werner states and subsequently test it on other types of Werner states, not used during the training. For a comprehensive cross-domain classification to assess the versatility of the trained algorithms on Werner-type states, we also analyze the entanglement versus separability problem in Horodecki, maximally entangled mixed states (MEMS), states generated using random unitary transformations. For the quantumness of correlations, we analyze our model for predicting nonclassical correlations present in the Bell diagonal states using geometric discord.

III.1 Generating dataset

We now proceed to use quantum machine learning to address the challenges of quantum state classification in two-qubit mixed states using cross-domain classification. In order to facilitate the discussions on the results obtained, in this section, we first describe the generation of generalized two-qubit quantum states with their corresponding labels. The dataset is generated using the generalized two-qubit density matrix, represented in Eq.(2), where aisubscript𝑎𝑖a_{i}italic_a start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and bjsubscript𝑏𝑗b_{j}italic_b start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT are individual polarization vectors and tijsubscript𝑡𝑖𝑗t_{ij}italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT are elements of a correlation matrix- varying the polarization vector and correlation matrix elements, the Werner, Horodecki, and MEMS states are generated.

For example, the class of Werner states are two-qubit mixed states of the following form

ρ|ψ=p|ψψ|+(1p)4I,subscript𝜌ket𝜓𝑝ket𝜓bra𝜓1𝑝4𝐼\rho_{\ket{\psi}}=p\ket{\psi}\bra{\psi}+\frac{(1-p)}{4}I,italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ end_ARG ⟩ end_POSTSUBSCRIPT = italic_p | start_ARG italic_ψ end_ARG ⟩ ⟨ start_ARG italic_ψ end_ARG | + divide start_ARG ( 1 - italic_p ) end_ARG start_ARG 4 end_ARG italic_I , (8)

where, |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ represents one of the Bell states given as |ψ±=12|00±|11ketsubscript𝜓plus-or-minusplus-or-minus12ket00ket11\ket{\psi_{\pm}}=\frac{1}{\sqrt{2}}\ket{00}\pm\ket{11}| start_ARG italic_ψ start_POSTSUBSCRIPT ± end_POSTSUBSCRIPT end_ARG ⟩ = divide start_ARG 1 end_ARG start_ARG square-root start_ARG 2 end_ARG end_ARG | start_ARG 00 end_ARG ⟩ ± | start_ARG 11 end_ARG ⟩ or |ϕ±=12|01±|10ketsubscriptitalic-ϕplus-or-minusplus-or-minus12ket01ket10\ket{\phi_{\pm}}=\frac{1}{\sqrt{2}}\ket{01}\pm\ket{10}| start_ARG italic_ϕ start_POSTSUBSCRIPT ± end_POSTSUBSCRIPT end_ARG ⟩ = divide start_ARG 1 end_ARG start_ARG square-root start_ARG 2 end_ARG end_ARG | start_ARG 01 end_ARG ⟩ ± | start_ARG 10 end_ARG ⟩ and p𝑝pitalic_p represents the probability. For p>13𝑝13p>\frac{1}{3}italic_p > divide start_ARG 1 end_ARG start_ARG 3 end_ARG, Werner states are entangled and for p13𝑝13p\leq\frac{1}{3}italic_p ≤ divide start_ARG 1 end_ARG start_ARG 3 end_ARG, Werner states are separable. The four types of Werner states are represented in Fig. 1A, where the straight lines, starting from the center of the cube and ending at the edge of the tetrahedron, represent a type of Werner state resulting from a particular Bell state. The states lying inside the octahedron belong to the separable class of Werner states, i.e., for p13𝑝13p\leq\frac{1}{3}italic_p ≤ divide start_ARG 1 end_ARG start_ARG 3 end_ARG.

The Horodecki class of states are entangled for p>0𝑝0p>0italic_p > 0, and are expressed as

ρH=p|ψψ|+(1p)|0000|,subscript𝜌𝐻𝑝ket𝜓bra𝜓1𝑝ket00bra00\rho_{H}=p\ket{\psi}\bra{\psi}+(1-p)\ket{00}\bra{00},italic_ρ start_POSTSUBSCRIPT italic_H end_POSTSUBSCRIPT = italic_p | start_ARG italic_ψ end_ARG ⟩ ⟨ start_ARG italic_ψ end_ARG | + ( 1 - italic_p ) | start_ARG 00 end_ARG ⟩ ⟨ start_ARG 00 end_ARG | , (9)

where, |ψket𝜓\ket{\psi}| start_ARG italic_ψ end_ARG ⟩ is one of the Bell states, and p𝑝pitalic_p represents probability. Similarly, the MEMS states are a mixture of Bell states and mixed diagonal states [30]. The form of MEMS is as follows

ρMEMS=(q+λ200λ20s0000t0λ200r+λ2),subscript𝜌𝑀𝐸𝑀𝑆matrix𝑞𝜆200𝜆20𝑠0000𝑡0𝜆200𝑟𝜆2\rho_{MEMS}=\begin{pmatrix}q+\frac{\lambda}{2}&0&0&\frac{\lambda}{2}\\ 0&s&0&0\\ 0&0&t&0\\ \frac{\lambda}{2}&0&0&r+\frac{\lambda}{2}\end{pmatrix},italic_ρ start_POSTSUBSCRIPT italic_M italic_E italic_M italic_S end_POSTSUBSCRIPT = ( start_ARG start_ROW start_CELL italic_q + divide start_ARG italic_λ end_ARG start_ARG 2 end_ARG end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL divide start_ARG italic_λ end_ARG start_ARG 2 end_ARG end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL italic_s end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL italic_t end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL divide start_ARG italic_λ end_ARG start_ARG 2 end_ARG end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL italic_r + divide start_ARG italic_λ end_ARG start_ARG 2 end_ARG end_CELL end_ROW end_ARG ) , (10)

where q, r, s,t and λ𝜆\lambdaitalic_λ are positive real state parameters and satisfy the condition (q + r + λ𝜆\lambdaitalic_λ + s + t)=1.

In order to characterize states as zero discord or non-zero discord states using our model in cross-domain classification regime, we further generate random Bell diagonal states of the form

ρBD=14(II+i=13tiiσiσi),subscript𝜌𝐵𝐷14tensor-product𝐼𝐼superscriptsubscript𝑖13tensor-productsubscript𝑡𝑖𝑖subscript𝜎𝑖subscript𝜎𝑖\rho_{BD}=\frac{1}{4}(I\otimes I+\sum_{i=1}^{3}t_{ii}\sigma_{i}\otimes\sigma_{% i}),italic_ρ start_POSTSUBSCRIPT italic_B italic_D end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG 4 end_ARG ( italic_I ⊗ italic_I + ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ⊗ italic_σ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) , (11)

where tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT ranges from -1 to 1. The density matrix being a positive operator, required necessary constraints on tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPTs, such that

1t11+t22+t331subscript𝑡11subscript𝑡22subscript𝑡33\displaystyle 1-t_{11}+t_{22}+t_{33}1 - italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT + italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT + italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT 0,absent0\displaystyle\geq 0,≥ 0 , 1+t11t22+t331subscript𝑡11subscript𝑡22subscript𝑡33\displaystyle 1+t_{11}-t_{22}+t_{33}1 + italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT - italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT + italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT 0,absent0\displaystyle\geq 0,≥ 0 ,
1+t11+t22t331subscript𝑡11subscript𝑡22subscript𝑡33\displaystyle 1+t_{11}+t_{22}-t_{33}1 + italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT + italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT - italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT 0,absent0\displaystyle\geq 0,≥ 0 , 1t11t22t331subscript𝑡11subscript𝑡22subscript𝑡33\displaystyle 1-t_{11}-t_{22}-t_{33}1 - italic_t start_POSTSUBSCRIPT 11 end_POSTSUBSCRIPT - italic_t start_POSTSUBSCRIPT 22 end_POSTSUBSCRIPT - italic_t start_POSTSUBSCRIPT 33 end_POSTSUBSCRIPT 0.absent0\displaystyle\geq 0.≥ 0 .

For classification, states with zero discord constitutes one of the classes and states with non-zero discord constitute the other class. We generate the cross-domain dataset by restricting the range of tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT from -1 to 0 for training purposes and from 0 to 1 for testing the dataset. Fig. 1B further demonstrates the difference in the domain of the generated training and testing dataset as discussed above.

III.2 Random unitary operations on generated dataset

For a comprehensive analysis to test the robustness of our model, we extend our approach by generating a collection of random unitary operators to map Werner states to their local unitary transformed forms. The generation of local unitary equivalents of Werner states is accomplished by applying a generalized unitary matrix, given as

U(θ)=(cos(θ)sin(θ)sin(θ)cos(θ)).𝑈𝜃matrix𝜃𝜃𝜃𝜃U(\theta)=\begin{pmatrix}\cos{\theta}&-\sin{\theta}\\ \sin{\theta}&\cos{\theta}\end{pmatrix}.italic_U ( italic_θ ) = ( start_ARG start_ROW start_CELL roman_cos ( start_ARG italic_θ end_ARG ) end_CELL start_CELL - roman_sin ( start_ARG italic_θ end_ARG ) end_CELL end_ROW start_ROW start_CELL roman_sin ( start_ARG italic_θ end_ARG ) end_CELL start_CELL roman_cos ( start_ARG italic_θ end_ARG ) end_CELL end_ROW end_ARG ) . (12)

To generate the required data for a two-qubit state, we consider a local unitary transformation using the tensor product (U(θ1)U(θ2)tensor-product𝑈subscript𝜃1𝑈subscript𝜃2U(\theta_{1})\otimes U(\theta_{2})italic_U ( italic_θ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ⊗ italic_U ( italic_θ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT )). The required range of theta is generated randomly using the Python random module from NumPy [38].

Refer to caption
Figure 2: A quantum circuit used in QSVM.
Refer to caption
Figure 3: A flow chart representing the in-domain method where we train the models (quantum and classical support vector machine) on 75% of the whole generated datasets and test on 25%.
Refer to caption
Figure 4: Comparison of quantum and classical support vector machine on all four evaluation metrics (accuracy, precision, recall, and F1-score) for super-set of a dataset containing Werner type states, Horodecki, and MEMS states.
Refer to caption
Figure 5: It demonstrates the cross-domain classification method where we train the QSVM on ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and test on ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, Horodecki and MEMS states.
Refer to caption
Figure 6: As per this method, we train the models on ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and test on unitary transformation of other states such as Uρ|ψ+U𝑈subscript𝜌ketsubscript𝜓superscript𝑈U\rho_{\ket{\psi_{+}}}U^{\dagger}italic_U italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT italic_U start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT,Uρ|ϕU𝑈subscript𝜌ketsubscriptitalic-ϕsuperscript𝑈U\rho_{\ket{\phi_{-}}}U^{\dagger}italic_U italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT italic_U start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT and Uρ|ϕ+U𝑈subscript𝜌ketsubscriptitalic-ϕsuperscript𝑈U\rho_{\ket{\phi_{+}}}U^{\dagger}italic_U italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT italic_U start_POSTSUPERSCRIPT † end_POSTSUPERSCRIPT and similarly for other combinations.

IV Analytical Results

In this section, we analyze the effects of utilizing the quantum support vector machine (using IBM quantum services [39]) in comparison to the classical support vector machine (using sklearn library [40]) for cross-domain classification of two-qubit mixed states. In the case of QSVM, we use a quantum circuit to compute the distance between quantum states. The mathematical form of the circuit is given as

𝒰ϕ(xi)=exp(j=0d1j=j+1d1ZjZjϕ(xj)ϕ(xj)+j=0d1UCjϕ(xj))subscript𝒰italic-ϕsubscript𝑥𝑖𝑒𝑥𝑝superscriptsubscript𝑗0𝑑1superscriptsubscriptsuperscript𝑗𝑗1𝑑1subscript𝑍𝑗subscript𝑍superscript𝑗italic-ϕsubscript𝑥𝑗italic-ϕsubscript𝑥superscript𝑗superscriptsubscript𝑗0𝑑1𝑈subscript𝐶𝑗italic-ϕsubscript𝑥𝑗\mathcal{U}_{\phi(\vec{x_{i}})}=exp\left(\sum_{j=0}^{d-1}\sum_{j^{{}^{\prime}}% =j+1}^{d-1}Z_{j}Z_{j^{{}^{\prime}}}\phi(x_{j})\phi(x_{j^{{}^{\prime}}})+\sum_{% j=0}^{d-1}UC_{j}\phi(x_{j})\right)caligraphic_U start_POSTSUBSCRIPT italic_ϕ ( over→ start_ARG italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) end_POSTSUBSCRIPT = italic_e italic_x italic_p ( ∑ start_POSTSUBSCRIPT italic_j = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_d - 1 end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT start_FLOATSUPERSCRIPT ′ end_FLOATSUPERSCRIPT end_POSTSUPERSCRIPT = italic_j + 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_d - 1 end_POSTSUPERSCRIPT italic_Z start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_Z start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT start_FLOATSUPERSCRIPT ′ end_FLOATSUPERSCRIPT end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_ϕ ( italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) italic_ϕ ( italic_x start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT start_FLOATSUPERSCRIPT ′ end_FLOATSUPERSCRIPT end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) + ∑ start_POSTSUBSCRIPT italic_j = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_d - 1 end_POSTSUPERSCRIPT italic_U italic_C start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_ϕ ( italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ) (13)

As per the above equation, the circuit consists of ZZ and UC gates, where the UC gate is a combination of Rxsubscript𝑅𝑥R_{x}italic_R start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT and Rysubscript𝑅𝑦R_{y}italic_R start_POSTSUBSCRIPT italic_y end_POSTSUBSCRIPT gates, and ϕ(xj)italic-ϕsubscript𝑥𝑗\phi(x_{j})italic_ϕ ( italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) and ϕ(xj)italic-ϕsubscript𝑥superscript𝑗\phi(x_{j^{{}^{\prime}}})italic_ϕ ( italic_x start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT start_FLOATSUPERSCRIPT ′ end_FLOATSUPERSCRIPT end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) are the elements of the generated density matrices. These specific gates for the circuit are chosen after performing an optimization and in comparison to other circuits such as instantaneous quantum polynomial (IQP) and Hamiltonian circuits [36, 41]. Fig. 2 shows the circuit used for implementation of QSVM. For CSVM, we optimize the model on the basis of linear and non-linear kernels in addition to gamma which varies from 1e-2 to 1e-4, and C which varies from 1 to 1000.

As per the conventional methods of in-domain classification, we first train the quantum and classical models with 75757575%percent\%% of the whole dataset and test the models on the rest 25%percent2525\%25 % of the data as represented in Fig. 3. Fig. 4 demonstrates the classification efficiency of the models in terms of accuracy, precision, recall, and F1-score. Our results indicate an accuracy of 97.72%percent97.7297.72\%97.72 % using QSVM in comparison to the accuracy of 77.27%percent77.2777.27\%77.27 % as obtained using CSVM. Moreover, the precision value for CSVM is only 39%percent3939\%39 %, indicating that a significant number of states are predicted as false positive, i.e., false entangled states instead of separable states. However, the recall value for the classical model is relatively better than the precision value, specifying that the predicted false negative or false separable states are lesser in number. These observations clearly indicate that the CSVM exhibits type-I error. On the other hand, our QSVM model shows significant results in accuracy as well as other evaluation metrics (precision, recall, and F1-score). The results indicate that QSVM is more reliable when classifying the quantum states as entangled or separable.

To comprehensively analyze the models from cross-domain classification, we proceed strategically to address the entanglement versus separability paradigm in the following subsections.

IV.1 Cross-domain classification using QSVM

In this subsection, we proceed to analyze the efficacy of proposed QSVM for cross-domain classification for characterizing entangled and separable states which are spatially different from the training states in the Hilbert space. For this, we utilize the Werner states depicted in Fig. 1A. We inquisitively train the QSVM on a single type of Werner state (ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT) and subsequently test the trained model with different Werner states (ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT), as shown in Fig. 5.

Refer to caption
(a) A. Prediction by the model on Werner type states, Horodecki and MEMS states, trained on ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT
Refer to caption
(b) B. Prediction by the model on random unitary transformation of Werner states
Figure 7: The analysis of quantum support vector machine. In 2A-I, 2A-II and 2A-III, the model is trained on ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and tested on ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, and ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, respectively on basis of prediction probability corresponding to each testing quantum states. 2A-IV includes the analysis of Werner states along with Horodecki and MEMS states based on evaluation metrics. B) Accuracy-based analysis of quantum support vector machine for unitary transformation of Werner states.

Fig. 7A clearly demonstrates the advantages of using QSVM for classifying the Werner, Horodecki, and MEMS states in entangled or separable. For example, Figs. 7A- I, II and III represent the QSVM predictions corresponding to ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, respectively when the model is trained using a Hilbert space occupied by the ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT states. The mentioned figures illustrate that if a state originates as separable, the prediction probability associated with the red line (indicating separable states) needs to be considerably higher compared to the green line (indicating entangled states). Further, the actual class of a particular quantum state can be observed by the blue line (indicating actual class). Therefore, Fig. 7A-I shows the prediction probability corresponding to individual quantum states belonging to ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT. The figures corresponding to ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT and ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT also represent similar predictions. Our results show that the proposed model can predict the separable and entangled states with a significant probability. The same can be inferred from plots of evaluation metrics, i.e., accuracy, precision, recall, and F1-score as represented in Fig. 7A-IV. Hence, QSVM successfully performs the cross-domain classification to address the entanglement versus separability problem.

For a comprehensive analysis of two-qubit quantum states under cross-domain classification strategy, we further evaluate our models on Horodecki and MEMS states while training the model on the Werner state (ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT). Fig. 7B illustrates the result of predicting the Horodecki and MEMS states as entangled or separable using QSVM. Interestingly, for Horodecki states, QSVM shows a 100%percent100100\%100 % accuracy. For MEMS states, the quantum support vector machine shows a moderate accuracy compared to Wener and Horodecki states. This can be attributed to the significant difference between the ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT state and MEMS states. Nevertheless, the accuracy is still significant for the cross-domain classification.

Refer to caption
(a) A. Results of cross-domain classification on Bell diagonal states
Refer to caption
(b) B. Predictions corresponding to Werner states, trained on Bell diagonal states (1<tii<01subscript𝑡𝑖𝑖0-1<t_{ii}<0- 1 < italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT < 0)
Figure 8: As per the data represented in Fig. 1B for cross-domain classification here in A) demonstrates the classification results where the blue line represents the actual categorization of zero and non-zero discord states and red and green lines represent the prediction probability corresponding to both of the categories. B) shows the classification results based on evaluation metrics of Werner states.

IV.2 Analysing robustness of QSVM

In order to further ascertain the predictive capacity of the QSVM on Werner states, we introduce variability for testing the trained model by evaluating it on Werner states transformed by local unitary operations. Fig. 6 is a schematic representation of our analysis in this section, and Fig. 7B represents the accuracy corresponding to different Werner-type states. Our analysis reveals that the model consistently achieves superior accuracy in predicting entangled and separable states, even in the case of random unitary transformations. This analysis precisely assesses the capability of QSVM for cross-domain classification of quantum states. For further comparison, one may compare Figs. 7A and 7B.

V Analysing quantum correlation using QSVM

In this section, we evaluate our QSVM model for predicting quantum correlations existing between qubits in two-qubit mixed quantum states. As demonstrated in section III.1, the training and testing states are generated by restricting the range of tijsubscript𝑡𝑖𝑗t_{ij}italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT from Eq.(11). For training the model, we choose the states where tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT ranges from -1 to 0; and for testing, we choose tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT range from 0 to 1. Fig. 8A demonstrates the analysis in terms of prediction probability corresponding to individual testing quantum states. It can be analyzed that the quantum states are classified into zero discord and non-zero discord states with a notable probability difference.

As an extensive study, we further analyze Werner states by generating the corresponding category as non-zero discord states, where tiisubscript𝑡𝑖𝑖t_{ii}italic_t start_POSTSUBSCRIPT italic_i italic_i end_POSTSUBSCRIPT with a range from -1 to 0 are chosen as training states. The results are represented in Fig. 8B. One can clearly be observe that the accuracy for classifying the Werner states as non-zero discord states has increased with a significant difference as compared to Fig. 7A.

VI Analysis of classical machine learning models

For cross-domain classification (Fig. 5) for quantum states, we also evaluate the prediction capability of classical machine learning algorithms- classical support vector machine (CSVM) and artificial neural networks (ANN). In the case of CSVM, we observe that the classification of Werner states as entangled or separable states resulted in poor accuracy. The model predicts each testing state as separable with the linear or non-linear kernel with optimized C and gamma parameters. Along similar lines, ANN also predicts all of the testing quantum states as separable, with a loss of 0.044 on the training dataset. The predictions for the testing dataset using ANN remains the same even with increasing epochs and the number of neurons in the hidden layer. A summary of ANN results corresponding to the number of neurons in hidden layers and the sample size are shown in Table 1. The same behavior of CSVM and ANN is observed for the case of zero and non-zero discord states classification.

Sample Size Nh=0subscript𝑁0N_{h}=0italic_N start_POSTSUBSCRIPT italic_h end_POSTSUBSCRIPT = 0 Nh=50subscript𝑁50N_{h}=50italic_N start_POSTSUBSCRIPT italic_h end_POSTSUBSCRIPT = 50 Nh=100subscript𝑁100N_{h}=100italic_N start_POSTSUBSCRIPT italic_h end_POSTSUBSCRIPT = 100
51035superscript1035*10^{3}5 ∗ 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT Predicted as all separable states Predicted as all separable states Predicted as all separable states
51045superscript1045*10^{4}5 ∗ 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT Predicted as all separable states Predicted as all separable states Predicted as all separable states
Table 1: Analysis of ANN with increased number of neurons in the hidden layer (Nhsubscript𝑁N_{h}italic_N start_POSTSUBSCRIPT italic_h end_POSTSUBSCRIPT) and sample size.

VII Conclusion

This study delved into the efficacy of employing a quantum support vector machine (QSVM) to classify two-qubit mixed states. By tap** into the inherent structure within quantum states of the same family, we aimed to streamline the task of entanglement detection, identification, or classification. We emphasized on an efficient technique called cross-domain classification to classify the unknown quantum states. One can envision the distinct domains of both training and testing states through the geometrical representation used in this study. To validate our approach, we conducted experiments across various scenarios. Initially, we trained our QSVM model on one variant of Werner states (ρ|ψsubscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT), and then tested it on different types of Werner states (ρ|ψ+subscript𝜌ketsubscript𝜓\rho_{\ket{\psi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ψ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, ρ|ϕ+subscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{+}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT + end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT, and ρ|ϕsubscript𝜌ketsubscriptitalic-ϕ\rho_{\ket{\phi_{-}}}italic_ρ start_POSTSUBSCRIPT | start_ARG italic_ϕ start_POSTSUBSCRIPT - end_POSTSUBSCRIPT end_ARG ⟩ end_POSTSUBSCRIPT). Additionally, we included Horodecki and MEMS states in our testing dataset to comprehensively evaluate cross-domain classification capabilities of our model. Our results indicate that the model effectively and accurately predicted entangled and separable states. Furthermore, applying random unitary transformations to quantum states yielded similar accuracy, reinforcing the robustness of our approach. We extended our cross-domain classification method to further classify zero and non-zero discord states, where we restricted the range of correlation matrix elements for creating the training and testing states. We also used the same training states for analyzing Werner states as non-zero discord states. We conclusively demonstrated that the QSVM can detect entanglement and quantum correlation even with cross-domain classification which is not the case with CSVM and ANN.

We found that the introduction of cross-domain classification in entanglement detection problems reduces the training states, making the quantum machine learning algorithms more efficient. This reduction in training data not only aids in computational efficiency but also contributes to shorter computing times, making the approach more practical and scalable.

VIII Data Availbility

The data set involving quantum states of two and three-qubit different classes is generated using Quantum Toolbox in Python (QuTiP) [42, 43]. The data is available in the GitHub repository.

Acknowledgements.
DS and VBS acknowledge MoE for the financial assistance and the Department of Chemistry, IIT Jodhpur, for providing the research facility. DS and VBS are grateful to the computer center, IIT Jodhpur, for providing HPC facilities. DS further acknowledges IDRP-QIC for the research facility. AK acknowledges support from the Science Engineering and Research Board (SERB) with the project No.: S/SERB/AKR/20220105.

References

  • Zeilinger [2000] A. Zeilinger, Quantum teleportation, Scientific American 282, 50 (2000).
  • Zeilinger [2018] A. Zeilinger, Quantum teleportation, onwards and upwards, Nature Physics 14, 3 (2018).
  • Popescu [1994] S. Popescu, Bell’s inequalities versus teleportation: What is nonlocality?, Physical review letters 72, 797 (1994).
  • Mehic et al. [2020] M. Mehic, M. Niemiec, S. Rass, J. Ma, M. Peev, A. Aguado, V. Martin, S. Schauer, A. Poppe, C. Pacher, et al., Quantum key distribution: a networking perspective, ACM Computing Surveys (CSUR) 53, 1 (2020).
  • Bennett and Wiesner [1992] C. H. Bennett and S. J. Wiesner, Communication via one-and two-particle operators on einstein-podolsky-rosen states, Physical review letters 69, 2881 (1992).
  • Hwang et al. [2011] T. Hwang, C. Hwang, and C. Tsai, Quantum key distribution protocol using dense coding of three-qubit w state, The European Physical Journal D 61, 785 (2011).
  • Bennett et al. [1988] C. H. Bennett, G. Brassard, and J.-M. Robert, Privacy amplification by public discussion, SIAM journal on Computing 17, 210 (1988).
  • Ekert [1991] A. K. Ekert, Quantum cryptography based on bell’s theorem, Physical review letters 67, 661 (1991).
  • Van Meter [2014] R. Van Meter, Quantum networking (John Wiley & Sons, 2014).
  • Munro et al. [2010] W. Munro, K. Harrison, A. Stephens, S. Devitt, and K. Nemoto, From quantum multiplexing to high-performance quantum networking, Nature Photonics 4, 792 (2010).
  • Cai et al. [2015] X.-D. Cai, D. Wu, Z.-E. Su, M.-C. Chen, X.-L. Wang, L. Li, N.-L. Liu, C.-Y. Lu, and J.-W. Pan, Entanglement-based machine learning on a quantum computer, Physical review letters 114, 110504 (2015).
  • Biamonte et al. [2017] J. Biamonte, P. Wittek, N. Pancotti, P. Rebentrost, N. Wiebe, and S. Lloyd, Quantum machine learning, Nature 549, 195 (2017).
  • Sharma et al. [2023] D. Sharma, P. Singh, and A. Kumar, The role of entanglement for enhancing the efficiency of quantum kernels towards classification, Physica A: Statistical Mechanics and its Applications 625, 128938 (2023).
  • Lee [2020] R. S. Lee, Quantum finance (Springer, 2020).
  • Schaden [2002] M. Schaden, Quantum finance, Physica A: Statistical Mechanics and Its Applications 316, 511 (2002).
  • Orús et al. [2019] R. Orús, S. Mugel, and E. Lizaso, Quantum computing for finance: Overview and prospects, Reviews in Physics 4, 100028 (2019).
  • Tilly et al. [2022] J. Tilly, H. Chen, S. Cao, D. Picozzi, K. Setia, Y. Li, E. Grant, L. Wossnig, I. Rungger, G. H. Booth, et al., The variational quantum eigensolver: a review of methods and best practices, Physics Reports 986, 1 (2022).
  • Kandala et al. [2017] A. Kandala, A. Mezzacapo, K. Temme, M. Takita, M. Brink, J. M. Chow, and J. M. Gambetta, Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets, nature 549, 242 (2017).
  • Cerezo et al. [2022] M. Cerezo, K. Sharma, A. Arrasmith, and P. J. Coles, Variational quantum state eigensolver, npj Quantum Information 8, 113 (2022).
  • Harney et al. [2020] C. Harney, S. Pirandola, A. Ferraro, and M. Paternostro, Entanglement classification via neural network quantum states, New Journal of Physics 22, 045001 (2020).
  • Asif et al. [2023] N. Asif, U. Khalid, A. Khan, T. Q. Duong, and H. Shin, Entanglement detection with artificial neural networks, Scientific Reports 13, 1562 (2023).
  • Vintskevich et al. [2023] S. Vintskevich, N. Bao, A. Nomerotski, P. Stankus, and D. Grigoriev, Classification of four-qubit entangled states via machine learning, Physical Review A 107, 032421 (2023).
  • Lu et al. [2018] S. Lu, S. Huang, K. Li, J. Li, J. Chen, D. Lu, Z. Ji, Y. Shen, D. Zhou, and B. Zeng, Separability-entanglement classifier via machine learning, Physical Review A 98, 012315 (2018).
  • Caro et al. [2023] M. C. Caro, H.-Y. Huang, N. Ezzell, J. Gibbs, A. T. Sornborger, L. Cincio, P. J. Coles, and Z. Holmes, Out-of-distribution generalization for learning quantum dynamics, Nature Communications 14, 3751 (2023).
  • Liu et al. [2021] W. Liu, J. Li, B. Liu, W. Guan, Y. Zhou, and C. Xu, Unified cross-domain classification via geometric and statistical adaptations, Pattern Recognition 110, 107658 (2021).
  • Lang and Caves [2010] M. D. Lang and C. M. Caves, Quantum discord and the geometry of bell-diagonal states, Phys. Rev. Lett. 105, 150501 (2010).
  • Werner [1989] R. F. Werner, Quantum states with einstein-podolsky-rosen correlations admitting a hidden-variable model, Physical Review A 40, 4277 (1989).
  • Horodecki et al. [2009] R. Horodecki, P. Horodecki, M. Horodecki, and K. Horodecki, Quantum entanglement, Reviews of modern physics 81, 865 (2009).
  • Wei et al. [2003] T.-C. Wei, K. Nemoto, P. M. Goldbart, P. G. Kwiat, W. J. Munro, and F. Verstraete, Maximal entanglement versus entropy for mixed quantum states, Physical Review A 67, 022110 (2003).
  • Singh and Kumar [2018] P. Singh and A. Kumar, Correlations, nonlocality and usefulness of an efficient class of two-qubit mixed entangled states, Zeitschrift für Naturforschung A 73, 191 (2018).
  • Ishizaka and Hiroshima [2000] S. Ishizaka and T. Hiroshima, Maximally entangled mixed states under nonlocal unitary operations in two qubits, Physical Review A 62, 022310 (2000).
  • Wootters [1998] W. K. Wootters, Entanglement of formation of an arbitrary state of two qubits, Phys. Rev. Lett. 80, 2245 (1998).
  • Yao et al. [2012] Y. Yao, H.-W. Li, Z.-Q. Yin, and Z.-F. Han, Geometric interpretation of the geometric discord, Physics Letters A 376, 358 (2012).
  • Cortes and Vapnik [1995] C. Cortes and V. Vapnik, Support-vector networks, Machine learning 20, 273 (1995).
  • Schuld [2021] M. Schuld, Supervised quantum machine learning models are kernel methods, arXiv preprint arXiv:2101.11020  (2021).
  • Havlíček et al. [2019] V. Havlíček, A. D. Córcoles, K. Temme, A. W. Harrow, A. Kandala, J. M. Chow, and J. M. Gambetta, Supervised learning with quantum-enhanced feature spaces, Nature 567, 209 (2019).
  • Thanasilp et al. [2022] S. Thanasilp, S. Wang, M. Cerezo, and Z. Holmes, Exponential concentration and untrainability in quantum kernel methods, arXiv preprint arXiv:2208.11060  (2022).
  • Harris et al. [2020] C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, R. Kern, M. Picus, S. Hoyer, M. H. van Kerkwijk, M. Brett, A. Haldane, J. Fernández del Río, M. Wiebe, P. Peterson, P. Gérard-Marchant, K. Sheppard, T. Reddy, W. Weckesser, H. Abbasi, C. Gohlke, and T. E. Oliphant, Array programming with NumPy, Nature 585, 357–362 (2020).
  • Qiskit contributors [2023] Qiskit contributors, Qiskit: An open-source framework for quantum computing (2023).
  • Pedregosa et al. [2011] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, Scikit-learn: Machine learning in Python, Journal of Machine Learning Research 12, 2825 (2011).
  • Huang et al. [2021] H.-Y. Huang, M. Broughton, M. Mohseni, R. Babbush, S. Boixo, H. Neven, and J. R. McClean, Power of data in quantum machine learning, Nature communications 12, 1 (2021).
  • Johansson et al. [2012] J. Johansson, P. Nation, and F. Nori, Qutip: An open-source python framework for the dynamics of open quantum systems, Computer Physics Communications 183, 1760 (2012).
  • Johansson et al. [2013] J. Johansson, P. Nation, and F. Nori, Qutip 2: A python framework for the dynamics of open quantum systems, Computer Physics Communications 184, 1234 (2013).