Docsity

Quantum Circuits I - Lecture Notes | CSCI 4967, Study notes of Computer Science

Toggle sidebar
bg1
Quantum Computation∗
Lecture 7: Quantum Circuits I
Notes taken by David Cerna
October 31, 2007
Summary: This lecture was on the following topics:
(i) Quantum Finite Automata
(ii) Fundamental Difference in Computation
(iii) Models of Quantum Computation
(iV) Quantum circuit model
Topic 1:
In this topic we went over how to show a normal automata using matrices. Then, how to show a probalistic
automata the same way. This lead into the quantum automata.
Topic 2 and 3:
This was a basic overveiw of the Church, Turing, Deutsch theorem and The classical models of computa-
tion brought to quantum light.
Topic 4:
This last topic dives into quantum circuitry which we only briefly talked about a couple of weeks earlier.
Such topics that were coved were the controlled-not get , the toffoli gate and removing garbadge, also
known as noise from a quantum circuit system.
1 Quantum finite automata
1.1 How to put a automata in matrices
we could represent an automata with matrices by representing a step with a matrix such as:
Ma=1 0
0 1 Mb=0 0
1 1
The 2 matrices show the acceptance of values A and B in picture ??. As you can see a DFA when put in this form
is a matrix of size NxN were N is the number of nodes in the DFA. The columns have to be unit vectors. This stems
from computation theory where the DFA needs a transition for every imput value.
1.2 Nondeterministic DFA
These types of automata are the same as DFA without unit vector columns. Also, as we saw with the last model
(DFAs) we could only have one path per value. In a NFA the paths per value can be anything such as this matrix.
Ma=1 0
2 1
∗Lecture Notes for a course given by Stephen F. Bush at RPI.
1
pf3
pf4

Partial preview of the text

Download Quantum Circuits I - Lecture Notes | CSCI 4967 and more Study notes Computer Science in PDF only on Docsity!

Quantum Computation

Lecture 7: Quantum Circuits I

Notes taken by David Cerna

October 31, 2007

Summary: This lecture was on the following topics: (i) Quantum Finite Automata (ii) Fundamental Difference in Computation (iii) Models of Quantum Computation (iV) Quantum circuit model Topic 1: In this topic we went over how to show a normal automata using matrices. Then, how to show a probalistic automata the same way. This lead into the quantum automata. Topic 2 and 3: This was a basic overveiw of the Church, Turing, Deutsch theorem and The classical models of computa- tion brought to quantum light. Topic 4: This last topic dives into quantum circuitry which we only briefly talked about a couple of weeks earlier. Such topics that were coved were the controlled-not get , the toffoli gate and removing garbadge, also known as noise from a quantum circuit system.

1 Quantum finite automata

1.1 How to put a automata in matrices

we could represent an automata with matrices by representing a step with a matrix such as:

Ma =

[

]

Mb =

[

]

The 2 matrices show the acceptance of values A and B in picture ??. As you can see a DFA when put in this form is a matrix of size N xN were N is the number of nodes in the DFA. The columns have to be unit vectors. This stems from computation theory where the DFA needs a transition for every imput value.

1.2 Nondeterministic DFA

These types of automata are the same as DFA without unit vector columns. Also, as we saw with the last model (DFAs) we could only have one path per value. In a NFA the paths per value can be anything such as this matrix.

Ma =

[

]

∗ (^) Lecture Notes for a course given by Stephen F. Bush at RPI.

Figure 1: A basic automata that accepts the language of strings containing one or more B’s

They follow the following equation for the paths in the NFA: Mw |i〉 =

j Mw(i, j)^ |j〉

1.3 Making things probalistic with NFAs

If we were to put fractional values in the matrices per column we end up with a probalistic move: Example Mw =

[

]

The certainty that a value is part of the language accepted by the probalistic NFA is based is either 1 or 0. It will only have a probability less then one if there is a bound probability which for some  when the probability is less then this  the value is not in the language. It is in the langauge with a probability of 1 − .

1.4 The Quantum automata

The only difference between the quantum version and the NFA is that the quatum matrix has complex states as well as <.

Mσ =

[

0 i

]

If this matrix turns out to be unitary and is a permutation matrix then it is also is reversible. The automata will be deterministic. Given this is the state after reading in w Mw |q〉. αj = 〈j|Mw|q〉 This is the probability that the automata reachs j. we can sum up the chance that automata accepts w as Mw |i〉 =

j∈F |αj^ |

2 QFAs do not accept all regular languages like DFAs and NFAs.

2 Fundamental Difference in Computation

2.1 Church-Turing thesis

An algorithmic process is any process that can run on a Turing machine.

2.2 Deutsch’s Idea

Can we justify the church-turing thesis with physics. He was looking at the nature of quantum mechanics. It is very hard to implement on a computer. There might be something different about them. Something that is more powerful then a Turing machine could ever be. From this idea sprang the following notion.

The toffoli gate is like the controlled-not gate except it has 2 control bits and it only flips the final bit when both of the prior bits are ones. So, it is a controlled-controlled-not gate. using all the gates named here we can make classical computer circuits in a quantum computer. The quantum circuits also give us the added reversablity and garbadge collection to clean up the channels.