lecture_04
lecture_04
Law #3
• A qubit state (in general, a joint state) can be changed by any linear transformation that
preserves lengths.
• Unitary transformation
• A linear transformation U is unitary if it preserves lengths.
†
• Proposition: U is unitary if and only if U U = I
† −1 †
• Theorem: U is unitary if and only if U = U if and only if UU =I
• Corollary: Columns of U form an orthonormal basis. Same holds for rows.
• Theorem: Unitary transformations preserve inner products
Examples of unitary transformations
[0 −1]
• Unitary transformations map an 1 0
orthonormal basis to another Pauli-Z gate Z =
•
orthonormal basis
1
• Rotations Rθ
1
SWAP =
• Hadamard H • 1
1
• NOT gate
[0 i ]
1 0
Phase shift S =
•
Square root of a unitary transformation
• Fact: For every unitary transformation U, there exists a unitary transformation
2
W such that W = U.
• Given an unknown state |φ⟩, you are promised that |ϕ⟩ ∈ {|u⟩, |v⟩}
2
• You are asked to guess |φ⟩. For simplicity, suppose that |u⟩, |v⟩ ∈ ℝ , and the angle
between them is θ.
• Let |u′⟩, |v′⟩ be an orthonormal basis such that their angle bisector overlaps
with the angle bisector of |u⟩, |v⟩
⊥
• Let |u⟩, |u ⟩ be an orthonormal basis that contains |u⟩
• One-sided error algorithm
⊥
• Measure in the |u⟩, |u ⟩ basis
⊥
• Guess |u⟩ when the readout is |u⟩, and guess |v⟩ when the readout is |u ⟩
2 2
• Only in the case where |φ⟩ = |v⟩, the error probability is |⟨u ∣ v⟩| = cos θ
Option 3
⊥ ⊥
Measure in |u⟩, |u ⟩ or |v⟩, |v ⟩ randomly
⊥ ⊥
• Flip a coin to choose a basis from |u⟩, |u ⟩ and |v⟩, |v ⟩
• Measure in that basis
⊥ ⊥
• If the basis is |u⟩, |u ⟩, guess |v⟩ only when the readout is |u ⟩
⊥ ⊥
• If the basis is |v⟩, |v ⟩, guess |u⟩ only when the readout is |v ⟩
• Otherwise, say “I don’t know”
⊥ 2 2
• Probability of correct guess is (1/2)|⟨u ∣ v ⟩| = (1/2)sin θ
• Not optimal when θ = π/2
Multi-qubit systems
4-dimensional quantum systems
• Two photons
• Basic states: |00⟩, |01⟩, |10⟩, |11⟩
α00
α01
Joint state: α00|00⟩ + α01|01⟩ + α10|10⟩ + α11|11⟩ =
α10
•
α11
Multi-qubit systems
Three questions
α0 β0 • | + ⟩ ⊗ |0⟩
d e
a= ⋮ ∈ ℂ ,b = ⋮ ∈ ℂ • Tensor product of two matrices
• αd−1 βe−1
a11 … a1n
• Joint state is a ⊗ b = ? A= ⋮ ⋱ ⋮
• a … a
• Example: m1 mn
• |0⟩ ⊗ | + ⟩
Properties of tensor products
Distributivity, associativity, conjugate transpose and multiplication
• (A + B) ⊗ C = A ⊗ C + B ⊗ C
• A ⊗ (B + C) = A ⊗ B + A ⊗ C
• A ⊗ (B ⊗ C) = (A ⊗ B) ⊗ C =: A ⊗ B ⊗ C
† † †
• (A ⊗ B) = A ⊗ B
• (A ⊗ B)(C ⊗ D) = (AC) ⊗ (BD)