원시데이터 수집 시스템
선정목록으로

Numerical simulations of mixed states quantum computation

관련 필름·전자재료 · (11) 배리어 필름

기본 정보

저자
  1. Gawron, P.
  2. Miszczak, J. A.
DOI
10.48550/arxiv.quant-ph/0406211
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.quant-ph/0406211
토픽
Chemical and Physical Properties of Materials
OpenAlex ID
W6910826547

평가 내용

관련도
관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We describe quantum-octave package of functions useful for simulations of quantum algorithms and protocols. Presented package allows to perform simulations with mixed states. We present numerical implementation of important quantum mechanical operations - partial trace and partial transpose. Those operations are used as building blocks of algorithms for analysis of entanglement and quantum error correction codes. Simulation of Shor's algorithm is presented as an example of package capabilities.

본문 10,413자

본문 펼치기
## Numerical simulations of mixed states quantum computation P. Gawron, J. A. Miszczk <sup>∗</sup> Institute of Pure and Applied Informatics Polish of the Academy of Science, Ba�ltycka 5, 44-100 Gliwice, Poland October 17, 2018 Abstract We describe quantum-octave package of functions useful for simulations of quantum algorithms and protocols. Presented package allows to perform simulations with mixed states. We present numerical implementation of important quantum mechanical operations – partial trace and partial transpose. Those operations are used as building blocks of algorithms for analysis of entanglement and quantum error correction codes. Simulation of Shor’s algorithm is presented as an example of package capabilities. ### 1 Motivation Most of software developed for simulations of quantum computing is based on finite dimensional Hilbert space formalism.[8, 11] Mixed state model for quantum computing allows to incorporate many features which are crucial for analysis of entanglement and decoherence. Main contribution of this work is presentation of quantum-octave package - a tool which allows to perform simulations of quantum systems using density operators formalism in convenient way. We present algorithms used in implementation of partial operations in quantum-octave. Sample results obtained using quantum-octave present capabilities of package. ∗e-mail: {gawron, miszczak}@iitis.gliwice.pl 1 ### 2 Implementation in GNU Octave language Package quantum-octave is implemented in GNU Octave language.[3] List of functions and their detailed description can be found on project web page.[10] We present here only the most important features of quantum-octave. Most of quantum-octave functions can be applied to density operators, which are represented by normalise matrices. Package offers also functions for operations on pure states. Base ket vectors and their linear combinations are easily constructed and transformed into corresponding density operators using State function, and it is easy to obtain mixtures of states using MixStates function. Computation process is performed using Evolve(gate, state) function, where gate is unitary operation. Lowlevel functions BinVec2Dec and Dec2BinVec allow for convenient use of register notation (|1⟩⊗|0⟩⊗|0⟩ . . . ⊗|0⟩). They are implemented in C++ using liboctave are they are used for manipulations of registers in PTrace and PTranspose functions. For example sequence of operaions y = Dec2BinVec (3,4); tmp = y(2); y(2) = y(3); y(3) = tmp; x = Ket(BinVec2Dec(y)); allows to permute second and third qubits in base state in four dimensional space. ### 3 Algorithms for partial operations Partial operations are crucial for analysis of quantum information processing. Partial transposition allows to distinguish entangled and sparable states in low dimensional systems.[4] This operation was used in Ref. [12] for constructing computable measure of entanglement - negativity. <sup>1</sup> 3.1 Partial transposition using registers In quantum-octave partial transposition is based on permutation of qubits indexes. Suppose we perform partial transposition with respect to some 1Negativity is defined as a sum of negative eigenvalues of density matrix after partial transposition. It is easy to check that this definition is equivalent to formula N (ρ) = ||ρ <sup>TA</sup> ||1−1 2, where ||ρ||1 denotes trace norm of density matrix ρ. 2 qubits in input state. Let Q = {q1, q2, . . ., qn} ⊂ N be the set of numbers labelling those qubits. Using register notation one can write ⟨α|ρ <sup>Tq1</sup> <sup>,...,qn</sup> |β⟩ = ⟨V (α, β, q1, . . ., qn)|ρ|V (β, α, q1, . . ., qn)⟩, (1) where i ∈{q1, . . ., qn} (2) - αβii,, i ∈{/ q1, . . ., qn} Vi(α, β, q1, . . ., qn) = and αi, βi, Vi represent i-th number in binary representation of α, β and V . 3.2 Partial trace For density matrix ρ ∈S(HA ⊗HB) one can obtain description of subsytems A and B using partial trace operation.[6, 5] In quantum-octave this operation is implemented as follows. Let Q = {q1, q2, . . ., qn} be a given set of number labelling qubits. Density operator describing state of this qubits is defined as matrix with elements ⟨α|trq1,q2,...,qn(ρ)|β⟩ = k�11=0 . . . 1 ⟨W (α, k1, . . ., kn)|ρ|W (β, k1, . . ., kn)⟩, k�n=0 (3) where α and β are binary digits of length m = N − n. Number k1, . . ., kn ∈ {0, 1} label base vectors in Hilbert spaces of qubits q1, . . ., qn respectively. Numbers W are constructed as follows W (α, k1, . . ., kn) = (W1, W2, . . ., WN ), Wi = i ∈ Q (4) - αkii,, i ∈/ Q <sup>.</sup> In quantum-octave construction of numbers W is performed using function BuildBinaryVector implemented in C++. This is motivated by extensive usage of this function. If one wants to perform partial trace operation on N -qubit system with respect to its m-qubit subsystem, function BuildBinaryVector have to be called 2 <sup>2(N</sup> <sup>−m)N</sup> times. One should note that this algorithm allows to perform partial trace with respect to any set of qubits. ### 4 Shor’s algorithm with mixed sates – fidelity and distances measures In this section we present sample results obtained by using quantum-octave. We analyse influence of states mixing on Shor’s algorithm. <sup>2</sup> The idea was 2The subject of analysis is restricted to quantum part of Shor’s algorithm. 3 1.1 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 Dependency of fidelity between density matrices and ’purity’ of state Shor’s algorithm without algorithm <u>0</u> 20 40 60 80 <u>100</u> Quantity of maximaly mixed state in mixture [%] 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 Dependency of fidelity between probability distributions and ’purity’ of state Shor’s algorithm without algorithm 0 20 40 60 80 100 Quantity of maximaly mixed state in mixture [%] (a) Fidelity between density matrices as a functions of ’purity’ of state Dependency of trace-distance and ’purity’ of state (b) Fidelity between probability distributions as a functions of ’purity’ of state Dependency of chi-square measure and ’purity’ of state 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Shor’s algorithm without algorithm 0 20 40 60 80 100 Quantity of maximaly mixed state in mixture [%] Shor’s algorithm without algorithm 0 20 40 60 80 100 Quantity of maximaly mixed state in mixture [%] 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 (c) Trace-distance as a functions of ’purity’ of state (d) Chi-square measure as a functions of ’purity’ of state Figure 1: Comparison odistancece measures between density matrices (Fig. 1(a)) and between probability distributions (Figs. 1(b)-1(d)) for simulation of Shor’s algorithm to observe how quantum state, obtained by performing quantum algorithm on non-pure state, differs from state obtained in ideal (pure state) case. On each step of simulation Initial state ρp was prepared as mixture of pure state ρ0 = | 00 . . . 0⟩⟨00 . . . 0 | and maximally mixed state Id/d d d ���� ���� (5) ⟩⟨00 . . . 0 d ���� | and maximally mixed state Id/d ρp = (1 − p)ρ0 + pId/d, (5) 4 where p ∈{0.00, 0.01, 0.02, . . ., 1.00} and Id is d-dimensional identity matrix. For each state obtained in such way the trivial and Shor’s circuits were applied and for each obtained outcome two distances and two fidelity measures were calculated. Results of those simulations are presented in Fig. 1. Shor’s algorithm is performed on 7 qubits, but only the first 3 qubits are taken into account during calculations of fidelity and distance measures because the last 4 qubits decohere and normally aren’t measured. Fidelity between density matrices, as given in Ref. 6 is proper measure which shows how much two mixed states differ.[6] To compare different methods of calculating distance between states we have chosen three functions (Eqs. 7, 8 and 9) that operate on probability distributions. Probability distributions are obtained by performing measurement of observable p1, p2 be probability distributions, and ρ1, ρ2 - density matrices. Z� ⊗ Z� ⊗ Z�. Formulas used to calculate measures are presented below. Let - Fidelity beetween density matrices F (ρ1, ρ2) = tr √ρ1, (6) �√ρ1ρ2 - Fidelity beetwen probability distributions p2(x), (7) p1(x) F (p1, p2) = where p = <sup>1</sup> 2 <sup>(p1 + p2);</sup> x�∈X - χ <sup>2</sup> -measure - Trace-distance χ <sup>2</sup> (p1, p2) = x�∈X (p1(x) − p(x)) <sup>2</sup>, (8) p(x) F (p1, p2) = <sup>1</sup> 2 x�∈X |p1(x) − p2(x)|. (9) One can conclude that for small addition of noise results differs wery much from the ideal case. The loss of quality grows slower for bigger contribution of noise. 5 ### 5 Final remarks Package quantum-octave allows to perform simulations of mixed states quantum computation in convenient way. It also provides functions for analysis of entanglement and quantum errors. Quantum protocols and algorithm such as teleportation,[1] qubit authentication[2] or Shor’s algorithm[9] can be easily implemented as GNU Octave functions and the use in futher simulations. This allows to perform simulations operating on high level quantum primitives (e.g. qubit authentication, error correcting code). ### References [1] C. Bennet, Phys. Rev. Lett., 70, 1895 (1993). [2] M. Curty et al., Phys. Rev. A, 66, 022301 (2002). [3] J. W. Eaton, “GNU Octave manual” (Network Theory Ltd., 2002). GNU Octave can be downloaded from page [http://www.octave.org/.](http://www.octave.org/) [4] M. Horodecki, Quantum Information and Computation, 1, 1 (2001). [5] M. Keyl, Physics Reports, 369, 5, (2002). [6] M. A. Nielsen, I. L. Chuang, “Quantum Computation and Quantum information”, Cambridge University Press, 2000. [7] M. N¨olle, in Lecture Notes in Computer Science, Volume 2781, (Springer-Verlag Heidelberg, 2003), pp. 84–91. [8] B. Omer, <sup>¨</sup> “Structured Quantum Programming”, Ph.D. Thesis, TU Vi enna, Vienna, 2003. [9] P. W. Shor, SIAM J. Computing, 26, 5 (1997). [10] Software described in this work can be found on quantum-octave web page: [http://quantum-octave.sourceforge.net/,](http://quantum-octave.sourceforge.net/) 2004. [11] H. Touchette, P. Dumai, “QuCalc - The quantum computation package for Mathematica”, [http://crypto.cs.mcgill.ca/QuCalc/,](http://crypto.cs.mcgill.ca/QuCalc/) 2000. [12] G. Vidal, R. F. Werner, Phys. Rev. A, 65, 032314 (2002). [13] R. F. Werner, Phys. Rev. A, 40, 4277 (1989). 6

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.