Quantum Computers
Quantum Computers
Data Representation
Operations on Data
Shor’s Algorithm
Conclusion and Open Questions
Introduction
Data Representation
Operations on Data
Shor’s Algorithm
Conclusion and Open Questions
Representation of Data - Qubits
A bit of data is represented by a single atom that is in one of two states denoted by
|0> and |1>. A single bit of this form is known as a qubit
A physical implementation of a qubit could use the two energy levels of an atom.
An excited state representing |1> and a ground state representing |0>.
Light pulse of
frequency for
Excited time interval t
State
Nucleus
Ground
State
Electron
State |0> State |1>
Representation of Data - Superposition
A single qubit can be forced into a superposition of the two states denoted by the
addition of the state vectors:
n
Relationships among data - Entanglement
Data Representation
Operations on Data
Shor’s Algorithm
Conclusion and Open Questions
Operations on Qubits - Reversible Logic
Ex.
Input Output
The AND Gate In these 3 cases,
A B C information is
0 0 0 being destroyed
A
0 1 0
C
B 1 0 0
1 1 1
Simplest gate involves one qubit and is called a Hadamard Gate (also known as a
square-root of NOT gate.) Used to put qubits into superposition.
H H
Input Output
A - Target A’ A B A’ B’
0 0 0 0
0 1 1 1
B - Control B’ 1 0 1 0
1 1 0 1
Input Output
Carry Ones Carry Ones
Bit Bit Bit Bit
0 0 0 0
0 1 1 0
0 Carry Bit
Ones Bit
H
Quantum Gates - Controlled Controlled NOT (CCN)
Input Output
A B C A’ B’ C’
A - Target A’ 0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 0
B - Control 1 B’ 0 1 1 1 1 1
1 0 0 1 0 0
1 0 1 1 0 1
C - Control 2 C’ 1 1 0 1 1 0
1 1 1 0 1 1
A Universal Quantum Computer
The CCN gate has been shown to be a universal reversible logic gate as it can
be used as a NAND gate.
In 2001, a 7 qubit machine was built and programmed to run Shor’s algorithm to
successfully factor 15.