Assignment 4
Assignment 4
Assignment 4
Assignment
February 13, 2023
Total Points: 25 (+5 Bonus points) Due date: 23rd February, 2023 (Hard deadline)
General Instructions: Submit handwritten or typed PDFs.
1
(b) Show that the quantum states (U ⊗ I) √ (|00⟩ + |11⟩) are mutually orthogonal. Here U = {I, σ̂x , σ̂y , σ̂z }.
2
(a) Let A be matrix such that A2 = I and x be a real number. Prove that eiAx = cos(x)I + i sin(x)A.
Suppose you are given the Hamiltonian Ĥ = ℏωσ̂x and that we are working in units where ℏω = 1. As-
sume that the quantum system is initialized in the state |ψ(0)⟩ = |0⟩.
(b) After what time T is the system in the state |ψ(T )⟩ = |1⟩?
(c) Imagine that you make n projective measurements in the {|0⟩ , |1⟩} basis at time intervals δT = T /n.
What is the probability of obtaining |0⟩ in each of the n times when n = 5 and when n = ∞? Interpret the
results.
1
4. [5 points] Quantum Gates
(b) Write the unitary corresponding to the controlled-Z quantum gate shown here.
(c) What would be the output state of the given quantum circuit if the input state is |+⟩ |0⟩?
Consider the quantum circuit shown here. The two-qubit gate is a controlled-SWAP gate.
(b) What is the probability that the first qubit is in the state |1⟩ after measurement?
In class, we have seen the Deutsch-Jozsa problem. We restate it here for convenience. Suppose we are given a
black box for some Boolean function f : {0, 1}n 7→ {0, 1} with the promise that f is either constant or balanced.
In order to determine which is the case with certainty, we have seen that a classical algorithm requires 2n/2 + 1
queries to the black box in the worst case, while a quantum query needs only one query. Now we impose
some relaxation to the problem. Now, we want to determine whether f is constant or balanced with a success
probability of 1 − ε, where ε ∈ (0, 1/2). How many queries to the black box are needed by a classical algorithm
and the quantum algorithm, respectively?
Page 2
The time-independent Schrödinger equation for a free particle is given by
∂ψ ℏ2 ∂ 2 ψ
iℏ =− .
∂t 2m ∂x2
(a) Verify that a typical solution to this equation is a wavefunction of the form ψ(x, t) = Aei(px−Et)/ℏ , where
E = E(p) = p2 /2m.
(b) Now, consider a free particle localized in space at t = 0. To be more precise, assume that the wavefunction
of the particle initially is a Gaussian wavepacket centered around the origin and is given by
(c) What happens to the wavepacket with time? Does the probability of observing the particle in space spreads
out or becomes more localized? How fast does it localize or delocalize?
(d) To the result obtained in (c), substitute (i) the mass of the particle by the mass of the electron (≈ 10−27 g),
the value of d for an electron is ≈ 10−8 cm. (ii) the mass of the particle by your own mass in grams and assume
d ≈ 1cm. For both cases, consider ℏ ≈ 10−27 g cm2 /s. How fast does the wavefunction of the electron localize
or delocalize? What happens to your wavefunction?
Page 3