Midterm Exam for Quantum Computing Class Marek Perkowski.

Slides:



Advertisements
Similar presentations
Department of Computer Science & Engineering University of Washington
Advertisements

Quantum Computation and Quantum Information – Lecture 3
University of Queensland
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Puzzle Twin primes are two prime numbers whose difference is two.
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
CDA 3100 Recitation Week 10.
Digital Circuits.
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
ELE 523E COMPUTATIONAL NANOELECTRONICS W3: Quantum Computing, 22/9/2014 FALL 2014 Mustafa Altun Electronics & Communication Engineering Istanbul Technical.
Quantum Packet Switching A. Yavuz Oruç Department of Electrical and Computer Engineering University of Maryland, College Park.
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
Quantum Error Correction SOURCES: Michele Mosca Daniel Gottesman Richard Spillman Andrew Landahl.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Derivatives of Perkowski’s Gate k f2 g h t t De Vos gates  f1f1  A B P Q Feynman gates A B P f 2f 2  C Q R Toffoli gates Q P f 2 A C R B S D 0.
Grover. Part 2. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z O is an Oracle H is Hadamards H.
University of Queensland
Sequential Logic Design
Grover. Part 2 Anuj Dawar. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z.
April 25, A Constructive Group Theory based Algorithm for Reversible Logic Synthesis.
Quantum Robot for Teenagers Arushi Raghuvanshi Yale Fan Michal Woyke Marek Perkowski Presentation at ISMVL 2007 May
Review of basic quantum and Deutsch-Jozsa. Can we generalize Deutsch-Jozsa algorithm? Marek Perkowski, Department of Electrical Engineering, Portland State.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 1.
Anuj Dawar.
Quantum Robot Analysis and entanglement. Classic Braitenberg FearAggression.
Introduction to Quantum logic (2) Yong-woo Choi.
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
Quantum Error Correction Jian-Wei Pan Lecture Note 9.
Alice and Bob’s Excellent Adventure
CHAPTER 12 REGISTERS AND COUNTERS
Circuit, State Diagram, State Table
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
Chapter 2: Binary logic OCR Computing for GCSE © Hodder Education 2011.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
1 hardware of quantum computer 1. quantum registers 2. quantum gates.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
A brief introduction to Quantum computer
CS1Q Computer Systems Lecture 7
Department of Computer Engineering. 2 Engr Ahmad Bilal M IN AND MAX Term Khabi Gharoor Nahi Kiya.
Designing Combinational Logic Circuits
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 3524 Course.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
Full Adders Vector Notation Multiplexers and Decoders Ellen Spertus MCS 111 September 6, 2001.
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي
Quantum gates SALEEL AHAMMAD SALEEL. Introduction.
Logic Gates.
MTE3 on , Tuesday 9:00-10:15, 10:30-11:45 AM 414W - PAB
ECE 2110: Introduction to Digital Systems
Chapter 2.3 Binary Logic.
Karnaugh Maps (K-Maps)
Quantum Computing Dorca Lee.
Relations vs. Functions Function Notation, & Evaluation
Introduction to Quantum logic (2)
13 Digital Logic Circuits.
ECB2212-Digital Electronics K-Map
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates Truth Table Challenge
Grover. Part 2 Anuj Dawar.
Binary Logic.
Objective- To use an equation to graph the
Karnaugh Maps (K maps).
Digital Circuits.
Digital Circuits.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Digital Circuits.
Presentation transcript:

Midterm Exam for Quantum Computing Class Marek Perkowski

Problem 1 – Analysis of quantum permutative circuits 1.Write equation for every output of the above reversible circuit 2.Draw a Karnaugh Map of this circuit 3.Write a truth table of this circuit 4.Represent the truth table as a single permutation vector.

Problem 2 – Analysis of quantum circuits 1.Design a quantum circuit1 with 3 inputs (from top), a, b, c and three corresponding outputs (from top) – A, B, C. 2.The circuit should have entanglement when a=0 and have no entanglement when a=1. 3.Analyze the circuit using two methods to prove that the circuit operates as in point 2. 1.By operating on matrices using Heisenberg’s Notation. 2.By operating on formulas using Dirac’s Notation. (you should comment also in English) 3.Be very specific what is entanglement and where the circuit represents entanglement. 4.(bonus) Draw a 4-input 4-output circuit2 with maximum entanglement in which all qubits are involved. abcabc ABCABC abcdabcd ABCDABCD Circuit 1 Circuit 2

Problem 3 – Design of an oracle. 1.Given is a vector V of four numbers, each number has 2 bits. 2.The vector V can be sorted (in non-decreasing order) or be not sorted like this. Ex. A vector [0,0,0,0] is sorted in non-decreasing order so we treat it as “sorted” for the oracle. 3.If the vector is sorted, the output of the oracle is “1”. Otherwise the output of the oracle is “0”. 4.Using classical reversible gates draw the oracle for this problem. 5.Using a concept of a counter to exercise all possible binary states, explain how this circuit distinguishes the sorted from the not-sorted vectors. Explain in English. 6.(This is a bonus question). If you put Hadamard gates on every input variable, and initialize all inputs to |0>, what would be the quantum state on the output.