删除或更新信息,请邮件至freekaoyan#163.com(#换成@)

Variational quantum algorithms for trace norms and their applications

本站小编 Free考研考试/2022-01-02

Sheng-Jie Li1, Jin-Min Liang2, Shu-Qian Shen,1, Ming Li11College of Science, China University of Petroleum, 266580 Qingdao, China
2School of Mathematical Sciences,Capital Normal University, 100048 Beijing, China

Received:2021-06-17Revised:2021-07-30Accepted:2021-07-30Online:2021-08-31


Abstract
The trace norm of matrices plays an important role in quantum information and quantum computing. How to quantify it in today's noisy intermediate scale quantum (NISQ) devices is a crucial task for information processing. In this paper, we present three variational quantum algorithms on NISQ devices to estimate the trace norms corresponding to different situations. Compared with the previous methods, our means greatly reduce the requirement for quantum resources. Numerical experiments are provided to illustrate the effectiveness of our algorithms.
Keywords: quantum algorithm;trace norm;variational algorithm


PDF (602KB)MetadataMetricsRelated articlesExportEndNote|Ris|BibtexFavorite
Cite this article
Sheng-Jie Li, Jin-Min Liang, Shu-Qian Shen, Ming Li. Variational quantum algorithms for trace norms and their applications. Communications in Theoretical Physics, 2021, 73(10): 105102- doi:10.1088/1572-9494/ac1938

1. Introduction

Quantum computing is a new ultrafast calculational model that follows the laws of quantum mechanics and regulates quantum information units for computing [1, 2]. A quantum computer can perform some computations with exponential speedup over any classical computer due to its intrinsic advantages. The famous quantum algorithms including Shor's factoring algorithm [3], Grover's search algorithm [4] and HHL algorithm [5] for linear equations most require a universal fault-tolerant quantum computer with millions of qubits [1]. Most of these algorithms have deep circuit depth, and the coherence between quantum states will gradually lost due to the undesired environmental noise. Thus, the appearance of such experimental device may take many years of research. Noisy intermediate scale quantum (NISQ) technology [6, 7] adopting 50–100 qubits is believed to be an high-performance alternative product. It will be available in the near future. Hence, one of the current researches focuses on the algorithms that can efficiently work on the NISQ devices.

The class of variational quantum algorithms (VQAs) [8, 9], which is a kind of hybrid quantum–classical algorithms, is considered to be well-suited in the NISQ period. By utilizing the classical computers and NISQ devices simultaneously, VQAs solve problems that are intractable on classical computers. To be specific, VQAs adopt the classical computers to find the optimal parameters of the objective function, and quantum devices mainly compute the values of function by training the neural networks and performing measurements. In recent years, a variety VQAs have been proposed such as variational eigenvalue solver [1014], variational quantum singular value decomposition [15, 16], variational quantum diagonalization [17, 18], quantum approximate optimization algorithms [19], variational ansatz-based quantum simulation [20], and quantum linear equations solver [21, 22]; see, e.g. [8, 9] for comprehensive surveys. In addition, quantum simulation is also another important application of near-term quantum computing; see, e.g. [2327].

Trace norms have been widely used in the field of quantum information and quantum computing. As we all know, the detection and quantification of entanglement is a fundamental issue in quantum information. Some separable criteria including CCNR [28], correlation matrix criteria [29] are based on trace norms. They can also be used to quantify entanglement [30] and non-locality [31]. Meanwhile, the trace distance based on trace norms yields a natural metric on the state space, and gives a measure of the distinguish ability between two quantum states [2]. In addition, a lot of quantum machine learning algorithms such as quantum anomaly detection [32], dimensionality reduction and classification [33] are also based on the trace norms. Generally speaking, the estimation of trace norms on classical computers needs to calculate all singular values [34]. However, the calculation of singular values of large-scale matrices is still a tricky task for classical computers, which consumes tremendous resources especially when the matrix dimension reaches the exponential order. Thus, how to evaluate the trace norms efficiently on quantum devices is an essential task.

VQAs for estimating the trace norms and trace distances have been presented in [35]. It variationally estimates trace norms by adding an ancillary system and performing the unitary evolution on the whole system. From the perspective of near-term implementation, it will increase operation difficulty.

The aim of this paper is to design novel VQAs for trace norms, which can be applied to the estimation of trace distance, detection and quantification of quantum entanglement. The cost of algorithms are less than the corresponding ones in [35]. Finally, we simulate our algorithms to estimate the trace norms of two qubit matrix and obtain the desired result.

The organization of the paper is as follows. In section 2, we briefly review the trace norms and introduce a proposition which is beneficial to apply optimization methods on the loss function. Then we present our VQAs for estimating trace norms which we call them the quantum variational trace norm (QVTN) algorithms. Some applications including trace distance estimation and quantification of quantum entanglement are presented in section 3. Numerical experimental simulations are reported in section 4. Then we make a summary in section 5.

2. Results

2.1. Theoretical basis for QVTN alogrithms

Let A be an operator acting on a Hilbert space ${ \mathcal H }$. Then we denote by ∥A1 the trace norm of A, i.e. the sum of all singular values of A. From [2], we can get$\begin{eqnarray}\parallel A{\parallel }_{1}=\mathop{\max }\limits_{U}\,| \mathrm{tr}({AU})| ,\end{eqnarray}$where $\mathrm{tr}$ denotes the trace of matrix, and the maximization ranges over all unitary operators acting on ${ \mathcal H }$. Obviously, the equality (1) cannot be directly applied to design VQAs, since some optimization methods cannot be used for the absolute value function. The following simple proposition gives an alternative to (1), and then VQAs can be easily constructed.

Let A be any operator acting on the Hilbert space ${ \mathcal H }$. Then$\begin{eqnarray}\begin{array}{rcl}\parallel A{\parallel }_{1} & = & \displaystyle \frac{1}{2}\mathop{\max }\limits_{U}\left(\mathrm{tr}({AU})+\mathrm{tr}({U}^{\dagger }{A}^{\dagger })\right)\\ & = & \mathop{\max }\limits_{U}\mathrm{Re}\left(\mathrm{tr}({AU})\right),\end{array}\end{eqnarray}$where the optimization is over all unitary operators acting on system ${ \mathcal H }$, and $\dagger $ denotes the conjugate transpose of matrix.
On the one hand, by (1),$\begin{eqnarray}\begin{array}{l}\displaystyle \frac{1}{2}\mathop{\max }\limits_{U}\left(\mathrm{tr}({AU})+\mathrm{tr}({U}^{\dagger }{A}^{\dagger })\right)\\ \leqslant \ \displaystyle \frac{1}{2}\mathop{\max }\limits_{U}\left(| \mathrm{tr}({AU})| +| \mathrm{tr}({U}^{\dagger }{A}^{\dagger })| \right)\\ =\ \mathop{\max }\limits_{U}\,| \mathrm{tr}({AU})| =\parallel A{\parallel }_{1}.\end{array}\end{eqnarray}$On the other hand, by (1) there must exist a unitary operator V and a real number θ such that$\begin{eqnarray}\parallel A{\parallel }_{1}=| \mathrm{tr}({AV})| ={{\rm{e}}}^{{\rm{i}}\theta }\mathrm{tr}({AV})=\mathrm{tr}(A\tilde{V}),\end{eqnarray}$where $\tilde{V}={{\rm{e}}}^{{\rm{i}}\theta }V$ and ${\rm{i}}=\sqrt{-1}$. Thus,$\begin{eqnarray}\displaystyle \frac{1}{2}\left(\mathrm{tr}(A\tilde{V})+\mathrm{tr}({\tilde{V}}^{\dagger }{A}^{\dagger })\right)=\mathrm{tr}(A\tilde{V})=\parallel A{\parallel }_{1}.\end{eqnarray}$This completes the proof. $\quad$ □


For any Hermitian operator A, it is easy to get$\begin{eqnarray}\parallel A{\parallel }_{1}=\sum _{i=1}^{n}| {\lambda }_{i}| ,\end{eqnarray}$where λi, i = 1, 2, ⋯, n, are eigenvalues of A. If A is not Hermitian, we can define the operator$\begin{eqnarray}\bar{A}=\left(\begin{array}{cc}0 & A\\ {A}^{\dagger } & 0\end{array}\right).\end{eqnarray}$From [5], $\bar{A}$ is Hermitian, and $\parallel \bar{A}{\parallel }_{1}=2\parallel A{\parallel }_{1}$. Thus, in this section, the VQAs are only designed for Hermitian operators.

Proposition 1 gives us a favorable variational form. According to this form, in the next subsections, we will present VQAs (QVTN) to estimate the trace norms of the Hermitian operator H.

2.2. The QVTN algorithm based on state decomposition

Assume that H acting on the Hilbert space ${ \mathcal H }$ is Hermitian, then H can always be decomposed [2, 35] as$\begin{eqnarray}H=\sum _{i=1}^{d}{r}_{i}{\rho }_{i},\end{eqnarray}$where ri, i = 1, 2, ⋯, d, are real numbers, and ρi, i = 1, 2, ⋯, d, are density matrices. In fact, any Hermitian matrix can easily be decomposed into the above form; see, e.g. equation (14) in algorithm 2. Meanwhile, the calculation of generalized trace distance in section 3 also uses the decomposition as a special case of equation (8). Based on (8), the following VQA gives the estimation of the trace norm of H.


Algorithm 1.
Algorithm 1.The QVTN algorithm based on state decomposition
1. Inputs: the decomposition (8) of H, parameterized quantum circuits $U({\boldsymbol{\theta }})$ with initial parameters ${\boldsymbol{\theta }}$, and error tolerance ε.
2. For any $1\leqslant i\leqslant d$, applying the Hadamard test to compute the value:
${f}_{i}({\boldsymbol{\theta }})=\displaystyle \frac{1}{2}\left(\mathrm{tr}({\rho }_{i}U({\boldsymbol{\theta }}))+\mathrm{tr}({U}^{\dagger }({\boldsymbol{\theta }}){\rho }_{i})\right).$ (9)
3. Compute the value of loss function:
${l}_{1}({\boldsymbol{\theta }})=\sum _{i=1}^{d}{r}_{i}{f}_{i}({\boldsymbol{\theta }}).$ (10)
4. Perform optimization process to maximize ${l}_{1}({\boldsymbol{\theta }})$, update ${\boldsymbol{\theta }}$.
5. Repeat steps 2–4, until the loss function satisfies $| {\rm{\Delta }}{l}_{1}({\boldsymbol{\theta }})| \leqslant \epsilon $.

New window|CSV

As in [16, algorithm 1], the parameterized quantum circuits is composed by single qubit rotations and two qubit CNOT gates and here the parameter ${\boldsymbol{\theta }}={\left({\theta }_{1},{\theta }_{2},\cdots ,{\theta }_{m}\right)}^{t}$, where t represents the transpose of matrix. Figure 1 is a schematic diagram of the circuits. Specifically, the parameterized circuits$\begin{eqnarray}U({\boldsymbol{\theta }})=\prod _{j=1}^{m}{U}_{j}({\theta }_{j}).\end{eqnarray}$For j = 1, 2, ⋯, m, we consider$\begin{eqnarray}{U}_{j}({\theta }_{j})={{\rm{e}}}^{-{\rm{i}}{\theta }_{j}{H}_{j}/2},\end{eqnarray}$where Hj is tensor product of Pauli matrices.

The loss function ${l}_{1}({\boldsymbol{\theta }})$ and the gradient of it can be estimated on near-term quantum devices.

Our loss function can be efficiently computed by the Hadamard test [36]. The schematic diagram is shown in figure 3. We briefly summarize the key points of Hadamard test here.
In the step 2 of algorithm 1, by adding an ancillary qubit, $\mathrm{Re}(\mathrm{tr}(\rho U))$ for any state ρ and unitary U can be computed by quantum Hadamard test. As in figure 3, after the application of the circuit before measurement, the initial states ${\delta }_{\mathrm{in}}=| 0\rangle \langle 0| \otimes \rho $ becomes$\begin{eqnarray*}\begin{array}{rcl}{\delta }_{\mathrm{out}} & = & \displaystyle \frac{1}{4}\left[\left(| 0\rangle \langle 0| +| 0\rangle \langle 1| +| 1\rangle \langle 0| +| 1\rangle \langle 1| \right)\otimes \rho \right.\\ & & +\left(| 0\rangle \langle 0| +| 0\rangle \langle 1| -| 1\rangle \langle 0| -| 1\rangle \langle 1| \right)\otimes U\rho \\ & & +\left(| 0\rangle \langle 0| -| 0\rangle \langle 1| +| 1\rangle \langle 0| -| 1\rangle \langle 1| \right)\otimes \rho {U}^{\dagger }\\ & & \left.+\left(| 0\rangle \langle 0| -| 0\rangle \langle 1| -| 1\rangle \langle 0| +| 1\rangle \langle 1| \right)\otimes U\rho {U}^{\dagger }\right].\end{array}\end{eqnarray*}$Measuring the ancillary state with the Pauli operator ${\sigma }_{z}$ yields the expectation value$\begin{eqnarray*}\mathrm{tr}({\sigma }_{z}{\delta }_{\mathrm{out}})=\mathrm{Re}(\mathrm{tr}(\rho U)).\end{eqnarray*}$Thus the loss function ${l}_{1}({\boldsymbol{\theta }})$ can be efficiently calculated in near-term devices by the Hadamard test.
In addition, according to the specific calculation process in appendix, we get a fact that the derivatives of the loss function ${l}_{1}({\boldsymbol{\theta }})$ are given by several terms which can be estimated by rotating the parameters of the Hadamard test circuits in figure 3. Hence, the gradient of loss function ${l}_{1}({\boldsymbol{\theta }})$ can be estimated on near-term quantum devices. □


If the decomposition of H (8) is not available, we can choose a parameter α to construct the following two states:$\begin{eqnarray}{\rho }_{+}=\displaystyle \frac{\alpha I+H}{\mathrm{tr}(\alpha I+H)},\ \ {\rho }_{-}=\displaystyle \frac{\alpha I-H}{\mathrm{tr}(\alpha I-H)}.\end{eqnarray}$For example, α can be chosen to be ∑ihii∣ with hii being the diagonal element of H. For this case, a simplified form of algorithm 1 is given by algorithm 2.


Algorithm 2.
Algorithm 2.The QVTN algorithm based on QRAM
1. Inputs: ${\rho }_{+},{\rho }_{-}$, parameterized quantum circuits $U({\boldsymbol{\theta }})$ with initial parameters ${\boldsymbol{\theta }}$, and tolerance ε.
2. Applying circuits $U(\theta )$ to compute the value:
${f}_{\pm }({\boldsymbol{\theta }})=\displaystyle \frac{1}{4}\left(\mathrm{tr}({\rho }_{\pm }U({\boldsymbol{\theta }}))+\mathrm{tr}({U}^{\dagger }({\boldsymbol{\theta }}){\rho }_{\pm })\right).$ (14)
3. Compute the value of loss function:
${l}_{2}({\boldsymbol{\theta }})=\mathrm{tr}(\alpha I+H){f}_{+}({\boldsymbol{\theta }})-\mathrm{tr}(\alpha I-H){f}_{-}({\boldsymbol{\theta }}).$ (15)
4. Perform optimization on ${l}_{2}({\boldsymbol{\theta }})$, update ${\boldsymbol{\theta }}$.
5. Repeat steps 2–4, until the loss function satisfies $| {\rm{\Delta }}{l}_{2}({\boldsymbol{\theta }})| \leqslant \epsilon $.

New window|CSV

In the step 2 of algorithm 2, we can use swap test [37] to compute the trace of the product of a density matrix and a unitary matrix. Given a general quantum state ρ, it can be expressed as a linear combination $\rho ={\sum }_{i,j=0}^{N-1}{\rho }_{{ij}}| i\rangle \langle j| $ in the computation basis. The vector representation of ρ can be written as$\begin{eqnarray}| \rho \rangle =\displaystyle \frac{1}{\lambda }\sum _{i,j=0}^{N-1}{\rho }_{{ij}}| i\rangle | j\rangle ,\end{eqnarray}$where $\lambda =\sqrt{{\sum }_{i,j=0}^{N-1}| {\rho }_{{ij}}{| }^{2}}$. The vector representation of the identity matrix I can be obtained similarly. Both of them can be prepared by the QRAM approach [38, 39]. Further, the vector representation of ρU [40] can be achieved by$\begin{eqnarray}| \rho U\rangle =(I\otimes {U}^{t})| \rho \rangle .\end{eqnarray}$Finally,$\begin{eqnarray}\mathrm{tr}(\rho U)=\lambda \sqrt{N}\langle I| \rho U\rangle ,\end{eqnarray}$can be efficiently estimated via the simple swap test.

Figure 1.

New window|Download| PPT slide
Figure 1.The parameterized quantum circuit for U(θ). The parameters are trained to optimize the loss functions. Here D denotes the circuit depth and N represents the qubit numbers.


However, the QRAM approach requires great amount of qubits to convert classical data into corresponding quantum states [40], making it not suitable in the current NISQ devices. Here we give alternative methods to efficiently obtain the state ∣I⟩. Figure 2 shows the corresponding quantum circuit to implement ∣I⟩, consisting of the Hadamard gate H, Pauli operator σz and CNOT gates. To our knowledge, there is no effective method to prepare ∣ρ⟩ except QRAM. Thus, for the preparation of ∣ρ⟩, it is worth studying new methods that are suited for the NISQ devices in the future.

Figure 2.

New window|Download| PPT slide
Figure 2.The preparation for state ∣I⟩.


2.3. The QVTN algorithm based on unitary decomposition

Assume that the Hermitian operator H acting on the Hilbert space ${ \mathcal H }$ can be written as$\begin{eqnarray}H=\sum _{i=1}^{n}{k}_{i}{U}_{i},\end{eqnarray}$where ki, i = 1, 2, ⋯, n, are real numbers and Ui, i = 1, 2, ⋯, n, are unitary matrices. This assumption is often employed in many physical systems such as molecules or the Fermi–Hubbard model [13, 16, 41]. Based on (19), the following VQA gives the estimation of the trace norm of H.


Algorithm 3.
Algorithm 3.The QVTN algorithm based on unitary decomposition
1. Inputs: the decomposition (19) of H, parameterized quantum circuits $U({\boldsymbol{\theta }})$ with initial parameters ${\boldsymbol{\theta }}$, and error tolerance ε.
2. For any $1\leqslant i\leqslant n$, applying the Hadamard test in figure 4 to compute the value:
${f}_{i}({\boldsymbol{\theta }})=\displaystyle \frac{1}{2}\left(\mathrm{tr}({U}_{i}U({\boldsymbol{\theta }}))+\mathrm{tr}({U}^{\dagger }({\boldsymbol{\theta }}){U}_{i}^{\dagger })\right).$ (20)
3. Compute the value of loss function:
${l}_{3}({\boldsymbol{\theta }})=\sum _{i=1}^{n}{k}_{i}{f}_{i}({\boldsymbol{\theta }}).$ (21)
4. Perform optimization process to maximize ${l}_{3}({\boldsymbol{\theta }})$, update ${\boldsymbol{\theta }}$.
5. Repeat steps 2–4, until the loss function satisfies $| {\rm{\Delta }}{l}_{3}({\boldsymbol{\theta }})| \leqslant \epsilon $.

New window|CSV

It is obvious that when we replace the state ρ with identity matrix I in figure 3, $\mathrm{tr}({U}_{i}U)$ for any unitary Ui and U can be computed by the Hadamard test. We draw a simple diagram in figure 4. Thus, the loss function l3(θ) in algorithm 3 can be efficiently calculated in near-term quantum devices. In addition, the optimization of functions l1(θ), l2(θ) and l3(θ) will be discussed in section 4.

Figure 3.

New window|Download| PPT slide
Figure 3.The Hadamard test for estimating $\mathrm{tr}(\rho U)$.


Figure 4.

New window|Download| PPT slide
Figure 4.The Hadamard test for estimating $\mathrm{tr}({U}_{i}U)$.


Recently, Wang et al [16] provide a VQA for determining the largest T singular values of a given n × n matrix M, the related loss function L(α, β) is the linear combination of $\mathrm{Re}\langle {\psi }_{j}| {U}^{\dagger }({\boldsymbol{\alpha }}){MV}({\boldsymbol{\beta }})| {\psi }_{j}\rangle $ with weight qj, j = 1, 2, ⋯, T. Here ${\{| {\psi }_{j}\rangle \}}_{j=1}^{T}$ are computational basis and U(α), V(β) are unitary circuits. We notice that this method can also give an estimation of the trace norm by calculating all singular values when T = n. Compared with it, our algorithms directly obtain an estimation of the trace norm through training parameters instead of requiring the specific information of all singular values. Thus, our methods greatly reduce the demands of quantum resources and circuits complexity. In addition, our loss functions only contain one parameter vector which are more conducive for us to find the global optimum.

The paper [35] also have proposed a VQA for trace norms of Hermite matrix. They evaluated the trace norms due to the following formula$\begin{eqnarray}\parallel H{\parallel }_{1}=2\mathop{\max }\limits_{U}\mathrm{tr}(| 0\rangle \langle 0{| }_{R}{Q}_{R})-\sum _{i}{r}_{i},\end{eqnarray}$where ${Q}_{R}={\mathrm{tr}}_{A}{Q}_{{AR}}$, QAR = U(H ⨂ ∣r⟩⟨rR)U, ∣r⟩ is an ancillary qubit in system R, and the optimization is over all unitary matrices on composite system AR. Compared with it, our methods have the following advantages. On the one hand, our algorithms do not need purification of the quantum state which may be hard to implement in near-term quantum circuits. On the other hand, we only use an ancillary qubit to compute the value of loss function instead of participating in the unitary evolution process of the whole system. Thus, our main variational processes are only local unitary evolution which greatly reduces the difficulty of operation and resource requirements.

3. Applications

3.1. Estimation of generalized trace distances

The generalized distance [42, 43] is a measure of non-Markovianity for an open system dynamics which has significant effect in digital geometry. The generalized trace distance between two states ρ and σ acting on the Hilbert space ${ \mathcal H }$ is defined as$\begin{eqnarray}D(\rho ,\sigma )=\parallel {p}_{1}\rho -{p}_{2}\sigma {\parallel }_{1},\end{eqnarray}$where p1 and p2 are real numbers. Therefore, we design the following functions from algorithm 1 to estimate the generalized trace distances. Let$\begin{eqnarray}{f}_{\rho }({\boldsymbol{\theta }})=\displaystyle \frac{1}{2}\left(\mathrm{tr}(\rho U({\boldsymbol{\theta }}))+\mathrm{tr}({U}^{\dagger }({\boldsymbol{\theta }})\rho )\right),\end{eqnarray}$$\begin{eqnarray}{f}_{\sigma }({\boldsymbol{\theta }})=\displaystyle \frac{1}{2}\left(\mathrm{tr}(\sigma U({\boldsymbol{\theta }}))+\mathrm{tr}({U}^{\dagger }({\boldsymbol{\theta }})\sigma )\right),\end{eqnarray}$then we choose$\begin{eqnarray}{l}_{4}({\boldsymbol{\theta }})={p}_{1}{f}_{\rho }({\boldsymbol{\theta }})-{p}_{2}{f}_{\sigma }({\boldsymbol{\theta }}),\end{eqnarray}$as our loss function which is the linear combination of fρ(θ) and fσ(θ).

For the case ${p}_{1}={p}_{2}=\tfrac{1}{2}$, the generalized trace distance reduces to the trace distance$\begin{eqnarray}D(\rho ,\sigma )=\displaystyle \frac{1}{2}\parallel \rho -\sigma {\parallel }_{1}.\end{eqnarray}$It is of great significance because the trace distance qualifies how different the two quantum states are.

3.2. Variational algorithms for recognizing and quantifying entanglement

Our VQAs can also be used for recognizing and quantifying entanglement. In this section, we review the bipartite entanglement and use QVTN algorithms for recognizing and quantifying entanglement.

A bipartite state ρ is said to be separable [44, 45] if it can be written as$\begin{eqnarray}\rho =\sum _{i}{p}_{i}| {\phi }_{i}\rangle \langle {\phi }_{i}{| }_{A}\otimes | {\varphi }_{i}\rangle \langle {\varphi }_{i}{| }_{B},\end{eqnarray}$where 0 < pi ≤ 1, ∑ipi = 1, and ${\{| {\phi }_{i}\rangle \}}_{i}$ and ${\{| {\varphi }_{i}\rangle \}}_{i}$ are pure states on subsystem A and B, respectively. Consequently, a bipartite state ρ is entangled if it cannot be decomposed into the above form.

The realignment criterion in [46] says that a bipartite quantum state ρAB in ${{\mathbb{C}}}^{{k}_{1}}\otimes {{\mathbb{C}}}^{{k}_{2}}$ is separable, then$\begin{eqnarray}\parallel { \mathcal R }({\rho }_{{AB}}){\parallel }_{1}\leqslant 1,\end{eqnarray}$where ${ \mathcal R }({\rho }_{{AB}})$ is the realignment matrix of ρAB. Thus we can judge that a state ρAB is entangled by calculating the trace norm $\parallel { \mathcal R }({\rho }_{{AB}}){\parallel }_{1}$ according to our QVTN algorithms. The QVTN algorithms are also useful in permutation criterion [47] and correlation matrix criteria [29] by estimating trace norms.

As we all know the logarithmic negativity [45, 48] of a quantum state is a good entanglement measure which has wide applications in quantum information. The logarithmic negativity of a bipartite state ρAB is defined as$\begin{eqnarray}{E}_{N}({\rho }_{{AB}})=\mathrm{log}\parallel {\rho }_{{AB}}^{{T}_{B}}{\parallel }_{1},\end{eqnarray}$where TB is the partial transpose with subsystem B. So the logarithmic negativity can be efficiently estimated by our QVTN algorithms.

4. Numerical experiments

4.1. Optimization of the loss function

In this section, we discuss the optimization of loss functions li(θ) for i = 1, 2, 3, 4. There are many optimization algorithms ranging from gradient-free methods to gradient-based methods. Here we choose gradient descent (GD) [49] algorithm which can be used for first-order gradient-based optimization of loss functions.

GD algorithm is a common method to solve unconstrained optimization problems, and has a wide range of applications in optimization, statistics, and machine learning. This method is generally used to find the minimum value of the objective functions. We need to select the initial parameters ${{\boldsymbol{\theta }}}^{(1)}={\left({\theta }_{1}^{(1)},{\theta }_{2}^{(1)},\cdots ,{\theta }_{m}^{(1)}\right)}^{t}$ properly, and then move to the next point according to the gradient direction of the objective function. The iterative formula is as follows:$\begin{eqnarray}{{\boldsymbol{\theta }}}^{(s+1)}={{\boldsymbol{\theta }}}^{(s)}-\gamma \triangledown {l}_{i}({{\boldsymbol{\theta }}}^{(s)}),\end{eqnarray}$the parameter γ is a positive learning rate which determines the step length of each iteration and here ${{\boldsymbol{\theta }}}^{(s)}={\left({\theta }_{1}^{(s)},{\theta }_{2}^{(s)},\cdots ,{\theta }_{m}^{(s)}\right)}^{t}$. See the appendix for the specific process of calculating the gradient of li(θ) for i = 1, 2, 3, 4.

4.2. Numerical experiments

In this section, we apply our algorithms 1 and 3 to estimate the trace norm of two qubit Hermite matrix. We utilize a hardware efficient ansatz in the simulation including parameterized Ry and Rz operations and CNOT gates. Consider the following matrix$\begin{eqnarray}M=8{I}_{2}\otimes {I}_{2}+2{\sigma }_{x}\otimes {\sigma }_{z}+6{\sigma }_{z}\otimes {\sigma }_{x},\end{eqnarray}$where σx and σz are the Pauli matrices. Our experiments apply a quantum circuit with L = 2 layers with initial state ∣ψin⟩ = ∣0⟩ ⨂ ∣0⟩. All numerical simulations and optimization are prepared via Paddle Quantum [50] on the PaddlePaddle Deep Learning Platform [51]. The figure 5 plots the trace norm of matrix M via iterations. Our experiment values are presented with purple dashed line compared with theoretical result with blue points. The learning rate we set is LR = 0.1. As shown in figure 5, we can see that the loss function has reached global optimum corresponding to the theoretical result. Thus, we can find the the trace norm of matrix M and obtain the associated parameter θopt. The quantum parameterized circuit after training is shown in figure 6.

Figure 5.

New window|Download| PPT slide
Figure 5.The trace norm of matrix M learned by our QVTN algorithms.


Figure 6.

New window|Download| PPT slide
Figure 6.The quantum parameterized circuit after training used in numerical simulations.


5. Conclusions

In conclusion, we have presented three VQAs for estimating trace norms. The algorithms 1 and 2 are based on state decomposition, and algorithm 3 is based on unitary decomposition. The advantages of our algorithms are as follows. Firstly, our algorithms do not need Hamiltonian simulation [52], phase estimation [2] and amplitude amplification [53], showing efficient availability in NISQ era. Secondly, our method directly estimate the value of the trace norms rather than their bounds. Thirdly, our main variational processes are local unitary evolution which greatly reduces the cost.

Our algorithms have a wide range of applications in quantum information. A direct application is to calculate the trace distance that can be applied to quantify the distinction between two quantum states. Our algorithms may have further applications in quantifying the security of quantum cryptography protocols [54] and Bell non-locality [55], which have significant effects in entanglement, coherence and other quantum resources [5658].

Acknowledgments

The authors thank the referees and the editor for their invaluable comments.


Reference By original order
By published year
By cited within times
By Impact factor

Preskill J 2018 Quantum 2 79
DOI:10.22331/q-2018-08-06-79 [Cited within: 2]

Nielsen M A Chuang I L 2010 Quantum Computation and Quantum Information Cambridge Cambridge University Press
DOI:10.1017/CBO9780511976667 [Cited within: 5]

Ekert A Jozsa R 1996 Rev. Mod. Phys. 68 733
[Cited within: 1]

Grover L K 1997 Phys. Rev. Lett. 79 325
DOI:10.1103/PhysRevLett.79.325 [Cited within: 1]

Harrow A W Hassidim A Lloyd S 2009 Phys. Rev. Lett. 103 150502
DOI:10.1103/PhysRevLett.103.150502 [Cited within: 2]

Cerezo M et al. 2020 Nat. Rev. Phys.
DOI:10.1038/s42254-021-00348-9 [Cited within: 1]

Endo S Cai Z Y Benjamin S C Yuan X 2021 J. Phys. Soc. Japan. 90 032001
DOI:10.7566/JPSJ.90.032001 [Cited within: 1]

Bharti K et al. 2021 arXiv:2101.08448
[Cited within: 2]

Biamonte J 2021 Phys. Rev. A 103 030401
DOI:10.1103/PhysRevA.103.L030401 [Cited within: 2]

Peruzzo A McClean J Shadbolt P Yung M H Zhou X Q Love P J Aspuru-Guzik A O'Brien J L 2014 Nat. Commun. 5 1 7
DOI:10.1038/ncomms5213 [Cited within: 1]

Izmaylov A F Díaz-Tinoco M Lang R A 2020 Phys. Chem. Chem. Phys. 22, 12980–86
Phys. Chem. Chem. Phys. 22 12980 12986

DOI:10.1039/D0CP01707H

Cerezo M Sharma K Arrasmith A Coles P J 2020 arXiv:2004.01372


Wei S Li H Long G L 2020 Research 2020 1486935
[Cited within: 1]

Zhang Z J Kyaw T H Kottmann J Degroote M Aspuru-Guzik A 2021 Quantum Sci. Technol. 6 035001
DOI:10.1088/2058-9565/abdca4 [Cited within: 1]

Bravo-Prieto C García-Martín D Latorre J T 2020 Phys. Rev. A 101 062310
DOI:10.1103/PhysRevA.101.062310 [Cited within: 1]

Wang X Song Z X Wang Y L 2021 Quantum 5 483
DOI:10.22331/q-2021-06-29-483 [Cited within: 4]

LaRose R Tikku A O'Neel-Judy É Cincio L Coles P J 2019 NPJ Quantum Inf. 5 1 10
DOI:10.1038/s41534-019-0167-6 [Cited within: 1]

Zeng J Cao C Zhang C Xu P Zeng B 2021 Quantum Sci. Technol 6 045009
DOI:10.1088/2058-9565/ac11a7 [Cited within: 1]

Moll N et al. 2018 Quantum Sci. Technol. 3 030503
DOI:10.1088/2058-9565/aab822 [Cited within: 1]

Endo S Jones T McArdle S 2019 Phys. Rev. A 99 062304
DOI:10.1103/PhysRevA.99.012334 [Cited within: 1]

Xu X S Sun J Z Endo S Li Y Benjamin S C Yuan X 2019 arXiv:1909.03898
[Cited within: 1]

ravo-Prieto C LaRose R Cerezo M Suba Y Cincio L Coles P J 2019 arXiv:1909.05820
[Cited within: 1]

Li Y Benjamin S C 2017 Phys. Rev. X 7 021050
DOI:10.1103/PhysRevX.7.021050 [Cited within: 1]

Yuan X Endo S Zhao Q Li Y Benjamin S C 2019 Quantum 3 191
DOI:10.22331/q-2019-10-07-191

Chen M C et al. 2020 Phys. Rev. Lett. 125 180501
DOI:10.1103/PhysRevLett.125.180501

Endo S Sun J Z Li Y Benjamin S C Yuan X 2020 Phys. Rev. Lett. 125 010501
DOI:10.1103/PhysRevLett.125.010501

Smith A Kim M S Pollmann F Knolle J 2019 NPJ Quantum. Inf. 5 106
DOI:10.1038/s41534-019-0217-0 [Cited within: 1]

Rudolph O 2003 Phys. Rev. A 67 032312
DOI:10.1103/PhysRevA.67.032312 [Cited within: 1]

de Vicente J I Huber M 2011 Phys. Rev. A 84 062306
[Cited within: 2]

Vidal G Werner R F 2002 Phys. Rev. A 65 032314
DOI:10.1103/PhysRevA.65.032314 [Cited within: 1]

Hu M L Fan H 2015 New J. Phys. 17 033004
DOI:10.1088/1367-2630/17/3/033004 [Cited within: 1]

Liang J M Shen S Q Li M Li L 2019 Phys. Rev. A 99 052310
DOI:10.1103/PhysRevA.99.052310 [Cited within: 1]

Liang J M Shen S Q Li M Li L 2020 Phys. Rev. A 101 032323
DOI:10.1103/PhysRevA.101.032323 [Cited within: 1]

Golub G H Van Loan C F 1996 Matrix Computations Baltimore, MD The Johns Hopkins University Press
[Cited within: 1]

Chen R Song Z Zhao X Wang X 2020 arXiv:2012.05768
[Cited within: 4]

Aharonov D Jones V Landau Z 2009 Algorithmica 55 395 421
DOI:10.1007/s00453-008-9168-0 [Cited within: 1]

Fanizza M Rosati M Skotiniotis M Calsamiglia J Giovannetti V 2020 Phys. Rev. Lett. 124 060503
DOI:10.1103/PhysRevLett.124.060503 [Cited within: 1]

Giovannetti V Lloyd S Maccone L 2008 Phys. Rev. Lett. 100 160501
DOI:10.1103/PhysRevLett.100.160501 [Cited within: 1]

Hann C T Zou C L Zhang Y Chu Y Schoelkopf R J Girvin S M Jiang L 2019 Phys. Rev. Lett. 123 250501
DOI:10.1103/PhysRevLett.123.250501 [Cited within: 1]

Prakash A 2014 Quantum algorithms for linear algebra and machine learning.
Technical Report No. UCB/EECS-2014-211Electrical Engineering and Computer Sciences, University of California at Berkeley

[Cited within: 2]

Ezawa M 2020 arXiv:2101.07966v1
[Cited within: 1]

Chruściński D Kossakowski A Rivas Á 2011 Phys. Rev. A 83 052128
DOI:10.1103/PhysRevA.83.052128 [Cited within: 1]

Wissmann S Breuer H P Vacchini B 2015 Phys. Rev. A 92 042108
DOI:10.1103/PhysRevA.92.042108 [Cited within: 1]

Peres A 1996 Phys. Rev. Lett. 77 1413
DOI:10.1103/PhysRevLett.77.1413 [Cited within: 1]

Wang K Song Z Zhao X Wang Z Wang X 2020 arXiv:2012.14311
[Cited within: 2]

Chen K Wu L A 2002 Phys. Lett. A 306 14 20
DOI:10.1016/S0375-9601(02)01538-4 [Cited within: 1]

Zhang Y H Lu Y Y Wang G B Shen S Q 2017 Quantum Inf. Process. 16 106
DOI:10.1007/s11128-017-1555-5 [Cited within: 1]

Plenio M B 2005 Phys. Rev. Lett. 95 090503
DOI:10.1103/PhysRevLett.95.090503 [Cited within: 1]

Kingma D P Ba J 2014 arXiv:1412.6980
[Cited within: 1]

Paddle Quantum
[Cited within: 1]

https://github.com/paddlepaddle/paddle
[Cited within: 1]

Low G H Chuang I L 2017 Phys. Rev. Lett. 118 010501
DOI:10.1103/PhysRevLett.118.010501 [Cited within: 1]

Ambainis A 2010 arXiv:1010.4458v2
[Cited within: 1]

Yuen H 2014 arXiv:1410.6945
[Cited within: 1]

Brito S G A Amaral B Chaves R 2018 Phys. Rev. A 97 101103
DOI:10.1103/PhysRevA.97.022111 [Cited within: 1]

Wang X Wilde M M 2020 Phys. Rev. Lett. 125 040502
DOI:10.1103/PhysRevLett.125.040502 [Cited within: 1]

Fang K Fawzi H 2021 Commun. Math. Phys. 384 1615 1677
DOI:10.1007/s00220-021-04064-4

Chitambar E Gour G 2019 Rev. Mod. Phys. 91 025001
DOI:10.1103/RevModPhys.91.025001 [Cited within: 1]

相关话题/Variational quantum algorithms