기본 정보
- 저자
- DOI
- 10.48550/arxiv.quant-ph/9910091
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.quant-ph/9910091
- 토픽
- Chemical and Physical Properties of Materials
- OpenAlex ID
- W6891881273
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Making use of an universal quantum network -- QCPU proposed by me\upcite{My1}, it is obtained that the whole quantum network which can implement some the known quantum algorithms including Deutsch algorithm, quantum Fourier transformation, Shor's algorithm and Grover's algorithm.
본문 17,251자
본문 펼치기
## Quantum CPU and Quantum Algorithm ∗
An Min WANG <sup>1,2,3</sup>
CCAST(World Laboratory) P.O.Box 8730, Beijing 100080 <sup>1</sup>
and Laboratory of Quantum Communication and Quantum Computing
University of Science and Technology of China <sup>2</sup>
Department of Modern Physics, University of Science and Technology of China
P.O. Box 4, Hefei 230027, People’s Republic of China <sup>3</sup>
Making use of an universal quantum network - QCPU proposed by me <sup>[6]</sup>,
it is obtained that the whole quantum network which can implement some
the known quantum algorithms including Deutsch algorithm, quantum Fourier
transformation, Shor’s algorithm and Grover’s algorithm.
PACS: 03.67.Lx, 89.80.+h, 03.67-a
Quantum computing <sup>[1,2]</sup> has attracted a lot of physicists since Shor found his quantum
algorithm of factorization of a large number. <sup>[3]</sup> This is because that Shor’s algorithm can
speed up exponentially the factorization computation in a quantum computer than doing
this in a classical computer. From then, quantum computer appears very promising and
quantum algorithm plays a vital role. Actually, the high efficiency of quantum computer is
just profited by the good quantum algorithms.
Both classical and quantum algorithms consist of a series of quantum computing steps.
In the quantum algorithm, a computing step can be a transformation or a quantum mea
surement. The final quantum computing task made of these steps is represented usually
by the summation and product of them, which formed an total unitary transformation. In
order to implement a given quantum algorithm including quantum simulating procedure,
one needs to design, assemble and scale these quantum computing steps so that one finally
∗Supported by the National Natural Science Foundation of China under Grant No. 69773052 and
the Fellowship of China Academy of Sciences
1
can obtain a whole quantum network.
Roughly speaking, the quantum network can be divided into three levels. First, the
fundamental quantum network consists of a few basic quantum gates. Usually it can be
constructed in the different methods. Secondly, the simple quantum network corresponds
to a given computing step, which consists of the quantum gates and/or the fundamental
quantum networks acting synchronously in time. The last is the complicated quantum
network is made of the fundamental and simple quantum networks. A quantum algorithm
is usually implemented by a complicated quantum network.
As is well known, Barenco et.al’s proposed a beautiful method to design a quantum
network in terms of the elementary gates. <sup>[4]</sup> However, so far one has not found how to
assemble the quantum network for the summation of simultaneous transformations into a
multiplication form. For example, although we have the quantum network for quantum
Fourier transformation, <sup>[5]</sup> it only can act on one state. Moreover, for the product of a
series of successive transformations such as the time evolution operator, one doesn’t know
how to scale them into a whole quantum network. At present, except for the simplest
Deustch’s algorithm, I have not seen there is the whole quantum networks for the known
main quantum algorithms. It is perhaps difficult to arrive at this aim only by Barenco et.al’s
method. Thus, it seems to me that it is worth finding the new method since the integrality
of the quantum network is necessary in practice. In this letter, by making use of an universal
quantum network – QCPU proposed by me, <sup>[6]</sup> I obtain the whole quantum network which can
implement some the known quantum algorithms including Deutsch algorithm, <sup>[2]</sup> quantum
Fourier transformation, Shor’s algorithm <sup>[3]</sup> and Grover’s algorithm. <sup>[7]</sup> In fact, QCPU also
can be used in quantum simulating. <sup>[8]</sup>
An universal quantum network for quantum computing U is defined as: <sup>[6]</sup>
Q(U) =
2 <sup>k</sup> −1
m,n=0
exp{(Umn|m⟩⟨n| ⊗ IA) · CA <sup>†</sup> <sup>}</sup> (1)
where IR and IA are the identity matrices in the register space and the auxiliary qubit space
respectively, and C <sup>†</sup>
A <sup>†</sup> <sup>=</sup> <sup>IR</sup> <sup>⊗</sup> <sup>c†</sup> A
<sup>†</sup> A <sup>=</sup> <sup>IR</sup> <sup>⊗|1⟩AA⟨0|.</sup> <sup>If</sup> <sup>the</sup> <sup>graphics</sup> <sup>rules</sup> <sup>for</sup> <sup>the</sup> <sup>factor</sup> <sup>with</sup>
2
form exp{(Umn|m⟩⟨n|) · CA <sup>†</sup> <sup>}</sup> <sup>are</sup> <sup>given</sup> <sup>out,</sup> <sup>the</sup> <sup>picture</sup> <sup>of</sup> <sup>quantum</sup> <sup>network</sup> <sup>Q(U)</sup> <sup>can</sup> <sup>be</sup>
drawn easily. It is easy to verify that Q(U) can implement a general quantum computing.
In this sense, it can be called the Quantum CPU. It is the most important that Q(U) has
two very useful new properties
Q(U1 + U2 + · · · + Ur) = Q(U1)Q(U2) · · · Q(Ur), (2)
A
Q(U1U2 · · · Ur) = IR ⊗ IA + C <sup>†</sup>
j=1
��r
CAQ(Uj)
CACA <sup>†</sup> <sup>,</sup> (3)
where CA is the so-called “Connector” defined by CA = IR ⊗ cA = IR ⊗|0⟩AA⟨1|. It is used
to the preparing transformed state so that this prepared state can be used in the successive
<sup>2</sup> A <sup>= c†</sup> A <sup>2</sup>
<sup>†</sup> A <sup>+ c</sup> A <sup>†</sup>
transformation. Furthermore, note that there are the relations c <sup>2</sup>
<sup>†</sup> A <sup>2</sup> <sup>= 0; cAc†</sup> A
A <sup>†</sup> <sup>cA</sup> <sup>=</sup>
IA, thus cA and c <sup>†</sup> A <sup>can</sup> <sup>be</sup> <sup>thought</sup> <sup>of</sup> <sup>as</sup> <sup>the</sup> <sup>fermionic</sup> <sup>annihilate</sup> <sup>and</sup> <sup>create</sup> <sup>operators</sup>
respectively in the auxiliary qubit. In order to give out the realization of QCPU for the
product of transformation in a form of full multiplication, eq.(3) can be rewritten as
Q¯(U1U2 · · · Ur) = (IR)input ⊗
CA <sup>†</sup>
out
CACA <sup>†</sup>
A
j=1
��r
CAQ(Uj)
, (4)
while the initial state is now prepared as (|Ψ(t)⟩)input ⊗(|Ψ(t)⟩⊗|0⟩A)out. Therefore, it seems
to me this new construction of the universal quantum network is scalable easily.
This QCPU is universal because it can implement a general quantum computing task,
including the general quantum algorithm and the quantum simulating procedure. This
QCPU and its realizations are standard and easy-assemble because they only have two
kinds of basic elements and two auxiliary elements. This QCPU and its realizations are
scalable because they can easily connect each other. This QCPU is favor to the design
of quantum algorithm including quantum simulating because it gives out the standard and
explicit realization for each computing step. This QCPU is possible helpful for programming
it since its simplicity in design. In terms of the QCPU, it is easy to obtain the whole quantum
networks for the known main quantum algorithms as seen in the following.
3
Deutsch’s problem is the first quantum algorithm and is the simplest one. However, it
explains some important properties in quantum computing. Only taking one input qubit x
and one output qubit f (x) (unknown function), we altogether have four possible values of
the function f1(0) = f1(1) = 0; f2(0) = f2(1) = 1; f3(0) = 0 and f3(1) = 1; f4(0) = 1 and
f4(1) = 0, because each f (0) and f (1) have two possible values. This problem is to judge
whether f is constant (f (0) = f (1), such as f1 or f2) or balanced (f (0)̸ = f (1), such as f3
or f4). Intuitively, the best classical strategy is to calculate f explicitly for input 0 and 1,
and then to compare them. Therefore, in order to solve this problem, one has to two times
calculations for the function f . However, quantum algorithm only needs single calculation
to get the result. This algorithm was first proposed by Deutsch. <sup>[2]</sup> Now it has been improved
and extended. <sup>[5]</sup> Deutsch’s algorithm can be described by the following four steps. First,
prepare the first and second qubits respectively in |0⟩ and |1⟩. The total quantum state is
|01⟩. Secondly, act on each qubit by Hadamard transformation H = (σ1 + σ3)/
√
2, where
σ1, σ3 are usual Pauli matrix. Thus, it leads that H ⊗ H|01⟩ = (|00⟩−|01⟩ + |10⟩−|11⟩)/2.
Thirdly, define a two-qubit gate Uf : |i, j⟩→|i, j ⊕ f (i)⟩, where i, j = 0, 1 and ⊕ means
addition and mod 2. It acts on the above superposition state. The last, again act on each
qubit by Hadamard transformation. It is easy to verify that the final state is |01⟩ (if f = f1);
−|01⟩ (if f = f2); |11⟩ (if f = f3); −|11⟩ (if f = f4). Therefore, to make a measurement to
the first qubit will reveal if the function is constant (output 0) or balanced (output 1).
Obviously, Deutsch’s algorithm can be written as the following:
U(Deutsch) =
=
1 0 0 0
0 (−) <sup>f</sup> <sup>(0)</sup> δf (0)f (1) 0 ǫf (0)f (1)
0 0 1 0
0 ǫf (0)f (1) 0 (−) <sup>f</sup> <sup>(0)</sup> δf (0)f (1)
(5)
⊗
+
⊗
, (6)
1 0
0 (−) <sup>f</sup> <sup>(0)</sup> δf (0)f (1)
0 1
1 0
0 0
0 ǫf (0)f (1)
1 0
0 1
where δf (0)f (1) = 1 if f (0) = f (1), otherwise it is zero, and ǫf (0)f (1) is an usual antisymmetric
4
tensor defined by ǫ01 = −ǫ10 = 1, the others are zero. Furthermore, Deutsch’s algorithm
can be simplified as an unitary transformation acting on the single qubit:
. (7)
V (Deutsch) =
(−) <sup>f</sup> <sup>(0)</sup> δf (0)f (1) ǫf (0)f (1)
ǫf (0)f (1) (−) <sup>f</sup> <sup>(0)</sup> δf (0)f (1)
Thus, from this matrix it follows that eq.(6) is equivalent to the realization of QCPU
Q(V (Deutsch)) =
1
m,n=0
exp{[Vmn(Deutsch)|xm⟩⟨xn| ⊗ IA] · C <sup>†</sup> }. (8)
Its action on |1⟩⊗|0⟩A will give the expected result. To make a measurement in basis |11⟩
will reveal if the function is constant (output 0) or balanced (output 1).
Quantum Fourier transformation plays an important role in quantum algorithm including
factorization, search and simulating. <sup>[5]</sup> Its matrix F reads
1
F = √N
N −1
m,n=0
1
F <sup>−1</sup> =
e <sup>2πimn/N</sup> |xm⟩⟨pn|, √N
N −1
m,n=0
e <sup>−2πimn/N</sup> |pm⟩⟨xn|. (9)
Quantum Fourier transformation can be rewritten as
k
j=1
k
⊗,j=1
2 <sup>k</sup> −1
n=0
F =
2 <sup>k</sup> −1
n=0
1
√2 <sup>(|0⟩</sup> <sup>+ e2j</sup> <sup>iπn/(2k−1)|1⟩)⟨pn| =</sup>
(10)
Bj(2 <sup>j</sup> πn/(2 <sup>k</sup> - 1)Hj|0⟩⟨pn|.
From the definition of QCPU (1), it is easy to get
2 <sup>k</sup> −1
m=0
2 <sup>k</sup> −1
n=0
Q(F ) =
2 <sup>k</sup> −1
Q[B(n)HM0n] =
n=0
exp{[(B(n)H)m0|m⟩⟨n| ⊗ IA] · C <sup>†</sup> }, (11)
⊗,j=0 <sup>Bj[2jπn/(2k −</sup> <sup>1)]]Hj</sup> <sup>and</sup> <sup>M0n</sup> <sup>= |0⟩⟨xn|.</sup>
⊗,j=0
Shor’s algorithm is
where B(n)H = <sup>�2k−1</sup>
Shor’s algorithm is used to the factorization of a large number N. It can speed up
exponentially computing in a quantum computer than doing this in a classical computer.
Shor’s algorithm can be described by the following five steps. First, start with two k−qubit
registers in |0⟩|0⟩, then prepare the first register into a superposition with the equal weight
in terms of Fourier transformation or k−qubit Hadamard gate denoted by H:
H|0⟩|0⟩ =
2 <sup>k</sup> −1
|n⟩|0⟩. (12)
n=0
5
Secondly, select randomly a factor a and make a mapping
2 <sup>k</sup> −1
n=0
2 <sup>k</sup> −1
n=0
|n⟩|0⟩
G
−→
|n⟩|a <sup>n</sup> modN⟩. (13)
Obviously
G =
2 <sup>k</sup> −1
n=0
|n⟩|a <sup>n</sup> modN⟩⟨n|⟨0|. (14)
Thirdly, measure the second register by I1 ⊗|a <sup>m</sup> modN ⟩⟨a <sup>m</sup> modN | and obtain the result:
j=0
|jr + l⟩|u⟩. Fourthly, do Fourier transformation F to the first register so that
�[2k/r]−1 2 <sup>k</sup> −1
1
UDFT|jr + l⟩ = √2
2 <sup>k</sup>
2 <sup>k</sup> −1
y=0
y=0
exp{2πi(jr + l)y/2 <sup>k</sup> }|y⟩. (15)
1
and obtain the final state √r
m=0
r−1
m=0
exp(2πilm/r)|m2 <sup>k</sup> /r⟩. The last, measure the first register
in the basis y = m2 <sup>k</sup> /r. If one obtains one values y, then solve equation y/2 <sup>k</sup> = m/r to
find the period. Once r is known the factors of N are obtained by calculating the greatest
common divisor of N and a <sup>r/2</sup> ± 1.
Thus, the main steps in Shor’s algorithm can be represented by one total transformation
matrix:
U(Shor) = (F ⊗ I2)M(a <sup>m</sup> modN)GH; M(n) = I1 ⊗|n⟩⟨n|. (16)
The product of the serval matrices is an easy problem. After we know the form of U(Shor),
we are able to obtain the parameters to determine the realization of QCPU which can
implement Shor’s algorithm. But, it is more convenient, sometime more efficient, to connect
the several realizations of QCPU for quantum computing steps and quantum measurement
corresponding this algorithm together. Since we have had the realization of QCPU for
quantum Fourier transformation, we only need the realizations of QCPU for H and G.
Obviously, starting from the initial state |0⟩1 ⊗|0⟩2|0⟩A, it follows that Q(H) is
Q(H) = CA <sup>†</sup>
k
j=1
(CQ(Hj ⊗ I2)) · CACA <sup>†</sup> <sup>.</sup> (17)
(CQ(Hj ⊗ I2)) · CACA <sup>†</sup>
6
Note that Hj is a Hadamard transformation only acting on the j− qubit in the first register
and the second register has kept the original state. We do not need to add the other input
register. The realization of QCPU for Mapping G can read
Q(G) =
2 <sup>k</sup> −1
n=0
exp{(|n⟩|a <sup>n</sup> modN⟩⟨n|⟨0|) ⊗ IA) · C <sup>†</sup> }. (18)
Therefore the whole quantum network for Shor’s factorization can be obtained:
out <sup>.</sup>
(19)
Q¯(Shor) = (IR)input ⊗
�CA <sup>†</sup>
<sup>†</sup> A
A <sup>CAQ(F</sup> <sup>⊗</sup> <sup>I2)M(ammodN) ⊗</sup> <sup>IACAQ(G)CAQ(H)CAC</sup> <sup>†</sup>
A
From this example about Shor’s algorithm, it seem to me to design a quantum algorithm is to
seek an appropriate summation and product form of a series of simultaneous and successive
quantum transformations as well as quantum measurements, and to implement a quantum
algorithm is to give the realizations of QCPU for every transformations and then connect
them including quantum measurements together. It is so standard and convenient.
Grover’s algorithm is used to search the expected term in the unstructured data. It can
be described by the following four steps. First, start with a k−qubit registers in |0⟩, then
prepare it into a superposition with the equal weight in terms of Fourier transformation or
n=0
k−Hadamard gate, that is H|0⟩ = <sup>�2k−1</sup>
n=0 <sup>|n⟩.</sup> <sup>Secondly,</sup> <sup>do</sup> <sup>a</sup> <sup>reflection:</sup>
R2 = I - 2|j⟩⟨j| =
2 <sup>k</sup> −1
n=0
n=0
(−1) <sup>δjm</sup> |xm⟩⟨xm|, (20)
where j corresponds to the expected data. Thirdly, make the following operation:
R1 = F <sup>−1</sup> R0F = F <sup>−1</sup> [2|0⟩⟨0| − I]F = −F <sup>−1</sup>
2 <sup>k</sup> −1
m=0
m=0
(−) <sup>δ0m</sup> |xm⟩⟨xm|F, (21)
where I is an identity matrix, F is a quantum Fourier transformation, F <sup>−1</sup> is its inverse and
R0 = 2|0⟩⟨0| − I. The last, repeat R1R2
√Nπ/4 times and then do all measurements.
Since the quantum network for quantum Fourier transformation has been obtained and
its inverse has the similar realization but its parameters with a negative sign. While R0 and
R2 is diagonal, it is very easy to get from our definition of QCPU
7
Q(R0) = exp{(2|0⟩⟨0| ⊗ IA) · C <sup>†</sup> } exp{−CA <sup>†</sup> <sup>}</sup> (22)
Q(R2) = Q(IR) exp{(−2|xj⟩⟨xj| ⊗ IA) · C <sup>†</sup> } exp{CA <sup>†</sup> <sup>}.</sup> (23)
Thus the quantum network for Grover’s algorithm is just obtained
Q(Grover) = (IR)input ⊗
�CA <sup>†</sup>
A <sup>†</sup> <sup>CAQ(F −1)CQ(R0)CQ(F</sup> <sup>)CQ(R2)CQ(H)CAC</sup> A <sup>†</sup>
A
out <sup>.</sup> (24)
In conclusion, it is showed that the whole quantum networks of the known main quantum
algorithms can be described by the realizations of QCPU. Actually, it is also able to obtain
the quantum network to simulate Schr¨odinger equation. Therefore, QCPU is possible to
play a useful role in searching for new quantum algorithm. This research is on progressing.
I would like to thank Artur Ekert for his great help and for his hosting my visit to center
of quantum computing in Oxford University.
[1] R. P. Feynman. Int. J. Theor. Phys. 21 (1982)467
[2] D. Deutsch. Proc. R. Soc. Lond. A 400 (1985)97
[3] P. W. Shor. in Proceedings of the 35th Annual Symposium on the Foundations of Computer
Science, IEEE Computer Society Press, Los Alamitos, CA. ed. S. Goldwasser. 1994. 20; SIAM
Journal of Computation 26 (1997)1484
[4] A. Barenco et. al, “Elementary gates for quantum computing”, [quant-ph/9503016](http://arxiv.org/abs/quant-ph/9503016)
[5] A. Ekert, Phys. Scripta, T76 (1998)218
[6] [An Min Wang, ”An Universal Quantum Network – Quantum CPU”, preprint quant-ph/9910089](http://arxiv.org/abs/quant-ph/9910089)
[7] L. K. Grover. in Proceedings, 28th Annual ACM Symposium on the Theory of Computing. 1996.
122, preprint [quant-ph/9605034;](http://arxiv.org/abs/quant-ph/9605034) Phys. Rev. Lett. 79 (1997)325
[8] An Min Wang, ”Quantum CPU and quantum simulating”, preprint [quant-ph/9910090](http://arxiv.org/abs/quant-ph/9910090)
8
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.