lecture_05
lecture_05
Three questions
Target qubit
Bob +
• In other words, |00⟩ ↦ |00⟩, |01⟩ ↦ |01⟩, |10⟩ ↦ |11⟩, |11⟩ ↦ |10⟩
CNOT gate
A 4-dimensional unitary transformation
• In other words, |00⟩ ↦ |00⟩, |01⟩ ↦ |01⟩, |10⟩ ↦ |11⟩, |11⟩ ↦ |10⟩
1 0 0 0
0 1 0 0
CNOT =
• 0 0 0 1
0 0 1 0
• CNOT(α00|00⟩ + α01|01⟩ + α10|10⟩ + α11|11⟩) = α00|00⟩ + α01|01⟩ + α10|11⟩ + α11|10⟩
Hadamard followed by CNOT
What’s the joint state?
Alice |0⟩ H
Bob |0⟩ +
Bell state / EPR pair
Einstein, Podolsky, Rosen
1 1
|00⟩ + |11⟩
• 2 2
• De nition Joint state is unentangled if it is of the form |ψ⟩ ⊗ |φ⟩. It is entangled if it is
not unentangled.
[r s]
p q
• Apply U = to the second qubit
• Overall transformation I ⊗ U
• More generally, if U is applied to the rst qubit, and then V to second qubit,
then the overall transformation is (I ⊗ V)(U ⊗ I) = U ⊗ V.
• If V is applied to second qubit, and then U is applied to the rst qubit, then the
overall transformation is the same.
fi
fi
Universal gates for quantum circuits
The power of CNOT
• Classical computation: NAND and NOR gates are universal for classical
circuits
n n
• Quantum computation: every 2 × 2 unitary transformation on n qubits can
be implemented by a quantum circuit of 1-qubit unitary gates and CNOTs
Multi-qubit systems
Three questions
• If the readout is |0⟩, then the joint state collapses to |0⟩ ⊗ (α00|0⟩ + α01|1⟩)/ p0
• If the readout is |1⟩, then the joint state collapses to |1⟩ ⊗ (α10|0⟩ + α11|1⟩)/ p1
• The joint state is unentangled after the measurement.
fi
Measurement
Applied partially
• Example 1
• Alice and Bob share an EPR pair.
• What happens if Alice measures her qubit in the |0⟩, |1⟩ basis?
• Example 2
• Alice and Bob share an EPR pair.
• What happens if Alice measures her qubit in the | + ⟩, | − ⟩ basis?
• Example 3
• 3-qubit system: |φ⟩ = α000|000⟩ + α001|001⟩ + … + α111|111⟩
• What happens if we measure the rst two qubits?
fi
Mixed states
Probability distribution over quantum states
• The “state” after Alice’s measurement is a probability distribution over quantum states, called
a mixed state.
fi