CS259Q Fall 24 Problem Set 3 Solutions
CS259Q Fall 24 Problem Set 3 Solutions
|ψ⟩
|s⟩
With the angle between the two states, |ϕ⟩ and |ψ⟩, is θ. Also assume the angle between |ψ⟩ and |s⟩ is α.
• Then proceed to measure the system in the s basis. Our protocol guesses |ψ⟩ if we measure s and |ϕ⟩ if we
measure s⊥ so the probability of succeeding with guessing right is a function of the closeness of the respective
states to the measurement basis.
Note that the last term is maximised at α = π/4 − θ/2 which you can check using a simple first derivative test.
This gives the probability of success = 1+sin
2
θ
when the two vectors are symmetrical around the π/4 angle.
You can also check this probability with a few cases. If the angle between the two states is π2 then they are
fully distinguishable if measured in its own basis as they are orthonormal (sin( π2 ) = 1). If the angle between the
two states is 0 then the probability of guessing which one it is 0 as they are indistinguishable (sin(0) = 0). If
the angle between the two states is π4 then you should be able to guess which one it is more than half the time
(sin ( π4 ) ≈ 0.707 =⇒ P ≈ 0.854).
1
Carrying out the successive application of operator in the circuit, we get that the global state is:
|Ψ⟩ = |0⟩ |ϕ⟩ |ψ⟩ (initial state)
→ √12 |0⟩ |ϕ⟩ |ψ⟩ + √12 |1⟩ |ϕ⟩ |ψ⟩ (applying H ⊗ I ⊗ I)
(1)
→ √12 |0⟩ |ϕ⟩ |ψ⟩ + √12 |1⟩ |ψ⟩ |ϕ⟩ (applying C-SWAP)
→ 12 |0⟩ (|ϕ⟩ |ψ⟩ + |ψ⟩ |ϕ⟩) + 12 |1⟩ (|ϕ⟩ |ψ⟩ − |ψ⟩ |ϕ⟩) (applying H ⊗ I ⊗ I)
The probability that the first qubit is measured to be zero is:
2
P (Q1 : 0) = ∥(|0⟩⟨0| ⊗ I) |Ψ⟩∥ (2)
1 2
= ∥|ϕ⟩ |ψ⟩ + |ψ⟩ |ϕ⟩∥ (3)
4
1
= (⟨ϕ| ⟨ψ| + ⟨ψ| ⟨ϕ|) (|ϕ⟩ |ψ⟩ + |ψ⟩ |ϕ⟩) (4)
4
1
= (2 ⟨ϕ|ϕ⟩ ⟨ψ|ψ⟩ + 2 ⟨ϕ|ψ⟩ ⟨ψ|ϕ⟩) (5)
4
2
1 + |⟨ϕ|ψ⟩|
= , (6)
2
where we recall that states are normalized (i.e. ⟨ϕ|ϕ⟩ = ⟨ψ|ψ⟩ = 1), and the complex
conjugate
property of Hilbert
∗ 2
space inner products ⟨ϕ|ψ⟩ = ⟨ψ|ϕ⟩ . Naturally, P (Q1 : 1) = 1 − P (Q1 : 0) = 1 − |⟨ϕ|ψ⟩| /2. The more similar
the states, the higher the likelihood that the outcome will be 0 — therefore this circuit can serve as a test of state
collinearity.
2
Since in each step Li+1 = 5Li , after running n = log 32 (logϵ0 (ϵ)) + O(1) We will have the number of gats:
( ) +O(1)
ln O(ln 1 )
ϵ ln 5
1 1
ln 3
) = O(ln3.97 )
ln 5 3
Ln = L0 (e ) 2 = O(ln ln 2
ϵ ϵ
(b) Based on Neuman series :
+∞
X
A−1 = (I + ∆A )−1 = A† = (−∆A )i = I − ∆A + ∆2A + O(δ 3 )
i=0
as required.
3
(d) Let à = I + ∆A + εA and B̃ = I + ∆B + εB where εA and εB are matrices with norm O(ϵi ).
Based on Neuman series:
+∞
X
Ã−1 = (I + ∆A + εA )−1 = (−∆A − εA )i = I − ∆A − εA + (∆A + εA )2 + O(ϵi + δ)3
i=0
Therefore we have:
ÃB̃ Æ B̃ † = (I +∆A +εA )(I +∆B +εB )(I −∆A −εA +(∆A +εA )2 +O(ϵi +δ)3 )(I −∆B −εB +(∆B +εB )2 +O(ϵi +δ)3 ) =
(e) Open ended discussion and analysis of the original paper’s algorithm using results from the previous parts.