Quantum Computer Simulation Alex Bush Matt Cole James Hancox Richard Inskip Jan Zaucha.

Slides:



Advertisements
Similar presentations
A Quantum Programming Language
Advertisements

Quantum Computation and Quantum Information – Lecture 3
Quantum Circuit Decomposition
Quantum Computers Gates, circuits and programming.
Case Tools Trisha Cummings. Our Definition of CASE  CASE is the use of computer-based support in the software development process.  A CASE tool is a.
Source Control in MATLAB A tool for tracking changes in software development projects. Stuart Nelis & Rachel Sheldon.
Quantum Phase Estimation using Multivalued Logic.
Quantum Speedups DoRon Motter August 14, Introduction Two main approaches are known which produce fast Quantum Algorithms The first, and main approach.
Um ponto de vista simbólico sobre a Simulação de Algoritmos Quânticos António Pereira & Rosália Rodrigues CEOC-UA – CIMA-UE 2006.
KEG PARTY!!!!!  Keg Party tomorrow night  Prof. Markov will give out extra credit to anyone who attends* *Note: This statement is a lie.
Chien Hsing James Wu David Gottesman Andrew Landahl.
Quantum Computing Ambarish Roy Presentation Flow.
1 Quantum Computing: What’s It Good For? Scott Aaronson Computer Science Department, UC Berkeley January 10,  John.
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.
Quantum Computation and Error Correction Ali Soleimani.
An Algebraic Foundation for Quantum Programming Languages Andrew Petersen & Mark Oskin Department of Computer Science The University of Washington.
High-Performance Simulation of Quantum Computation using QuIDDs George F. Viamontes, Manoj Rajagopalan, Igor L. Markov, and John P. Hayes Advanced Computer.
Superposition, Entanglement, and Quantum Computation Aditya Prasad 3/31/02.
Grover’s Algorithm: Single Solution By Michael Kontz.
Grover. Part 2 Anuj Dawar. Components of Grover Loop The Oracle -- O The Hadamard Transforms -- H The Zero State Phase Shift -- Z.
The Integration Algorithm A quantum computer could integrate a function in less computational time then a classical computer... The integral of a one dimensional.
Quantum Computing Joseph Stelmach.
Quantum Search Algorithms for Multiple Solution Problems EECS 598 Class Presentation Manoj Rajagopalan.
Anuj Dawar.
Supplement 02CASE Tools1 Supplement 02 - Case Tools And Franchise Colleges By MANSHA NAWAZ.
Introduction to Quantum logic (2) Yong-woo Choi.
New Approach to Quantum Calculation of Spectral Coefficients Marek Perkowski Department of Electrical Engineering, 2005.
ROM-based computations: quantum versus classical B.C. Travaglione, M.A.Nielsen, H.M. Wiseman, and A. Ambainis.
Quantum computing Alex Karassev. Quantum Computer Quantum computer uses properties of elementary particle that are predicted by quantum mechanics Usual.
Presented by: Erik Cox, Shannon Hintzman, Mike Miller, Jacquie Otto, Adam Serdar, Lacie Zimmerman.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Algorithms for Neural Networks Daniel Shumow.
Alice and Bob’s Excellent Adventure
Outline Main result Quantum computation and quantum circuits Feynman’s sum over paths Polynomials QuPol program “Quantum Polynomials” Quantum polynomials.
October 1 & 3, Introduction to Quantum Computing Lecture 2 of 2 Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum.
MAE Continuous Integration Administration guide July 8th, 2013.
An Introduction to Quantum Phenomena and their Effect on Computing Peter Shoemaker MSCS Candidate March 7 th, 2003.
Solving mutual exclusion by using entangled Qbits Mohammad Rastegari proff: Dr.Rahmani.
1 hardware of quantum computer 1. quantum registers 2. quantum gates.
Design Patterns Gang Qian Department of Computer Science University of Central Oklahoma.
Quantum signal processing Aram Harrow UW Computer Science & Engineering
Quantum Processing Simulation
Quantum Computing and Quantum Programming Language
Computer Science Projects Internal Assessment. Mastery Item Claimed Justification Where Listed Random Access File – Searching Lines P. 53 Random.
Cove: A Practical Quantum Computer Programming Framework Matt Purkeypile (DCS3) Winter 2009.
Quantum Convolutional Coding Techniques Mark M. Wilde Communication Sciences Institute, Ming Hsieh Department of Electrical Engineering, University of.
Quantum Mechanics(14/2) Hongki Lee BIOPHOTONICS ENGINEERING LABORATORY School of Electrical and Electronic Engineering, Yonsei University Quantum Computing.
8.4.2 Quantum process tomography 8.5 Limitations of the quantum operations formalism 量子輪講 2003 年 10 月 16 日 担当:徳本 晋
Quantum Computing & Algorithms
Multipartite Entanglement and its Role in Quantum Algorithms Special Seminar: Ph.D. Lecture by Yishai Shimoni.
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
Quantum Computer Simulation Alex Bush Matt Cole James Hancox Richard Inskip Jan Zaucha.
1 An Introduction to Quantum Computing Sabeen Faridi Ph 70 October 23, 2007.
Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007.
Richard Cleve DC 3524 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
Introduction to Quantum Computing Lecture 1 of 2
A low cost quantum factoring algorithm
Use of Mathematics using Technology (Maltlab)
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
Chap 4 Quantum Circuits: p
Introduction to Quantum logic (2)
OSU Quantum Information Seminar

Grover. Part 2 Anuj Dawar.
Quipper : A Scalable Quantum Programming Language
Improving Quantum Circuit Dependability
Quantum Computing Joseph Stelmach.
Presentation transcript:

Quantum Computer Simulation Alex Bush Matt Cole James Hancox Richard Inskip Jan Zaucha

Aims Develop an understanding of quantum computing Implement a simulation of a quantum computer Simulate Grover’s algorithm using our implementation of a quantum computer Learn group work skills and techniques

Background Feynman – 1982 Deutsch – 1994 Shor – 1994 Grover – 1996

Qubits Classically 0 or 1 Quantum bits: qubits Information obtained by measurement

Register: System of Qubits For n qubits 2 n states Basis vectors by convention in binary notation Example : basis states for a 3 qubit register

Gates Unitary linear operators which act on the register to alter its state Universal set of gates: Single qubit Hadamard Phase Two qubit CNOT

Quantum Algorithms Ingredients: registers, universal set of gates Advantage over classical computations: quantum interference

Grover’s Algorithm 1996, Lov Grover Search problem: find particular element in an unordered list of N entries Need to be able to assess if search found correct element, all elements in list have to be known beforehand

Grover’s Algorithm: technical description A register of n qubits is initialized. 2 n = L basis states corresponding to elements of the unordered list Walsh-Hadamard transform equal superposition of basis states Grover Iteration: 1) Oracle: marks searched state 2) Inversion about mean: Increases amplitude of searched state and decreases amplitudes of the other states

Inversion about the mean 1) Walsh-Hadamard transform 3) Walsh-Hadamard transform 2) NAND: The NAND gate returns false only if all qubits are in state We define this gate to apply a phase shift of -1 to all states that return true

Geometrical Representation: Rotations in plane of complex Hilbert Space

Geometrical Representation: action of the oracle

Geometrical Representation: inversion about the mean

Implementation of the Quantum Computer Register – the register is implemented as a matrix of complex numbers Gate – gates are implemented in both matrix and functional form

Basic Structure GroverCircuit Register UserInterface prepareRegister() nextIteration() measureRegister() Matrix GateFactory

Gates {interface} Gate CompositeGate{abstract} FunctionGate {abstract} MatrixGate HadamardMatrixHadamardFunction Matrix apply() GroverComposite

UML Diagram

Grover Iteration The GroverComposite gate is a special gate that when applied to the register performs a Grover iteration. groverIteration[0] = oracle; groverIteration[1] = hadamardTransform; groverIteration[2] = nand; groverIteration[3] = hadamardTransform;

Implementation: The Quantum Register, Quantum Gates; - Matrix, - Function, - Composite, Factory Method for creating Gates, Quantum Algorithm and the GUI.

Implementation: Register The Quantum Register: An extension of the Matrix class, 2 N entries, A storage medium for the Probability Amplitudes of each state. An example of a 2-qubit register: |ac| a |0> + b|1> ac|00> + ad|01> + bc|10> + bd|11> |ad| c |0> + d|1>|bc| |bd|

Implementation: Gates A Quantum Gate: Gates were implemented in a variety of ways: Matrix Functional Composite Gates were packaged with a private constructor to make use of a factory method for creating the gates.

Implementation: Gates 1-qubit Matrix Gate; A specific 2x2 matrix was constructed to perform a single bit operation depending on the role of the gate. This could then be extended by applying(tensor product) Identity matrices to the 2x2 gate. An example of such would be to apply a “ GATE ” to a 4- qubit register, with the qubit to be operated on being the second:

Implementation: Gates Higher order Matrix Gates and Functional Gates: Both for higher order matrix gates and functional gates a defined method was not so obvious for the operation of the gates. The use of patterns were used to analysis the expected change on the register and a matrix or function created from this. Functional gates using Java operations such as bitwise shift operators.

Implementation: Factory Factory method is an abstract class which can be used to create gates – matrix or functional – all from one location. All Gate constructors are private, therefore can only be created from inside the Factory. The factory allows control over all gates being matrix or functional or overloading certain gates to a different representation if desired..

Implementation: Quantum Algorithm and the GUI; The algorithm and GUI sections of the code are unique to Grover’s algorithm. When the GUI is run it prompts the user for specific values such as register size and the element to search for in the register. The register is then prepared by applying a Hadamart gate to every qubit. Iterations of Grover’s are then applied to the register. A measurement can then be taken.

Demonstration

Need for managment tools Share code between members Ensure members have up-to-date copies of files Backups of previous versions Version control systems

Subversion (SVN) Widely used – high compatability Free and open-source Integrates well with Eclipse Central repository for files Full version history of files

SVN (cont.) Repository Me Check out Check in Edit files Repository Me Check out Update Edit files Jan Check out Check in Edit files Me Check in Merge Changes

Google Code Provide SVN service View file diffs online (changes in files between versions) Mailing list Issues/bug tracker File hosting

Eclipse GUI to develop under Code completion Speed up routine operations Automatically compiles code Graphical interface for SVN (Subclipse)

Conclusion All of our aims achieved Scope for further work using existing code Improved team work skills Improved programming skills