Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2020 May 25;12142:616–626. doi: 10.1007/978-3-030-50433-5_47

Optimal Representation of Quantum Channels

Paulina Lewandowska 8,, Ryszard Kukulski 8, Łukasz Pawela 8
Editors: Valeria V Krzhizhanovskaya8, Gábor Závodszky9, Michael H Lees10, Jack J Dongarra11, Peter M A Sloot12, Sérgio Brissos13, João Teixeira14
PMCID: PMC7304750

Abstract

This work shows an approach to reduce the dimensionality of matrix representations of quantum channels. It is achieved by finding a base of the cone of positive semidefinite matrices which represent quantum channels. Next, this is implemented in the Julia programming language as a part of the QuantumInformation.jl package.

Keywords: Julia programming language, Computational quantum information, Quantum channels, Convex cones, Base of hermiticity preserving maps

Introduction

Nowadays the fields of quantum information processing and machine learning are coming together leading to the emergence of quantum machine learning [1, 2]. This area can be broadly divided into three, depending whether the data, algorithms or both are of quantum or classical nature. In this work we are interested in the case of quantum data being processed by a classical algorithm. The natural question arises: how this data should be represented and loaded into our algorithm? To be more precise, we are interested how to represent quantum channels in a succinct manner so that it can be an input into a classical neural network.

The goal of such a network would be to approximate, up to a reasonable error the distance between two channels Inline graphic and Inline graphic. As Inline graphic and Inline graphic are linear mappings transforming matrices into matrices it may not seem obvious how to define the distance between them. Turns out, there exists one notion of distance between channels which has an operational interpretation. The distance between Inline graphic and Inline graphic can be expressed in the terms of so called diamond norm

graphic file with name 500809_1_En_47_Equ1_HTML.gif 1

This quantity plays a central role in the problem of quantum operation discrimination which has gained a lot of traction recently. This is due to the fact that this distance provides an upper bound on the probability of discrimination of Inline graphic and Inline graphic.

Consider a following setup. We are given a black box which is said to contain, with equal probability, either Inline graphic or Inline graphic. What is the probability of guessing which of these is in the box if we are allowed to use the box only once? Turns out that this probability p is connected with the distance between Inline graphic and Inline graphic [3]

graphic file with name M13.gif 2

However the explicit form of the diamond norm contains an optimization over all input matrices X. In principle this can be solved via semidefinite programming, but regrettably this quickly becomes intractable with the growing dimension of the input matrix. That is why it would desirable to have the possibility to train a classical algorithm, like a neural network, on a relatively small set of quantum channels and have the ability to quickly approximate the distance between arbitrary channels utilizing this network.

That is why this paper aims at finding an optimal representation of quantum channels for the purposes of machine learning. By optimal we understand the lowest possible number of real parameters needed to define a quantum channel [4]. Further, we would like this representation to be technically usable so that we could train, for instance, neural networks to approximate functions of this objects. This approach could provide a large speed boost in the problem of quantum channel discrimination [3, 5].

Our work is naturally divided into three parts. In the first part we show the mathematical structures needed to find the optimal representation. This involves dealing with cones of positive semidefinite matrices. The second part we present the example of whereas the last part presents the implementation of this example in the Julia language. This implementation is now a part of the QuantumInformation.jl [6, 7] numerical library available on-line at https://github.com/iitis/QuantumInformation.jl. Surprisingly, despite the complex mathematical structure and quite technical proofs, the implementation is relatively simple and therefore useful.

Mathematical Framework

Quantum Channels

Let Inline graphic, Inline graphic be complex finite-dimensional vector spaces, let Inline graphic be the set of all linear operators transforming vectors from Inline graphic to Inline graphic and denote Inline graphic. Further, consider mappings of the form

graphic file with name M20.gif 3

The set of all such mappings will be denoted Inline graphic and Inline graphic. Quantum channels are such Inline graphic which are trace preserving and completely positive. The former means that

graphic file with name M24.gif 4

The latter is a bit more complicated. Formally this condition can be written as

graphic file with name 500809_1_En_47_Equ5_HTML.gif 5

The intuitive explanation is as follows. First, consider a Inline graphic such that Inline graphic and Inline graphic. Such an operator is called a quantum state. We would like our channels not only to transform states into states, but also we would like the ability to perform a channel on only a part of the system. In other words we would like the output of Inline graphic to also be a proper quantum state for an arbitrary space Inline graphic and all Inline graphic. This can only be fulfilled when we introduce the need for completely positivity. We will denote the set of all quantum channels as Inline graphic and Inline graphic.

The mappings Inline graphic may be represented in a number of ways. For our purposes only the Choi-Jamiołkowski isomorphism [8, 9] will be relevant. This representation states that there exists a bijection J between the sets Inline graphic and Inline graphic. This bijection can be explicitly written as

graphic file with name 500809_1_En_47_Equ6_HTML.gif 6

Inline graphic is completely positive if and only if Inline graphic; Inline graphic is trace preserving if and only if Inline graphic. Finally, Inline graphic is Hermiticity preserving if and only if Inline graphic, where Inline graphic denotes the set of all Hermitian matrices in Inline graphic.

Convex Cone Structures

Consider Inline graphic is a real finite-dimensional vector space and Inline graphic is a closed convex cone. We assume that Inline graphic is pointed, i.e. Inline graphic and generating, i.e. for each Inline graphic there exists Inline graphic such that Inline graphic. Such a cone Inline graphic is called a proper cone in the space Inline graphic. The proper cone Inline graphic becomes a partially ordered vector space Inline graphic for each Inline graphic. Let Inline graphic be the space dual to Inline graphic defined by the inner product Inline graphic. Then, we may introduce a partial order in Inline graphic as well with the dual cone

graphic file with name M58.gif 7

The cone Inline graphic is also closed and convex cone. If Inline graphic is generating in space Inline graphic, then Inline graphic is pointed and we may introduce partial order in Inline graphic given by

graphic file with name M64.gif 8

for all Inline graphic.

An interior point Inline graphic of a cone Inline graphic is called an order unit [10] if for each Inline graphic, there exists Inline graphic such that Inline graphic whereas a base of Inline graphic is defined as compact and convex subset Inline graphic such that for every Inline graphic, there exists unique Inline graphic and an element Inline graphic such that Inline graphic The following theorem shows there exists relation between the order unit e and a base of cone Inline graphic.

Theorem 1

The set Inline graphic is the base of Inline graphic (determined by element e) if and only if an element e is an order unit and Inline graphic.

The proof of this theorem is presented in Appendix A.

Base of Hermiticity Preserving Maps

Let us now define the finite-dimensional linear space

graphic file with name M81.gif 9

Due to the Choi–Jamiolkowski isomorphism, the set of all Hermiticity preserving linear maps of a finite-dimensional space is mathematically closely related to the set

graphic file with name M82.gif 10

of all Choi matrices of Hermiticity preserving maps.

In every linear space of Hermitian matrices Inline graphic we can introduce an orthonormal basis Inline graphic. The basis Inline graphic is a collection of Inline graphic matrices. The standard orthonormal basis is denoted by the set

graphic file with name 500809_1_En_47_Equ11_HTML.gif 11

If we consider the space Inline graphic of all Choi matrices of Hermiticity preserving maps we receive the Inline graphic dimensional space. To reduce the number of dimensions of Inline graphic we introduce the concept of a cone in this space and the base of cone.

Now we introduce a proper cone in the space Inline graphic as

graphic file with name M91.gif 12

and a subspace Inline graphic such that

graphic file with name 500809_1_En_47_Equ13_HTML.gif 13

Fact 1

The set of Choi matrices of quantum channels Inline graphic is the intersection of sets

graphic file with name 500809_1_En_47_Equ14_HTML.gif 14

We can also introduce the orthogonal complement Inline graphic of Inline graphic which is given by

graphic file with name M96.gif 15

Fact 2

The set Inline graphic is given by

graphic file with name 500809_1_En_47_Equ16_HTML.gif 16

The proof of this fact is presented in Appendix B.

We can also consider a proper cone Inline graphic in space Inline graphic given by Inline graphic and a base Inline graphic of the cone Inline graphic. We can prove, using Theorem 1, that the set Inline graphic is the base of cone Inline graphic if and only if Inline graphic for some order unit Inline graphic. The base Inline graphic determined by an order unit E will be denoted as Inline graphic and is given by

graphic file with name M109.gif 17

One can easily see that identity matrix Inline graphic is an order unit in cone Inline graphic. Thus we have the following observation.

Fact 3

For Inline graphic the base Inline graphic is determined by the set of Choi matrices of quantum channels Inline graphic i.e.

graphic file with name M113.gif 18

We are ready to establish the main result of our work.

Theorem 2

The linear space Inline graphic is the smallest linear subspace containing the set of quantum channels Inline graphic with orthonormal basis Inline graphic given by

graphic file with name 500809_1_En_47_Equ19_HTML.gif 19

Moreover,

graphic file with name M117.gif 20

The proof of this theorem is presented in Appendix C.

Combining Theorem 2 with Fact 1 we obtain the following corollary.

Corollary 1

Every quantum channel Inline graphic can be uniquely determined by Inline graphic real numbers.

Moreover, there exists extra, single non-zero coefficient which is fixed for all quantum channels Inline graphic. Existence of this coefficient is a consequence of trace preserving condition Inline graphic and it can be calculated via

graphic file with name 500809_1_En_47_Equ21_HTML.gif 21

As a conclusion, we reduced the dimension of computational space by Inline graphic,

Example

In this section we present how one can use the Julia language and QuantumInformation.jl library in order express quantum channels as vectors in the space Inline graphic.

Let us consider Inline graphic and Inline graphic along with quantum channels Inline graphic given by

graphic file with name M126.gif 22

and Inline graphic defined as

graphic file with name M128.gif 23

where Inline graphic denotes the Hadamard product.

First we calculate the Choi matrices of Inline graphic given by

graphic file with name M131.gif 24

Analogously for Inline graphic we have

graphic file with name M133.gif 25

Now we use the function channelbasis. The inputs of this function are the dimensions of spaces Inline graphic and Inline graphic of channels Inline graphic. The function returns an orthonormal basis of Inline graphic. Then, we are able to use the function represent which factor out Choi matrices Inline graphic on basis elements and returns a vector representations Inline graphic of basis coefficients. In our examples we have

graphic file with name M140.gif 26

where Inline graphic denotes vector of zeros of length i. If we want to reverse vector representation process, we can use function combine. The output matrix elements shall be accurate with original Choi matrix elements to Inline graphic or better.

The explicit code of implementation in Julia language is presented in Appendix D.

Conclusion

In this work we find a matrix basis for quantum channels and provide strict mathematical proofs supporting our result. This basis allows us to reduce the dimensionality of the matrix which represents a quantum channel. This, in turn, allows us to speed up computation of a class of functions of these channels, which is applicable in, for instance, the study of quantum channel discrimination. Our analytical results are accompanied by functions written in the Julia language which decompose a given quantum channel in our basis. This implementation is now a part of the QuantumInformation.jl package [6, 7].

Acknowledgements

This work was supported by the Foundation for Polish Science (FNP) under grant number POIR.04.04.00-00-17C1/18-00.

A Proof of Theorem 1

Proof

Inline graphic” Consider that Inline graphic is a base of Inline graphic. An element Inline graphic if and only if there exists Inline graphic such that the ball Inline graphic, which is equivalent above condition

graphic file with name M149.gif 27

By using the fact that in finite-dimensional spaces all norms are equivalent, we use the definition of induced norm given by

graphic file with name M150.gif 28

Then, we have

graphic file with name M151.gif 29

Assume that Inline graphic, Inline graphic and Inline graphic. Then, we have

graphic file with name M155.gif 30

If Inline graphic, then Inline graphic. Hence Inline graphic That entails that Inline graphic. By using the assumption we have Inline graphic, which implies that Inline graphic.

Inline graphic” Now consider that Inline graphic is an order unit. It easy to see that Inline graphic is a convex set. First we prove that Inline graphic. Let Inline graphic and Inline graphic. If Inline graphic, then Inline graphic. It suffices to show that Inline graphic. We will show this fact by contradiction. Assume that Inline graphic and let Inline graphic. By the Hahn–Banach theorem [11], there exists Inline graphic such that Inline graphic. Then,

graphic file with name M175.gif 31

It implies that Inline graphic, which is contradiction with the assumption Inline graphic. Therefore, Inline graphic.

Let us see that if Inline graphic and Inline graphic, then each element Inline graphic can be written as Inline graphic. To prove that Inline graphic is compact we note that Inline graphic is a finite-dimensional space. Then the set Inline graphic is compact if and only if Inline graphic is closed and bounded. To prove that Inline graphic is closed, we take any sequence Inline graphic such that Inline graphic. By the inner product continuity, we get

graphic file with name M190.gif 32

It implies that Inline graphic. Therefore Inline graphic is closed. To prove that Inline graphic is bounded we show there exists Inline graphic such that Inline graphic for every Inline graphic. Let us take a compact sphere Inline graphic and closed cone Inline graphic. Then Inline graphic is also compact. Notice the function Inline graphic given by Inline graphic, where e is an order unit. By the Weierstrass theorem, a function f attains infimum and supremum. Therefore there exists Inline graphic such that Inline graphic. Consider by contradiction that Inline graphic. We have Inline graphic, where Inline graphic, which is a contradiction with the assumption Inline graphic. Thus there exists Inline graphic such that Inline graphic for every Inline graphic, hence Inline graphic Taking Inline graphic, we get thesis.

B Proof of Fact 2

Proof

It is clear that Inline graphic. Consider a linear space Inline graphic which is Inline graphic dimensional. Let Inline graphic. The condition Inline graphic in the space Inline graphic is equivalent to

graphic file with name M218.gif 33

for all Inline graphic. This homogeneous system of Inline graphic linear equations is linearly independent. By rank–nullity theorem [12], we have

graphic file with name M221.gif 34

Therefore, Inline graphic. To complete the proof, note that

graphic file with name 500809_1_En_47_Equ35_HTML.gif 35

C Proof of Theorem 2

Proof

According to Fact 3 the set Inline graphic is the base of a proper cone Inline graphic. That means

graphic file with name 500809_1_En_47_Equ36_HTML.gif 36

Now we fix an orthonormal basis of the space Inline graphic. Let it be given as the collection

graphic file with name M226.gif 37

By using Fact 2, if we take Inline graphic, than there exists Inline graphic, Inline graphic such that Inline graphic. Let us set up the basis of Inline graphic

graphic file with name 500809_1_En_47_Equ38_HTML.gif 38

Bearing in mind the relation Inline graphic, we conclude that basis of Inline graphic can be chosen as Inline graphic, namely

graphic file with name 500809_1_En_47_Equ39_HTML.gif 39

which completes the proof.

D Julia implementation

Here, we present the code structure for the basis representation of Choi matrix of a qubit unitary channel Inline graphic given by Eq. (22).

graphic file with name 500809_1_En_47_Figa_HTML.jpg

Contributor Information

Valeria V. Krzhizhanovskaya, Email: V.Krzhizhanovskaya@uva.nl

Gábor Závodszky, Email: G.Zavodszky@uva.nl.

Michael H. Lees, Email: m.h.lees@uva.nl

Jack J. Dongarra, Email: dongarra@icl.utk.edu

Peter M. A. Sloot, Email: p.m.a.sloot@uva.nl

Sérgio Brissos, Email: sergio.brissos@intellegibilis.com.

João Teixeira, Email: joao.teixeira@intellegibilis.com.

Paulina Lewandowska, Email: plewandowska@iitis.pl, https://iitis.pl/en/person/plewandowska.

References

  • 1.Biamonte J, Wittek P, Pancotti N, Rebentrost P, Wiebe N, Lloyd S. Quantum machine learning. Nature. 2017;549:195–202. doi: 10.1038/nature23474. [DOI] [PubMed] [Google Scholar]
  • 2.Wittek P. Quantum Machine Learning: What Quantum Computing Means to Data Mining. Cambridge: Academic Press; 2014. [Google Scholar]
  • 3.Helstrom CW. Quantum Detection and Estimation Theory. Cambridge: Academic Press; 1976. [Google Scholar]
  • 4.Holbrook JA, Kribs DW, Laflamme R. Noiseless subsystems and the structure of the commutant in quantum error correction. Quantum Inf. Process. 2003;2(5):381–419. doi: 10.1023/B:QINP.0000022737.53723.b4. [DOI] [Google Scholar]
  • 5.Jenčová A. Base norms and discrimination of generalized quantum channels. J. Math. Phys. 2014;55(2):022201. doi: 10.1063/1.4863715. [DOI] [Google Scholar]
  • 6.QuantumInformation.jl. https://github.com/iitis/QuantumInformation.jl
  • 7.Gawron P, Kurzyk D, Pawela Ł. QuantumInformation.jl–a Julia package for numerical computation in quantum information theory. PLoS ONE. 2018;13(12):e0209358. doi: 10.1371/journal.pone.0209358. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Choi M-D. Completely positive linear maps on complex matrices. Linear Algebra Appl. 1975;10(3):285–290. doi: 10.1016/0024-3795(75)90075-0. [DOI] [Google Scholar]
  • 9.Jamiołkowski A. Linear transformations which preserve trace and positive semidefiniteness of operators. Rep. Math. Phys. 1972;3(4):275–278. doi: 10.1016/0034-4877(72)90011-0. [DOI] [Google Scholar]
  • 10.Fuchssteiner B, Lusky W. Convex Cones. Amsterdam: Elsevier; 2011. [Google Scholar]
  • 11.Rudin W. Principles of Mathematical Analysis. New York: McGraw-Hill; 1964. [Google Scholar]
  • 12.Meyer CD. Matrix Analysis and Applied Linear Algebra. Philadelphia: SIAM; 2000. [Google Scholar]

Articles from Computational Science – ICCS 2020 are provided here courtesy of Nature Publishing Group

RESOURCES