Quantum Behaviors: synthesis and measurement Martin Lukac Normen Giesecke Sazzad Hossain and Marek Perkowski Department of Electrical Engineering Portland.

Slides:



Advertisements
Similar presentations
Quantum Computation and Quantum Information – Lecture 3
Advertisements

Quantum Circuit Decomposition
University of Queensland
Slides from: Doug Gray, David Poole
Synthesis of Reversible Synchronous Counters Mozammel H A Khan Department of Computer Science and Engineering, East West University, 43 Mohakhali, Dhaka.
Quantum Computing MAS 725 Hartmut Klauck NTU
Quantum Packet Switching A. Yavuz Oruç Department of Electrical and Computer Engineering University of Maryland, College Park.
Quantum Phase Estimation using Multivalued Logic.
Midterm Exam for Quantum Computing Class Marek Perkowski.
Quantum Phase Estimation using Multivalued Logic Vamsi Parasa Marek Perkowski Department of Electrical and Computer Engineering, Portland State University.
Review of Basics and Elementary introduction to quantum postulates.
GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits
Calculating Spectral Coefficients for Walsh Transform using Butterflies Marek Perkowski September 21, 2005.
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.
An Algebraic Foundation for Quantum Programming Languages Andrew Petersen & Mark Oskin Department of Computer Science The University of Washington.
University of Queensland
Quantum Automata Formalism. These are general questions related to complexity of quantum algorithms, combinational and sequential.
Review of Basics and Elementary introduction to quantum postulates.
Ternary Deutsch’s, Deutsch-Jozsa and Affine functions Problems All those problems are not published yet.
Engineering Models and Design Methods for Quantum State Machines.
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.
Quantum Computing Joseph Stelmach.
Anuj Dawar.
Authors Faisal Shah Khan Marek A. Perkowski Slides prepared by Faisal Shah Khan.
Quantum Mechanics from Classical Statistics. what is an atom ? quantum mechanics : isolated object quantum mechanics : isolated object quantum field theory.
An Arbitrary Two-qubit Computation in 23 Elementary Gates or Less Stephen S. Bullock and Igor L. Markov University of Michigan Departments of Mathematics.
Grover’s Algorithm in Machine Learning and Optimization Applications
Introduction to Quantum logic (2) Yong-woo Choi.
New Approach to Quantum Calculation of Spectral Coefficients Marek Perkowski Department of Electrical Engineering, 2005.
|x1 |x1 (a) |x2 |x2 | x1 x2  y |y |x |x (b) | x  y |y
Fast Spectral Transforms and Logic Synthesis DoRon Motter August 2, 2001.
Classical Versus Quantum. Goal: Fast, low-cost implementation of useful algorithms using standard components (gates) and design techniques Classical Logic.
Quantum Algorithms for Neural Networks Daniel Shumow.
Outline Main result Quantum computation and quantum circuits Feynman’s sum over paths Polynomials QuPol program “Quantum Polynomials” Quantum polynomials.
1 Cost Metrics for Reversible and Quantum Logic Synthesis Dmitri Maslov 1 D. Michael Miller 2 1 Dept. of ECE, McGill University 2 Dept. of CS, University.
Quantum Computing MAS 725 Hartmut Klauck NTU TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A.
1 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 467 / Phys 767 C&O 481 / C&O 681 Richard Cleve DC 653 Course.
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
Quantum Computer Simulation Alex Bush Matt Cole James Hancox Richard Inskip Jan Zaucha.
1 hardware of quantum computer 1. quantum registers 2. quantum gates.
1 A Novel Synthesis Algorithm for Reversible Circuits Mehdi Saeedi, Mehdi Sedighi*, Morteza Saheb Zamani {msaeedi, msedighi, aut.ac.ir.
Introduction to State Machine
Quantum Computing Reversibility & Quantum Computing.
Quantum Computing & Algorithms
Quantum Computing MAS 725 Hartmut Klauck NTU
IPQI-2010-Anu Venugopalan 1 qubits, quantum registers and gates Anu Venugopalan Guru Gobind Singh Indraprastha Univeristy Delhi _______________________________________________.
Quantum Cost Calculation of Reversible Circuit Sajib Mitra MS/ Department of Computer Science and Engineering University of Dhaka
Quantum Computer Simulation Alex Bush Matt Cole James Hancox Richard Inskip Jan Zaucha.
BDD-based Synthesis of Reversible Logic for Large Functions Robert Wille Rolf Drechsler DAC’09 Presenter: Meng-yen Li.
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.
Quantum gates SALEEL AHAMMAD SALEEL. Introduction.
Richard Cleve DC 3524 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Lecture.
Hardware Verification
Quantum Logic Quantum Logic Boolean Logic EXOR/AND Logic
Quantum Logic Quantum Logic Boolean Logic EXOR/AND Logic
Quantum Computing Dorca Lee.
A Ridiculously Brief Overview
Chap 4 Quantum Circuits: p
Introduction to Quantum logic (2)
OSU Quantum Information Seminar
Quantum Computation and Information Chap 1 Intro and Overview: p 28-58
Quantum computation with classical bits
Design of new quantum primitives
Quantum Computing Joseph Stelmach.
Sajib Kumar Mitra, Lafifa Jamal and Hafiz Md. Hasan Babu*
Presentation transcript:

Quantum Behaviors: synthesis and measurement Martin Lukac Normen Giesecke Sazzad Hossain and Marek Perkowski Department of Electrical Engineering Portland State University 1900 SW Fourth Avenue Oregon, USA Dong Hwa Kim Dept. of Instrumentation and Control Engn. Hanbat National University, 16-1 San Duckmyong-Dong Yuseong-Gu, Daejon, Korea,

Overview  Motivations and Problem Definition  Quantum computing basics  Quantum Inductive Learning  Controlled [V/V*] gate synthesis  Measurement dependent synthesis  Simulations and results  Conclusion and future work

Motivations  Human-Human interaction is highly variable, individual, unique, non- repeating, etc.  Emotional Robot, Humanoid Robot  Quantum emotional state machine  Control logic for robotic quantum controllers in order to increase interactivity and quality of communication  Logic synthesis of such circuits is in the middle of this paper

Synthesis from examples  Quantum mappings – Quantum Braitenberg Vehicles – Arushi ISMVL 2007  Quantum Oracles such as Grover – Yale ISMVL 2007  Emotional State Machines – Lukac ISMVL 2007  Quantum Automata and Cellular Quantum Automata – Lukac ULSI 2007  Motion – Quay and Scott

Quantum Robots for Teenagers

Quantum Emotional Facial Gestures

Quantum computing basics Units are qubits, quantum bits, represented by wave function, on real (observable bases) in the complex Vector Space H.  Unitary transformations on single and two qubits (rotations in the Complex Hilbert Space), example rotation around X axis :  Because quantum states are complex, they are measured (or observed) before they can be recorded in the real world. The measurement operation describe this fact: Difference of complete measurement and expected measurement in a robot.

 Because the coefficients of the states are complex positive and negative), interference occurs allowing to sum or subtract probabilities of observation of each state. Gates such as CV can be used to synthesize permutative functions with real state transition coefficients (boolean reversible functions) Quantum computing basics On of the particular properties of Quantum Computation is the superposition of states: allowing to synthesise quantum probabilistic logic functions  and entanglement (initially known as EPR) Meaning of entanglement in terms of gestures

Three Types of Quantum Inductive Learning ab c ab c ab c ab c Classical Deterministic Learning Probabilistic and Quantum Probabilistic Learning Quantum Probabilistic and Measurement Dependent Learning

Controlled [V/V*] gates V, V *, C-V, C-V *, are well know elements of quantum logic synthesis for pseudo-boolean (permutative) functions. V*V* V*V* X V*V* VIV*V* VX CNOT V*V* * V V

V, V *, C-V, C-V *, are well know elements of quantum logic synthesis for pseudo-boolean (permutative) functions. V*V* V M 0 or 1 Various types of measurement

V*V* V M0M0 0 or nothing 1 or nothing M1M1 Various types of measurement If nothing, previous action is continued

Various types of measurement V*V* V M Operator built-in the measurement V V 0 or V 1 0 or 1 Measurement here would be non-deterministic Measurement here is deterministic

Symbolic Quantum synthesis  Assume function to be synthesized: ab c ab c ab c In the case when all outputs are deterministic (using only CNOT, CV, CV *, V and V *, the parity of application of each V-type gate on the output must be of order 2 n or 0. When the output is specified by probabilities corresponding to V 0 or V 1 the parity of applying the V-based gates is odd (2 n -1, for n > 0).

Measurement dependent synthesis The measurement synthesis is interesting from the behavioral point of view: when a robotic controller generates commands all signals going to classical actuators must be completely deterministic. Because measurement is considered as action the robot must do to generate output, the function can be minimized with respect to M (measurement) Assume completely defined reversible function: With respect to the expected result after the measurement on the output qubits, the function can be written as:

Measurement dependent synthesis (contd.) Further introduction of entanglement into the output in the form of Bell bases states:  Allows to rewrite the measurement based definition to a single qubit dependent form. Also note that M 0 is the state of the system after being measured for 0, and m 0 = 1 is the actual output (value 0) after this measurement :  Using, the fact that we have to measure only a single qubit to obtain a completely specified (not probabilistic) result. The output specification of the function requires in this case a real (not quantum) register holding the values of the measured qubit, allowing to determine whether the measurement operation yielded a correct result

Simulations and results  All methods have been simulated using Genetic Algorithm to test this approach.  In this case we tested specifically single qubit quantum functions.  These are functions in which only one bit is truly quantum, other bits are permutative functions  The quantum symbolic synthesis is based on a circuit-type generator of the form: a b c d g1g1 f1f1 g2g2 f2f2 gngn fnfn

Simulations and results a b c d g1g1 f1f1 g2g2 f2f2 gngn fnfn Functions f i are “simple”: a) Linear b) Affine c) Toffoli-like They can be binary or multiple- valued Functions g i are “square roots of unity”: a) NOT b) Square-root-of-NOT c) Fourth-order-root-of-NOT d) etc They can be for realization of binary or multiple-valued logic Exhaustive Search A* search Genetic Algorithm Iterative Deepening

e

Simulations and results  Example 1: ab cd abc VV * VV VV * VV VVVV * VV VV * ddd - I NOT I I NOT *I Symbolic synthesis Method Classical Synthesis of reversible functions applied as a classical Machine Learning

Simulations and results (contd.) Circuit for the function from previous slide, realizing a symmetric function on the output (D) qubit: VVV*V* V a b c d Observe: ● All controls are linear only ● All targets are square roots and their adjoints only Observe that this is a generalization of the well-known realization of Toffoli invented by Barenco et al We can create this type of functions for any number of variables They are inexpensive in quantum but complex in Reed- Muller

Simulations and results (contd.)  Example 2: ab c ab c V VV V - V - V ab c V 0 NOT - V 1 - V 0 ab c V V 1 1 V 0 Synthesized function matches all required cares VV a b c Multi-valued (quaternary) Synthesis of quantum functions applied as a new Quantum Machine Learning

Simulations and results (contd.) Another solution (completely deterministic) is just slightly more complicated: ab c VV a b c 0  This function can also be easily synthesized using entanglement and measurement. Simply generate an entanglement circuit creating these bases states: And define measurement criteria satisfying for each care in the K- map the desired output value: Measurement dependent synthesis  Example 2 (contd.): Multi-valued (quaternary) Synthesis of quantum functions applied as a new Quantum Machine Learning

Learning error

Conclusion Quantum CircuitMeasurement Environment Measurement dependent Learning Symbolic quantum learning Boolean Inputs Probabilities Symbolic method assumes known hidden states, predicts probabilistically the output events  We proposed two complementary mechanisms for learning: Symbolic and Measurement Dependent. Measurement Dependent method assumes known output events and their probabilities – there are several unitary matrices for the same input-output probabilistic behavior (H or V)

Conclusion (contd.)  The quantum symbolic method is ideal for single output reversible functions, heuristics and AI search methods can be easily applied  The measurement dependent method requires the external register of size 2 n (or of size of the desired input-output set of data), however the synthesis part is trivial.  Any entanglement circuit can be automatically build for any reversible function using only gates H, CNOT and X.  Future work:  extensions to multi-qubit quantum functions, d-level functions implementation and verification  implementation and verification of these mechanisms in the Cynthea robotic framework

Future work Grover Loop HadamardsConstants Measurements Grover Search Oracle or Quantum Circuit Inputs- sensors Measurements Quantum Braitenberg Vehicle Outputs - actuators Inputs- sensors Measurements New Concept of Real-time Quantum Search Outputs - actuators Grover Loop Controlled Hadamards Constants Control LEARNING

Additional Slides

Toffoli Gate as an example of composition of affine control gates and rotation target gates

Controlled gates

Synthesis of Majority