• Keine Ergebnisse gefunden

Quantum Computing — Assignment 2 Due: Wednesday, 29.04., 14:15 Geben Sie bitte Namen, Matrikelnummer und die Übungsgruppe an. Exercise 1

N/A
N/A
Protected

Academic year: 2021

Aktie "Quantum Computing — Assignment 2 Due: Wednesday, 29.04., 14:15 Geben Sie bitte Namen, Matrikelnummer und die Übungsgruppe an. Exercise 1"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Lehr- und Forschungsgebiet

Mathematische Grundlagen der Informatik RWTH Aachen

Prof. Dr. E. Grädel, F. Abu-Zaid, S. Schalthöfer

SS 2015

Quantum Computing — Assignment 2 Due: Wednesday, 29.04., 14:15

Geben Sie bitte Namen, Matrikelnummer und die Übungsgruppe an.

Exercise 1 10 Points

In this excercise we consider reversible gates for classical computations.

(a) Give a complete description of all functions f : {0,1}3 → {0,1} such that the function (x, y, z)7→(x, y, f(x, y, z)) is reversible.

(b) Construct a reversible version of a two-bit adder (i.e.a(x, y) = (x⊕y, xy)) using controlled negation and Toffoli gates.

Hint: First find a suitable function g(x, y) such that a0(x, y) = (g(x, y), x⊕ y, xy) is injective. Then implement a0 with the help of additional (constant) input bits.

(c) The gateF :{0,1}3 → {0,1}3 is given by (x, y, z)7→

((x, y, z) ,ifx= 1 (x, z, y) ,else Show that {F}is universal for reversible computation.

Exercise 2 10 Points

(a) Consider the branching gateB from the lecture.

1

x

0

We have seen that B can be used to copy classical bits. What is computed by B if the input xis an arbitrary qubit?

(b) The No-Cloning Theorem states that there is no unitary U such that, for some fixed

|ϕi ∈H2 and all |ψi ∈H2

U|ψi |ϕi=|ψi |ψi.

Show that, in fact, for all U and |ϕi the following is true: if for |ψi 6=|γi with U|ψi |ϕi=|ψi |ψi and

U|γi |ϕi=|γi |γi then|ψi and |γimust be orthogonal.

Hint: use that hϑ⊗ν|ϑ0ν0i=hϑ|ϑ0ihν |ν0i.

http://logic.rwth-aachen.de/Teaching/QC-SS15/

(2)

Exercise 3 5 Points Prove that any unitary matrix U ∈ Cn×n has a square root, that means, there is a unitary matrixV such thatV ·V =U.

Hint: Recall that by the spectral theorem from linear algebra U is diagonalizable via a basis- transformation to an orthonormal basis of Cn, consisting of eigenvectors ofU.

http://logic.rwth-aachen.de/Teaching/QC-SS15/

Referenzen

ÄHNLICHE DOKUMENTE

Abgabe : bis Mittwoch, den 06.07., um 12:00 Uhr im Übungskasten oder in der Vorlesung.. Geben Sie bitte Namen, Matrikelnummer und die

(a) Die Klasse der ungerichteten Graphen (V, E), in denen jeder Kreis die gleiche Länge hat. (b) Die Klasse der Strukturen (A, f) wobei f eine selbst-inverse Funktion

They want to prepare for the incident that, during their journeys, they want to simulate a coin flip. However, Alice and Bob do not trust each other to honestly report the outcome of

Mathematische Grundlagen der Informatik RWTH

Mathematische Grundlagen der Informatik RWTH

Mathematische Grundlagen der Informatik RWTH

Quantum Computing — Assignment 7 Due: Wednesday, 17.06., 14:15. Geben Sie bitte Namen, Matrikelnummer und die

Mathematische Grundlagen der Informatik RWTH