Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
5 views10 pages

Quantum Computing

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views10 pages

Quantum Computing

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Quantum Computing

QUANTUM COMPUTING

INTRODUCTION
Today’s computers, both in theory and practice (PCs, laptops, tablets, smartphones...,) are based on
classical physics, hence they are called classical systems. Their design is based on the
semiconductor technology, but the physics of semiconductor is based on the principles of quantum
mechanics. The present day computers rely on very large scale integrated circuits (VLSI), where the
important component is the silicon chip of area 0.25mm thick and surface area of 1cm 2. This
contains millions of transistors which act as logic gates. The present trend of semiconductor
technology is to bring in more and more transistors onto the silicon chip and increase the clock
speed of the microprocessor as per Moore’s law. I.e., there will be decrease in the number of
electrons in a transistor / device.
Moore’s law states that – “In every two years the density of transistors per silicon chip doubles”
But, a device of such microscopic dimensions may not behave the same way as a device of bigger
dimensions. Due to this physical limitations, new chip architectures and materials will be used to
develop new types of computing that will promote future technological gains. Hence Moore’s law
no longer is applicable. This analogy of the relationship between the physics and geometry of the
materials will help the paradigm shift in computation. Hence the study of information storage,
processing and computation can be linked to the study of physical devices which stores the
information. This means one must know the Physics principles and material science to design the
computers and its computations.
As quantum mechanics underlies the working of traditional, classical computers and
communication devices, from the transistor through the laser to the latest hardware advances that
increase the speed and power and decrease the size of computer and communications components.
Quantum computers and its networks are more efficient than the classical computers in performing
the computational tasks such as factorizing the numbers or carrying out searches in a data base.
Just as classical computers can be thought of in Boolean algebra terms, quantum computers are
reasoned about with quantum mechanics.

QUANTUM COMPUTING
Quantum computing is a combination of quantum physics, computer science, and information
theory. It is the field that investigates the computational power and other properties of computers
based on quantum-mechanical principles. It combines two of the most important trends of 20th-
century science: quantum mechanics and computer science. Its important objective is to find
quantum algorithms that are significantly faster than any classical algorithm solving the same
problem.
In Quantum computers, information is stored in and manipulated using single isolated atoms or
photons or electrons. Since atoms, electrons and photons obey the principles / laws of quantum
mechanics, the quantum computers perform computations and process information according to the
principles of quantum mechanics.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 1 of 10


Quantum Computing

Richard P Feynman told that the simulations of the quantum systems cannot be done efficiently in
the present classical computers. He found that to simulate the quantum systems using classical
computers, the number of computational steps raises exponentially both with the size of quantum
system and with the amount of time over which the systems behavior is tracked. In classical systems
the computations and information process will be done by the ensembles of atoms. i.e., they are
limited by locality i.e., by the classical fact that systems can be in only one state at the time.
A quantum system can be in a superposition of many different states at the same time, and can
exhibit interference effects during the course of its evolution. Spatially separated quantum systems
may be entangled with each other and operations may have “non-local” effects because of this.
Quantum computing is not about changing the physical substrate on which computation is done
from classical to quantum, but rather changing the notion of computation itself. The change starts at
the most basic level: the fundamental unit of computation is no longer the bit, but rather the
quantum bit or qubit. Placing computation on a quantum mechanical foundation led to the discovery
of faster algorithms, novel cryptographic mechanisms, and improved communication protocols.

CLASSICAL (Vs) QUANTUM COMPUTING


General Information:
Classical Computers Quantum Computers
Fundamental Unit Bit Qubit
Gates Logic Gates Unitary Gates
Gates Reversible Sometimes Always
Universal Gate Set NAND CNOT
Algebra Boolean Linear
Definition Describes the motion of Describes the nature of object at the
macroscopic objects. atomic level.
Principle If we know the initial state of Energy, momentum, angular
object we can predict its future sate momentum are quantized.
and also can account for past state.
Nature Does not describe wave-particle Describes wave-particle duality.
duality

Differences:
Classical Computers Quantum Computers
It is a large scale integrated multipurpose It is a high speed parallel computer based on
computer. quantum mechanics.
Information storage is Bit based on charge, Information storage is quantum bit based on the
voltage etc., direction of electron spin.
Discrete number of possible states: 0 or 1 Infinite, continuous number of possible states.
Power increases in a 1:1 relationship with Power increases exponentially with the number
number of transistors. of qubits.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 2 of 10


Quantum Computing

Information / Data processing is carried out by Information / Data processing is carried out by
logic gates such as NOT, AND, OR..etc., in a quantum gates parallely.
sequential order.
Calculations are deterministic: Repeated Calculations are probabilistic: Multiple possible
computation on the same input gives same outputs for the same input. (Because of
output superposition and entanglement)
Low error rates when operated at room High error rates at room temperature hence need
temperature. to be kept ultra-cooled.
Operations are defined by Boolean algebra.Operations are defined by linear algebra over
Hilbert space and can be represented by unitary
matrices with complex elements.
Circuit behavior is governed by classical Circuit behavior is governed by quantum
physics. mechanics.
Circuits are scalable and macroscopic Circuits are not yet scalable and use microscopic
technologies that are fast such as CMOS. technologies that are slow and fragile.

HILBERT SPACE
‘An Hilbert space is an vector space which expands into an ‘n’ dimensional space which can be
finite or infinite’
In quantum mechanics the state of a physical system is represented by a vector in a Hilbert space: a
complex vector space with an inner product. The term “Hilbert space” is often reserved for an
infinite-dimensional inner product space having the property that it is complete or closed.
(Note: Classical mechanics can describe physical properties of macroscopic objects, whereas
quantum mechanics can describe physical properties at the microscopic scale. Many quantum
mechanical phenomena are counter-intuitive and the Hilbert space model has been successfully in
explaining and predicting the behaviors of quantum systems. Hilbert space model uses vectors and
linear maps to give interpretation to explain the counter-intuitive phenomena.)

DIRAC’s BRA-KET NOTATIONS:


The Dirac’s Bra-Ket notation is the concise and convenient way to describe the quantum states. It is
often used to write linear algebra and its lengthy derivations in quantum mechanics.
Let a quantum state be represented by  which is called a Ket or a Ket vector which is used to
denote a vector quantity in Hilbert space. We say that a physical system is in quantum state  ,
where α is an Eigen value corresponding to an operator A that represents an physical measurement.
If we have two distinct quantum states 1 and  2 then the following Ket is:
  c1 1  c2  2
Where, c1 and c2 are complex numbers and are also possible states for the systems.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 3 of 10


Quantum Computing

Dirac also defined something called Bra or Bra vector represented by  which does not belong to
Ket space. For every Ket  there exist a dual of Ket called Bra  .
For example, if c1 1  c2  2 is a Ket vector, then the dual associated with its vector can be:
c1* 1  c*2 2 .
In general a ket vector is represented in matrix form with one column and ‘n’ number of rows
 a1 
 
 a2 
 a3 
having ‘n’ number of elements as:     .
 . 
. 
 
 an 
Then, the Bra vector can be represented by row matrix as:    a1* a*2 a*3 . . a*n  .
0 
Here a1* is the complex conjugate of a 1 . It means, if     then   0 i 
i 

Hence, a Bra vector is the Hermitian conjugate of Ket vector. i.e.,      .
Also, If   2  ib then   2  ib
If   5  3 then   5  3
If   2 1  3  2 then   2 1  3  2
† *t
Hence,          i.e., a Bra vector is also a conjugate transpose of Ket vector.

Inner and Outer Product of Bra-Ket vectors:


Let  i and  j be two wave functions of the quantum states belonging to the same Hilbert space,
0 for i  j
then the inner product can be written as: i  j  ij  .
1 for i  j
Example: 1 1  1 and 1  2  0 .
The inner product between the two states corresponds to the dot product between a Bra and a Ket
vector as: i   j  i  j .

Similarly, the Outer product is written as: i  j

QUANTUM SUPERPOSITION
A quantum state is a superposition of classical states, written as a vector of amplitudes, to which we
can apply either a measurement or a unitary operation.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 4 of 10


Quantum Computing

Consider some physical system that can be in N different, mutually exclusive classical states. We
call these states as 0 , 1 ,............ N  1 . A pure quantum state (usually just called state)  is a
superposition of classical states, written as:
  0 0  1 1  ......   N 1 N  1
Her  i is a complex number that is called amplitude of i in  . A system in quantum state 
is “in all classical states at the same time,” each state having a certain amplitude. It is in state 0
with amplitude  0 , in state 1 with amplitude 1 , and so on. Mathematically, the states
| 0 , 1 ,............ N  1 form an orthonormal basis of an N-dimensional Hilbert space. A quantum
state  is a vector in this space, usually written as an N-dimensional column vector of its
 0 
 
 1 
amplitudes as :    . 
 
 . 
 
 N 1 
UNITARY EVOLUTION
Consider a quantum state,   0 0  1 1  ......   N 1 N  1
Let the state changes to other form as:   0 0  1 1  ......  N 1 N  1
Since, quantum mechanics only allows linear operations to be applied to quantum states. if we view
a state like  as an N-dimensional vector, then applying an operation that changes  to 
corresponds to multiplying  with an N ×N complex-valued matrix U as:
  0   0 
   
 1   1 
U .    . 
   
 .   . 
    
 N 1   N 1 
By linearity we have,   U   Ui i i . Since measuring  should also give a probability
distribution with one constraint that the sum of probability amplitudes must be 1.

j N 1 2
i.e., j o
j  1
This implies that the operation U must preserve the norm of vectors, and hence must be a unitary
transformation (often just called “a unitary”). A matrix U is unitary if its inverse U-1 equals its
conjugate transpose U*t. This is equivalent to saying that U always maps a vector of norm 1 to a
vector of norm 1. Because a unitary transformation always has an inverse, it follows that any (non-
measuring) operation on quantum states must be reversible: by applying U-1 we can always “undo”

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 5 of 10


Quantum Computing

the action of U, and nothing is lost in the process. On the other hand, a measurement is clearly non-
reversible, because we cannot reconstruct  from the observed classical state j .

QUBIT
In classical computer the data is stored in a bit. At any instant of time the bit can take the value 0 or
1. The corresponding parameter in quantum computer is qubit. Qubit obeys the laws of quantum
mechanics. The physical state of a qubit is denoted by wave function  .
A qubit can be in superposition state corresponding to logical states 0 and 1 just like a single
photon. These states are represented as 0 and 1 . The difference between bits and qubits is that a
qubit can be in a state other than 0 or 1 . It is also possible to form linear combinations of states,
often called superpositions:
   0  1
The numbers α and β are complex numbers or real numbers. The state of a qubit is a vector in a
two-dimensional complex vector space. The special states 0 and 1 are known as computational
basis states, and form an orthonormal basis for this vector space.
According to quantum mechanics when we measure the information about the quantum state, the
qubit will yield either the result 0, with probability  , or the result 1, with probability  . since
2 2

the probabilities must sum to one:     1 which means ‘the qubit’s state be normalized to
2 2

length 1’. Thus, in general a qubit’s state is a unit vector in a two-dimensional complex vector
space.
Bell State: A qubit can exist in a continuum of states between 0 and 1 – until it is observed.
When a qubit is measured, it only ever gives ‘0’ or ‘1’ as the measurement result – probabilistically.
1 1
Thus, before measurement, a qubit can be in the state: 0  1
2 2
2
1
which, when measured, gives the result 0 fifty percent (  0.5 or 50% ) of the time, and the
2
result 1 fifty percent of the time. This state is called BELL STATE.

Physical Realization of Qubit:


Many different physical systems can be used to realize qubits, It could be:
1. Horizontal and vertical polarization of a single photon.
2. Right and left circular polarization of a single photon.
3. Up and down spin states of an electron.
4. Two energy states of an atom.
5. Two energy levels of a quantum dot.
6. Beam splitter modes of two particles.
7. Alignment of a nuclear spin in a uniform magnetic field
P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 6 of 10
Quantum Computing

In the two spins states of an electron orbiting a single atom the electron can exist in either the so-
called ‘ground’ or ‘excited’ states, which we’ll call 0 and 1 , respectively as shown in the figure
below. By shining light on the atom, with appropriate energy and for an appropriate length of time,
it is possible to move the electron from the 0 state to the 1 state and vice versa. But more
interestingly, by reducing the time we shine the light, an electron initially in the state 0 can be
moved ‘halfway’ between 0 and 1 .

GEOMETRICAL REPRESENTATION OF A QUBIT


Consider the superposition state,    0   1 , where     1 . Hence we may also write:
2 2

   
  ei  cos 0  ei sin 1 
 2 2 
Where, , , and  are real numbers. Ignoring e i since it has no observable effects, we can write:
 
  cos 0  ei sin 1 → (1)
2 2
The numbers θ and ϕ define a point on the unit three-dimensional sphere as shown in the below
figure. This sphere is often called the Bloch sphere; it provides a useful means of visualizing the
state of a single qubit.

To interpret the superposition states considering the inherently probabilistic nature of observations
on quantum systems, it is convenient to represent the state of a qubit in a ‘Bloch sphere’. Bloch
sphere is a sphere of unit radius and the state of qubit is represented by a vector in this sphere as
shown above figure:
P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 7 of 10
Quantum Computing

Note, for ϕ= 0 and θ = 0, the state  corresponds to 0 and is along + z axis


For ϕ= 0 and θ = 1800, the state  corresponds to 1 and is along - z axis
When θ = 900, the vector is the x-y plane. For
ϕ= 900,  
1
 0  i 1  , is a superposition state along + y-axis
2

ϕ= -900,  
1
 0  i 1  , is a superposition state along - y-axis
2

ϕ= 00,  
1
 0  1  , is a superposition state along + x-axis
2

ϕ= 1800,  
1
 0  1  , is a superposition state along - x-axis
2
For classical computer, the two logical states 0 and 1 are represented by the poles of a sphere as
show in the figure above. In contrast, the state of a qubit can be represented by any point on the
sphere. Since there are infinite points on the sphere, a qubit in principle has more capacity to store
information compared to a classical bit. Bloch sphere represents the state of only one qubit, and
there is no generalization of Bloch sphere for multiple qubits.

QUANTUM ENTANGLEMENT
An important property quantum computing is entanglement, which refers to quantum correlations
between different qubits. For instance, consider a 2-qubit register that is in the state as:
1 1
00  11
2 2
Such 2-qubit states are sometimes called EPR-pairs in honor of Einstein, Podolsky, and Rosen.
Initially neither of the two qubits has a classical value 0 or 1 . However, if we measure the first
qubit and observe, say, a 0 , then the whole state collapses to 00 .Thus observing the first qubit
immediately fixes the second. Since the two qubits that make up the register may be far apart, this
example illustrates some of the non-local effects that quantum systems can exhibit. In general, a
bipartite state  is called entangled.
Example: Consider a system of two electrons A and B with possible spins as up  and down 
for both electrons. If these two electrons are not interacting with external agents and no
measurement are being done on both electrons then they may have the following 4 possible
combinations of spins:
A B or A B or A B or A B
In superposition state, the system of two particles will be in the sum of all possible states as:
initial  a. A B  b. A B  c. A B  d. A B
Where a, b, c, d are probability of finding the electrons with respective combinations of spins.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 8 of 10


Quantum Computing

But when we start measuring the spin of any one of two electrons A and B then the system collapse
to any one of the spin combination as:  both  A B or  both  A B . Here the
superposition states A B and A B cannot be measured.
If such system exists for infinite times .i.e., if ‘n’ such identical system exists, then:
a2n times the system will be in state A B , where a2 is the probability of finding the system in

state A B

d2n times the system will be in state A B , where d2 is the probability of finding the system in

state A B .
2 2
Since, a and d can be complex then a , d .. are probabilities or probability amplitudes.
But if the system of two electrons are in the entangled state, then the probability distribution of spin
i.e., likelihood of finding the electron B in a particular spin would change every time when we
interact with electron A. i.e., the whole system is disturbed.
1 1
Hence we make use of Bell states as: A B  A B
2 2
This means, the probability of A B and A B is zero.

Then, before measuring spin of A, with Bell state, the spin of B is 50%  B and 50%  B .

But, after measuring spin of A as A then B must have 100%  B . OR if A is A then B must

have 100%  B .
Thus, the system of two electrons collapsed from 4 possible combinations to any of 2.
Note: In the above example, in the ENTANGLED state, the probability of electron B with specific
spin say  B is different before measuring A spin, after measuring A as A and after measuring

A as A .

QUANTUM GATE (HADAMARD GATE)


A unitary that acts on a small number of qubits (say, at most 3) is often called a gate, in analogy to
classical logic gates like AND, OR, and NOT. The Pauli matrices are examples of 1-qubit gates.
For example, the bitflip gate X (a.k.a. NOT-gate) negates the bit in the computational basis, i.e., it
swaps 0 and 1 . The phase flip gate Z puts a − in front of 1 . Represented as 2×2 unitary
0 1 1 0 
matrices, these are: X    Z 
1 0  0 1
1 1 1 
The most important 1-qubit gate is the Hadamard transform, specified by: H   
2 1 1

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 9 of 10


Quantum Computing

If we apply H to initial state 0 and then measure, we have equal probability of observing 0 or
1 . Similarly, applying H to |1i and observing gives equal probability of 0 or 1 .
1 1
However, if we apply H to the superposition 0  1 then we obtain:
2 2
 1  1
H 1   0  1   0  1   0
1 1 1 1
H 0  1  H0 
 2 2  2 2 2 2
The positive and negative amplitudes for 1 have canceled each other out. This effect is called
interference.

P. Mahadeva Prasad, SJCE, JSSSTU, Mysuru Page 10 of 10

You might also like