Beruflich Dokumente
Kultur Dokumente
1
International Journal of Computer Applications (0975 - 8887)
Volume 159 - No.8, February 2017
that any quantum gate can be (approximately) decomposed to a quantum computation. Section 3 represents all the basic quantum
circuit consisting only of the CNOT gates and a small set of single gates in matrix form. Finally section 4 gives conclusion in brief.
qubit gates [10]. Recently, some more efficient synthesis algorithms
for quantum circuits have been found; see for example [11]. Some
authors initiated the studies of simplification and optimization of
quantum circuits. The aim is to develop methods and techniques
to reduce the number of quantum gates in a quantum circuit and 2. BASIC CONCEPTS IN QUANTUM
the depth of a quantum circuit. Due to the difficulty of implement-
ing large quantum circuits, this problem is even more important in
COMPUTATION
quantum computation than in classical computation The bit is the fundamental concept of classical computation and
In particular, Deutsch [12, 13] introduced the technique of quan- classical information. Quantum computation and quantum infor-
tum parallelism based on the superposition principle in quantum mation are built upon an analogous concept, the quantum bit or
mechanics by which a quantum Turing machine can encode many Qubit. Classical computer is built from an electrical circuit con-
inputs on the same tape and perform a calculation on all the inputs taining wires and logic gates where as quantum computer is built
simultaneously. Furthermore, he proposed that quantum computers from a quantum circuit containing wires and elementary quantum
might be able to perform certain types of computation that classi- gates. A classical bit is either 0 or 1. Two possible states for Qubits
cal computers can only perform very inefficiently. He investigated are |0 > and |1 >. The difference between classical bits and quan-
the possible computational power of physically realizable comput- tum bits is that a Qubit can be in a state other than |0 > or |1 >.
ers, and formulated a quantum version of the Turing machine. He The superposition |ψ >of Qubit is a linear combination of these
defines quantum Turing machines (QTM) as the first model for gen- states.
eral quantum computation, with the crucial property that superpo-
sition of machine states are allowed, and defines a universal QTM. ψ = a0 |0 > +a1 |1 > (1)
He observed that quantum computers raise interesting problems for Where a0 is the amplitude of measuring |0 > and a1 is the
the design of programming languages, computing scientists were amplitude of measuring the value |1 >. a0 and a1 are the complex
slow to respond to this challenge. Quantum computation offers the coefficients satisfy the normalization condition a20 + a21 = 1.
possibility of considerable speedup over classical computation by The probability of observing a single possible state from the
exploring the power of superposition of quantum states. This can superposition is obtained by squaring the absolute value of its
be illustrated very well by the DeutschJozsa algorithm, which was amplitude. The probability of the Qubit being in the state |0 > is
designed in [14]. One of the most striking advances was made by a20 and the probability that the Qubit will be measured as |1 > is
Shor [15, 16]. By exploring the power of quantum parallelism, he a21 . The most common basis used in the quantum computing is
discovered a polynomial-time algorithm on quantum computers for called computational basis.
prime factorization of which the best known algorithm on classical
computers is exponential. For a long time, QC research has been the
luxury of just a few academic elite in the world, that is, until 1994 1 0
|0 >= , |1 >=
when Shor invented his famous prime factorization algorithm. He 0 1
showed in a concrete example that a QC could do much better than
a classical computer. More importantly, the difficulty in factoring a
large number is the basis of the RivestShamirAdleman (RSA) pub- But any other orthonormal basis could be used. For example, the
lic key encryption scheme that is widely used today. Through Shors basis vector
algorithm, the QC has suddenly become a real possible threat, and
this algorithm has sparked worldwide interests in the QC. Shors
algorithm is applicable only to a specific problem. There is an in- |0 > +|1 >
1 1
teresting interplay between quantum computing and quantum cryp- |+ >= √ = √ (2)
tography, in that while Shors algorithm for integer factorization has 2 2 1
the potential to undermine many current cryptosystems, quantum
cryptographic systems can be proved secure against any form of |0 > −|1 > 1 1
|− >= √ = √ (3)
attack, including attacks which make use of quantum computing. 2 2 −1
Quantum search algorithms are devised by Grover [17,18,19] they
are applicable to many problems. Grovers quantum search algo- The equivalent way of expressing of a Qubit |ψ >= a0 |0 >
rithm solves the problem of unsorted database searching. Finding +a1 |1 >
a marked state from an unsorted database requires N 2 searches The text book [20] is referred for more information on fundamen-
for a √
classical computer. Grovers algorithm finds a marked item in tals of quantum computation and quantum algorithms.
only N steps where N is the size of the database. Grovers algo-
rithm has many applications such as deciphering the digital encryp-
tion schyeme (DES) encryption scheme optimization. The standard
Grover algorithm achieves quadratic speedup over classical search-
ing algorithms. This algorithm suffers from one problem: the prob- 3. QUANTUM GATES IN MATRIX FORM
ability of finding the marked state may never be exactly 1. To over-
The matrix representation of Quantum gate
come this difficulty, one has to generalize the standard Grover algo-
rithm by replacing phase inversions by rotations of smaller angles
so that the search step can be made smaller. The rest of the paper X
is organized as follows: Section 2 highlights the basic concepts in |inputi >< outputi |
i
2
International Journal of Computer Applications (0975 - 8887)
Volume 159 - No.8, February 2017
3
International Journal of Computer Applications (0975 - 8887)
Volume 159 - No.8, February 2017
1 0 0
1 0
0 1 0
Mswap = 1 0 0 0 + 0 0 1 0 + 0 1 0 0 0 1
0 0 1 0 0
0 0 0
0
0
= 1 0 0 0 0 0 0 0 + 0 1 0 0 0 0 0 0 + ......
0
0 0
0
0
0
+ 0 0 0 1
0 0
0
1 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0
0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
= + + +
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0
+ 0 0 0 0 0 0 0 1 + 0 1 0 0 0 0 1 0
1 0 0 0
0 0
0 0 1 0 0 0
= (8) 1 0
0 1 0 0
0 0 0 1 0 1
C R = AC ⊕ AB
= |000 >< 000| + |001 >< 001| + |010 >< 010| + |011 >< 011| Truth Table of Fredkin Gate
+|100 >< 100| + |101 >< 101| + |110 >< 111| + |111 >< 110|
4
International Journal of Computer Applications (0975 - 8887)
Volume 159 - No.8, February 2017
1 5. REFERENCES
0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 [1] R. P. Feynman, ”Simulating Physics with Computers,” Inter-
0
0 1 0 0 0 0 0
national Journal of Theoretical Physics, vol. 21, no. 6/7, pp.
0 0 0 1 0 0 0 0 467- 488, 1982.
=
0
(10)
0 0 0 1 0 0 0
[2] R. P. Feynman, Quantum mechanical computers, Foundation
0 0 0 0 0 0 1 0 of Physics, Vol. 16, pp. 507 - 531(1986). (Originally appeared
1 0 0 0 0 1 0 0 in optics news, February 1985).
0 0 0 0 0 0 0 1 [3] C. H. Bennet, Logical reversibility of computation, IBM Jour-
nal of Research and Development 17 (1973) 525532.
[4] Benioff . P. The computer as a physical system: A microscopic
quantum mechanical Hamiltonian model of computers as rep-
resented by Turning machines. Journal of Statistical Physics
3.9 Peres Gate in Matrix form: 22(5):563-591.
[5] Benioff. P. quantum mechanical Hamiltonian model of Turn-
A • • P =A ing machines Journal of Statistical Physics Vol 29, pp. 515-
546 (1982)
B • Q=A⊕B [6] Benioff . P. quantum mechanical Hamiltonian model of Turn-
ing machines that dissipate no energy, Physics Review letters
Vol. 48, pp. 1581 - 1585 (1982)
C R = AB ⊕ C [7] C. H. Bennett and G. Brassard, in Proc. IEEE Int. Conf. on
Truth table of Peres gate: Computers, Systems, and Signal Processing, Bangalore, India
(1984), pp. 175179.
5
International Journal of Computer Applications (0975 - 8887)
Volume 159 - No.8, February 2017