IBM Lesson 2 - Multiple-Systems-Slides
IBM Lesson 2 - Multiple-Systems-Slides
Contents
1. Classical information
2. Quantum information
• Quantum states
• Standard basis measurements
• Unitary operations
1. Classical information
Classical states
Suppose that we have two systems:
• X is a system having classical state set Σ.
• Y is a system having classical state set Γ .
Imagine that X and Y are placed side-by-side, with X on the left and Y on the
right, and viewed together as if they form a single system.
Answer
Σ × Γ = {(a, b) ∶ a ∈ Σ and b ∈ Γ }
Classical states
Question
Answer
Σ × Γ = {(a, b) ∶ a ∈ Σ and b ∈ Γ }
Example
Σ × Γ = {(0, ♣), (0, ♢), (0, ♡), (0, ♠), (1, ♣), (1, ♢), (1, ♡), (1, ♠)}
Classical states
This description generalizes to more than two systems in a natural way.
Σ1 × ⋯ × Σn = {(a1 , . . . , an ) ∶ a1 ∈ Σ1 , . . . , an ∈ Σn }
Example
Suppose X1 , . . . , X10 are bits, so their classical state sets are all the
same:
Σ1 = Σ2 = ⋯ = Σ10 = {0, 1}
10
Σ1 × Σ2 × ⋯ × Σ10 = {0, 1}
Classical states
An n-tuple (a1 , . . . , an ) may also be written as a string a1 ⋯an .
Example
10
Σ1 × Σ2 × ⋯ × Σ10 = {0, 1}
0000000000
0000000001
0000000010
0000000011
⋮
1111111111
Classical states
Convention
Example
(1, 0), (1, 1), (2, 0), (2, 1), (3, 0), (3, 1)
When n-tuples are written as strings and ordered in this way, we observe
familiar patterns, such as {0, 1} × {0, 1} being ordered as 00, 01, 10, 11.
Probabilistic states
Probabilistic states of compound systems associate probabilities with the
Cartesian product of the classical state sets of the individual systems.
Example
1
Pr((X, Y) = (0, 0)) = 2
1
⎛2⎞ ← probability associated with state 00
⎜
⎜ ⎟
⎟
⎜0⎟
⎜ ⎟ ← probability associated with state 01
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟ ⎟
⎜
⎜ 0 ⎟
⎟ ← probability associated with state 10
⎜
⎜ ⎟
⎜ ⎟ ⎟
⎝ ⎠
1 ← probability associated with state 11
2
Probabilistic states
Definition
For a given probabilistic state of (X, Y), we say that X and Y are
independent if
1 1 1 1
∣π⟩ = ∣00⟩ + ∣01⟩ + ∣10⟩ + ∣11⟩
6 12 2 4
1 3 2 1
∣ϕ⟩ = ∣0⟩ + ∣1⟩ and ∣ψ⟩ = ∣0⟩ + ∣1⟩
4 4 3 3
Probabilistic states
Example
1 1
∣00⟩ + ∣11⟩
2 2
of two bits (X, Y), we have that X and Y are not independent.
1
q0 r 0 = 2
q0 r 1 = 0
q1 r 0 = 0
1
q1 r 1 = 2
is the vector
Example
1 3 2 1
∣ϕ⟩ = ∣0⟩ + ∣1⟩ and ∣ψ⟩ = ∣0⟩ + ∣1⟩
4 4 3 3
1 1 1 1
∣ϕ⟩ ⊗ ∣ψ⟩ = ∣00⟩ + ∣01⟩ + ∣10⟩ + ∣11⟩
6 12 2 4
Tensor products of vectors
Definition
⎛ α1 β 1 ⎞
⎜
⎜ ⎟
⎜
⎜ ⋮ ⎟ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ α 1 β k ⎟
⎟
⎜
⎜ ⎟
⎟
⎜ α2 β 1 ⎟
⎜ ⎟
⎜
⎜ ⎟
⎟
⎛ α1 ⎞ ⎛ β1 ⎞ ⎜⎜
⎜
⎟
⎟
⎟
⎜ ⎟ ⎜ ⎟ ⎜
⎜ ⋮ ⎟
⎟
⎜
⎜ ⎟
⋮ ⎟ ⎜
⊗⎜ ⎟
⋮ ⎟ =⎜
⎜ ⎟
⎜
⎜ ⎟ ⎜
⎟ ⎜ ⎟ ⎜⎟ ⎜ α2 βk ⎟ ⎟
⎟
⎝αm ⎠ ⎝βk ⎠ ⎜ ⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⋮ ⎟ ⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ α m 1⎟
β ⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⋮ ⎟
⎟
⎜ ⎟
⎝ αm β k ⎠
Tensor products of vectors
Example
⎛α1 β1 ⎞
⎜
⎜ ⎟
⎜α1 β2 ⎟
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜α1 β3 ⎟
⎜ ⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎜α1 β4 ⎟
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜α2 β1 ⎟
⎜ ⎟
⎛β1 ⎞ ⎜ ⎜ ⎟
⎟
⎛α1 ⎞ ⎜ ⎟ ⎜
⎜ ⎟
⎟
⎜ ⎟ ⎜
⎜β ⎟
⎟ ⎜
⎜α 2 2⎟
β ⎟
⎜
⎜ ⎟
α2 ⎟ ⎜
⎜
⊗⎜
2⎟
⎟ = ⎜
⎜ ⎟
⎟
⎜ ⎟
⎜ ⎟ ⎜ ⎟
⎟ ⎜ ⎜α β ⎟
⎜ ⎟
⎜
⎜β ⎟
3⎟ ⎜ 2 3⎟ ⎟
⎝α3 ⎠ ⎜ ⎟ ⎜
⎜ ⎟
⎟
⎝β4 ⎠ ⎜ ⎜
⎜α 2 4⎟
β ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎜
⎜α3 β 1 ⎟⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜α3 β 2 ⎟⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜α β ⎟
⎟
⎜ 3 3 ⎟
⎝α3 β4 ⎠
Tensor products of vectors
Observe the following expression for tensor products of standard basis vectors:
Example
1 1
∣00⟩ + ∣11⟩
2 2
Measuring both bits yields the outcome 00 with probability 1/2 and the
outcome 11 with probability 1/2.
Measurements of probabilistic states
Question
Answer
Pr(X = a) = ∑ pab
b∈Γ
1 1 1 1
∣00⟩ + ∣01⟩ + ∣10⟩ + ∣11⟩
12 4 3 3
1 1 1 1
∣0⟩ ⊗ ( ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( ∣0⟩ + ∣1⟩)
12 4 3 3
Measurements of probabilistic states
Example
1 1 1 1
∣0⟩ ⊗ ( ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( ∣0⟩ + ∣1⟩)
12 4 3 3
1 1 1
Pr(outcome is 0) = + =
12 4 3
1
12
∣0⟩ + 14 ∣1⟩ 1 3
= ∣0⟩ + ∣1⟩
1 4 4
3
Measurements of probabilistic states
Example
1 1 1 1
∣0⟩ ⊗ ( ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( ∣0⟩ + ∣1⟩)
12 4 3 3
1 1 2
Pr(outcome is 1) = + =
3 3 3
1
3
∣0⟩ + 13 ∣1⟩ 1 1
= ∣0⟩ + ∣1⟩
2 2 2
3
Measurements of probabilistic states
The same method can be used when Y is measured rather than X. Suppose that
(X, Y) is in some arbitrary probabilistic state:
Pr(Y = b) = ∑ pab
a∈Σ
∣00⟩ ↦ ∣00⟩ ⎛1 0 0 0⎞
⎜
⎜ ⎟
∣01⟩ ↦ ∣01⟩ ⎜
⎜0 1 0 0⎟
⎟
⎟
⎜
⎜ ⎟
⎟
∣10⟩ ↦ ∣11⟩ ⎜
⎜0 0 0 1⎟
⎟
⎜
⎜ ⎟
⎟
∣11⟩ ↦ ∣10⟩ ⎝0 0 1 0⎠
Operations on probabilistic states
Example
⎛1 1/2 1/2 0⎞ ⎛1 1 0 0⎞ ⎛1 0 1 0⎞
⎜
⎜ ⎟ ⎜ ⎟ ⎜ ⎟
⎜0
⎜ 0 0 0⎟
⎟
⎟ 1⎜⎜0 0 0 0⎟
⎟ 1⎜⎜0 0 0 0⎟
⎟
⎜
⎜
⎜
⎟
⎟
⎟ = ⎜⎜
⎜
⎜
⎟
⎟
⎟
⎟ + ⎜⎜
⎜
⎜
⎟
⎟
⎟
⎜
⎜ 0 0 0 0⎟
⎟ 2 ⎜
⎜0 0 0 0⎟
⎟ 2 ⎜
⎜ 0 0 0 0⎟
⎟
⎟
⎜ ⎟ ⎜ ⎟ ⎜ ⎟
⎝0 1/2 1/2 1⎠ ⎝0 0 1 1⎠ ⎝0 1 0 1⎠
Operations on probabilistic states
Question
is the matrix
An alternative, but equivalent, way to define M ⊗ N is that it is the unique matrix that
satisfies the equation
(M ⊗ N) ∣ϕ ⊗ ψ⟩ = M∣ϕ⟩ ⊗ N∣ψ⟩
⟨a1 ⋯an ∣M1 ⊗ ⋯ ⊗ Mn ∣b1 ⋯bn ⟩ = ⟨a1 ∣M1 ∣b1 ⟩⋯⟨an ∣Mn ∣bn ⟩
Answer
1
⎛1 2
⎞
⎜ ⎟
⎝0 1⎠
2
The combined operation on the compound system (X, Y) then has this
matrix representation:
1
⎛0 1 0 2⎞
⎜
⎜ ⎟
⎟
⎛1 1
⎞ ⎛0 1⎞ ⎜
⎜
⎜1 0 1
0⎟
⎟
⎟
⎟=⎜ ⎟
2 2
⎜ ⎟⊗⎜ ⎜
⎜ ⎟
⎟
⎝0 1⎠ ⎝1 0⎠ ⎜
⎜
⎜
⎜0 0 0 1⎟
⎟
2⎟
⎟
2 ⎜ ⎟
⎝0 0 1
0⎠
2
Operations on probabilistic states
A common situation that we encounter is one in which one operation is
performed on one system and nothing is done to another system.
Resetting a bit X to the 0 state and doing nothing to a bit Y yields this
operation on (X, Y):
⎛1 0 1 0⎞
⎜
⎜ ⎟
⎟
⎛1 1⎞ ⎛1 0⎞ ⎜⎜0
⎜ 1 0 1⎟
⎟
⎟
⎜ ⎟⊗⎜ ⎟=⎜
⎜
⎜
⎟
⎟
⎟
⎝0 0⎠ ⎝0 1 ⎠ ⎜
⎜ 0 0 0 0⎟
⎟
⎜
⎜ ⎟
⎟
⎜ ⎟
⎝0 0 0 0⎠
2. Quantum information
Quantum states
Quantum state vectors of multiple systems are represent by column vectors
whose indices correspond to the Cartesian product of the individual systems’
classical state sets.
Example
If X and Y are qubits, the classical state set for the pair (X, Y) is
These are examples of quantum state vectors of the pair (X, Y):
1 i 1 i
∣00⟩ + ∣01⟩ − ∣10⟩ − ∣11⟩
2 2 2 2
3 4
∣00⟩ − ∣11⟩
5 5
∣01⟩
Quantum states
Quantum state vectors of multiple systems are represent by column vectors
whose indices correspond to the Cartesian product of the individual systems’
classical state sets.
Example
If X and Y are qubits, the classical state set for the pair (X, Y) is
These are examples of quantum state vectors of the pair (X, Y):
1 i 1 i
∣0⟩∣0⟩ + ∣0⟩∣1⟩ − ∣1⟩∣0⟩ − ∣1⟩∣1⟩
2 2 2 2
3 4
∣0⟩∣0⟩ − ∣1⟩∣1⟩
5 5
∣0⟩∣1⟩
Quantum states
Quantum state vectors of multiple systems are represent by column vectors
whose indices correspond to the Cartesian product of the individual systems’
classical state sets.
Example
If X and Y are qubits, the classical state set for the pair (X, Y) is
These are examples of quantum state vectors of the pair (X, Y):
1 i 1 i
∣0⟩ ⊗ ∣0⟩ + ∣0⟩ ⊗ ∣1⟩ − ∣1⟩ ⊗ ∣0⟩ − ∣1⟩ ⊗ ∣1⟩
2 2 2 2
3 4
∣0⟩ ⊗ ∣0⟩ − ∣1⟩ ⊗ ∣1⟩
5 5
∣0⟩ ⊗ ∣1⟩
Quantum states
Quantum state vectors of multiple systems are represent by column vectors
whose indices correspond to the Cartesian product of the individual systems’
classical state sets.
Example
If X and Y are qubits, the classical state set for the pair (X, Y) is
These are examples of quantum state vectors of the pair (X, Y):
1 i 1 i
∣0⟩ ∣0⟩ + ∣0⟩ ∣1⟩ − ∣1⟩ ∣0⟩ − ∣1⟩ ∣1⟩
2 X Y 2 X Y 2 X Y 2 X Y
3 4
∣0⟩ ∣0⟩ − ∣1⟩ ∣1⟩
5 X Y 5 X Y
∣0⟩X ∣1⟩Y
Quantum states
Quantum state vectors of multiple systems are represent by column vectors
whose indices correspond to the Cartesian product of the individual systems’
classical state sets.
Example
If X and Y are qubits, the classical state set for the pair (X, Y) is
These are examples of quantum state vectors of the pair (X, Y):
1 i 1 i
∣00⟩ + ∣01⟩ − ∣10⟩ − ∣11⟩
2 2 2 2
3 4
∣00⟩ − ∣11⟩
5 5
∣01⟩
Quantum states
Tensor products of quantum state vectors are also quantum state vectors.
Let ∣ϕ⟩ be a quantum state vector of a system X and let ∣ψ⟩ be a quantum state
vector of a system Y. The tensor product
∣ϕ⟩ ⊗ ∣ψ⟩
States of this form are called product states. They represent independence
between the systems X and Y.
∣ψ1 ⟩ ⊗ ⋯ ⊗ ∣ψn ⟩
1 i 1 i
∣00⟩ + ∣01⟩ − ∣10⟩ − ∣11⟩
2 2 2 2
1 i 1 i
∣00⟩ + ∣01⟩ − ∣10⟩ − ∣11⟩
2 2 2 2
1 1 1 i
= ( √ ∣0⟩ − √ ∣1⟩) ⊗ ( √ ∣0⟩ + √ ∣1⟩)
2 2 2 2
Quantum states
Example
1 1
√ ∣00⟩ + √ ∣11⟩
2 2
implying that
1
⟨0∣ϕ⟩⟨0∣ψ⟩ = ⟨00∣ϕ ⊗ ψ⟩ = √
2
1
⟨1∣ϕ⟩⟨1∣ψ⟩ = ⟨11∣ϕ ⊗ ψ⟩ = √
2
Quantum states
The previous example of a quantum state vector is one of the four
Bell states, which collectively form the Bell basis.
The Bell basis
+ 1 1
∣ϕ ⟩ = √ ∣00⟩ + √ ∣11⟩
2 2
− 1 1
∣ϕ ⟩ = √ ∣00⟩ − √ ∣11⟩
2 2
+ 1 1
∣ψ ⟩ = √ ∣01⟩ + √ ∣10⟩
2 2
− 1 1
∣ψ ⟩ = √ ∣01⟩ − √ ∣10⟩
2 2
Quantum states
Here are a couple of well-known examples of quantum state vectors for
three-qubits.
GHZ state
1 1
√ ∣000⟩ + √ ∣111⟩
2 2
W state
1 1 1
√ ∣001⟩ + √ ∣010⟩ + √ ∣100⟩
3 3 3
Measurements
Measurements of compound systems work in the same way measurements of
single systems — provided that all of the systems are measured.
If ∣ψ⟩ a quantum state of a system (X1 , . . . , Xn ), and every one of the systems
is measured, then each n-tuple
(a1 , . . . , an ) ∈ Σ1 × ⋯ × Σn
2
∣⟨a1 ⋯an ∣ψ⟩∣
Measurements
Measurements of compound systems work in the same way measurements of
single systems — provided that all of the systems are measured.
Example
3 4i
∣0⟩∣♡⟩ − ∣1⟩∣♠⟩
5 5
then measuring both systems yields the outcome (0, ♡) with probability
9/25 and the outcome (1, ♠) with probability 16/25.
Measurements
Question
If both X and Y are measured, then each outcome (a, b) ∈ Σ × Γ appears with
probability
2 2
∣⟨ab∣ψ⟩∣ = ∣αab ∣
Measurements
Question
2 2
Pr(outcome is a) = ∑ ∣⟨ab∣ψ⟩∣ = ∑ ∣αab ∣
b∈Γ b∈Γ
where
for each a ∈ Σ.
Measurements
A quantum state vector of (X, Y) takes the form
2 2
Pr(outcome is a) = ∑ ∣αab ∣ = ∥∣ϕa ⟩∥
b∈Γ
∣ϕa ⟩
∣a⟩ ⊗
∥∣ϕa ⟩∥
Measurements
Example
1 1 i 1
∣ψ⟩ = √ ∣00⟩ + ∣01⟩ + √ ∣10⟩ − √ ∣11⟩
2 2 2 2 2 2
and X is measured.
We begin by writing
1 1 i 1
∣ψ⟩ = ∣0⟩ ⊗ ( √ ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( √ ∣0⟩ − √ ∣1⟩)
2 2 2 2 2 2
Measurements
Example
1 1 i 1
∣ψ⟩ = ∣0⟩ ⊗ ( √ ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( √ ∣0⟩ − √ ∣1⟩)
2 2 2 2 2 2
and X is measured.
Â
 1 1 Â
 2
1 1 3
Â
 ∣0⟩ + ∣1⟩ Â
Â
 √
 2
 2  = 2+4 = 4
Â
Â
 Â
in which case the state of (X, Y) becomes
√1 ∣0⟩ + 1 ∣1⟩
√
2 2 2 1
∣0⟩ ⊗ √ = ∣0⟩ ⊗ ( ∣0⟩ + √ ∣1⟩)
3 3 3
4
Measurements
Example
1 1 i 1
∣ψ⟩ = ∣0⟩ ⊗ ( √ ∣0⟩ + ∣1⟩) + ∣1⟩ ⊗ ( √ ∣0⟩ − √ ∣1⟩)
2 2 2 2 2 2
and X is measured.
Â
 1 Â
 2
1 1 1
Â
Â
i
∣0⟩ − ∣1⟩ Â
Â
Â
Â
 2
√
2 2
√
2 Â = 8+8 = 4
Â
Â
 Â
in which case the state of (X, Y) becomes
i
√ ∣0⟩ − √1 ∣1⟩ i 1
2 2 2 2
∣1⟩ ⊗ √ = ∣1⟩ ⊗ ( √ ∣0⟩ − √ ∣1⟩)
1 2 2
4
Measurements
Example
1 1 i 1
∣ψ⟩ = √ ∣00⟩ + ∣01⟩ + √ ∣10⟩ − √ ∣11⟩
2 2 2 2 2 2
and Y is measured.
We begin by writing
1 i 1 1
∣ψ⟩ = ( √ ∣0⟩ + √ ∣1⟩) ⊗ ∣0⟩ + ( ∣0⟩ − √ ∣1⟩) ⊗ ∣1⟩
2 2 2 2 2 2
Measurements
Example
1 i 1 1
∣ψ⟩ = ( √ ∣0⟩ + √ ∣1⟩) ⊗ ∣0⟩ + ( ∣0⟩ − √ ∣1⟩) ⊗ ∣1⟩
2 2 2 2 2 2
and Y is measured.
Â
 1 Â
Â2
1 1 5
Â
 √ ∣0⟩ + √
i
∣1⟩ Â
 = + =
Â
 2 Â
Â
Â
 2 2 Â
 2 8 8
√1 ∣0⟩ + √
i √
∣1⟩ 4 i
2 2 2
√ =( ∣0⟩ + √ ∣1⟩) ⊗ ∣0⟩
5 5 5
8
Measurements
Example
1 i 1 1
∣ψ⟩ = ( √ ∣0⟩ + √ ∣1⟩) ⊗ ∣0⟩ + ( ∣0⟩ − √ ∣1⟩) ⊗ ∣1⟩
2 2 2 2 2 2
and Y is measured.
Â
 1 1 Â
 2
1 1 3
Â
 ∣0⟩ − ∣1⟩ Â
Â
Â
Â2
 2
√
2 Â = 4+8 = 8
Â
Â
 Â
in which case the state of (X, Y) becomes
1 √
2
∣0⟩ − √1 ∣1⟩ 2 1
2 2
√ =( ∣0⟩ − √ ∣1⟩) ⊗ ∣1⟩
3 3 3
8
Unitary operations
Quantum operations on compound systems are represented by unitary matrices
whose rows and columns correspond to the Cartesian product of the classical
state sets of the individual systems.
Example
Suppose X has classical state set {1, 2, 3} and Y has classical state set
{0, 1}. This unitary matrix represents an operation on (X, Y):
1 1 1 1
⎛2 2 2
0 0 2 ⎞
⎜
⎜ ⎟
⎟
⎜1
⎜ i
− 12 0 0 ⎟
− 2i ⎟
⎜
⎜ 2 2 ⎟
⎟
⎜
⎜1 ⎟
⎟
⎜
⎜ − 12 1
− 12 ⎟
⎟
⎜
⎜ 0 0 ⎟
⎟
⎜2
U=⎜
2
⎟ ⎟
⎜
⎜ ⎟
⎟
⎜
⎜0 0 0 √1 √1 0 ⎟
⎟
⎜
⎜ 2 2 ⎟
⎟
⎜
⎜ i ⎟
⎟
⎜1
⎜ − 2i − 12 ⎟
2 ⎟
⎜ 0 0 ⎟
⎜
⎜
2 ⎟
⎟
⎝0 0 0 − √1 √1 0 ⎠
2 2
Unitary operations
The combined action of a collection of unitary operations applied independently
to a collection of systems is represented by the tensor product of the unitary
matrices.
U1 ⊗ ⋯ ⊗ Un
U ⊗ 1 or alternatively U ⊗ 1Y
Unitary operations
The combined action of a collection of unitary operations applied independently
to a collection of systems is represented by the tensor product of the unitary
matrices.
U1 ⊗ ⋯ ⊗ Un
1⊗V or alternatively 1X ⊗ V
Unitary operations
Example
1 √1
⎛ √2 0
2
0 ⎞
⎛ √1 √1 ⎞
⎜
⎜ ⎟
⎟
1 0 ⎜
⎜0 √1 0 √1 ⎟
⎟
H⊗1= ⎜
⎜ 1
2 2 ⎟
1 ⎟
⊗( )=⎜
⎜
⎜
2 2⎟
⎟
⎟
⎝ √2 − ⎠
√ 0 1 ⎜ √1
⎜ 0 − √1 0 ⎟⎟
2 ⎜
⎜ 2 2 ⎟
⎟
⎝0 √1 0 − 1 ⎠
√
2 2
Unitary operations
Example
1 √1
⎛ √2 2
0 0 ⎞
⎜
⎜ ⎟
1 0 ⎛ √1 √1 ⎞ ⎜ 1
⎜ √2 − √1 0 0 ⎟ ⎟
⎟
1⊗H=( )⊗⎜
⎜ 1
2 2 ⎟
⎟ =⎜
⎜
⎜
2 ⎟
⎟
⎟
0 1 ⎝ √2 − √1 ⎠ ⎜0
⎜ 0 √1 1
√ ⎟ ⎟
2 ⎜
⎜ 2 2 ⎟
⎟
⎝0 0 √1 − √1 ⎠
2 2
Unitary operations
Not every unitary operation on a compound system can be expressed as a tensor
product of unitary operations.
Example
Suppose that X and Y are systems that share the same classical state
set Σ. The swap operation on the pair (X, Y) exchange the contents of
the two systems:
SWAP∣ϕ ⊗ ψ⟩ = ∣ψ ⊗ ϕ⟩
The swap operation can be expressed using the Dirac notation as follows:
⎛1 0 0 0⎞
⎜
⎜ ⎟
⎟
⎜0 0 1 0⎟
SWAP = ⎜
⎜
⎜
⎜
⎟
⎟
⎟
⎟
⎜
⎜0 1 0 0⎟
⎟
⎜ ⎟
⎝0 0 0 1⎠
Unitary operations
Not every unitary operation on a compound system can be expressed as a tensor
product of unitary operations.
Example
+ + 1 1
SWAP∣ϕ ⟩ = ∣ϕ ⟩ +
∣ϕ ⟩ = √ ∣00⟩ + √ ∣11⟩
− − 2 2
SWAP∣ϕ ⟩ = ∣ϕ ⟩
+ + − 1 1
SWAP∣ψ ⟩ = ∣ψ ⟩ ∣ϕ ⟩ = √ ∣00⟩ − √ ∣11⟩
2 2
− −
SWAP∣ψ ⟩ = −∣ψ ⟩
+ 1 1
∣ψ ⟩ = √ ∣01⟩ + √ ∣10⟩
2 2
− 1 1
∣ψ ⟩ = √ ∣01⟩ − √ ∣10⟩
2 2
Unitary operations
Suppose that X is a qubit and Y is an arbitrary system.
1Y 0
∣0⟩⟨0∣ ⊗ 1Y + ∣1⟩⟨1∣ ⊗ U = ( )
0 U
Example
⎛1 0 0 0⎞
⎜
⎜ ⎟
⎜0 1 0 0⎟
⎟
∣0⟩⟨0∣ ⊗ 1 + ∣1⟩⟨1∣ ⊗ σx = ⎜
⎜
⎜
⎜
⎟
⎟
⎟
⎜0
⎜ 0 0 1⎟
⎟
⎟
⎜ ⎟
⎝0 0 1 0⎠
Unitary operations
Suppose that X is a qubit and Y is an arbitrary system.
1Y 0
∣0⟩⟨0∣ ⊗ 1Y + ∣1⟩⟨1∣ ⊗ U = ( )
0 U
Example
⎛1 0 0 0⎞
⎜
⎜ ⎟
⎜0 0 0 1⎟
⎟
1 ⊗ ∣0⟩⟨0∣ + σx ⊗ ∣1⟩⟨1∣ = ⎜
⎜
⎜
⎜
⎟
⎟
⎟
⎜0
⎜ 0 1 0⎟
⎟
⎟
⎜ ⎟
⎝0 1 0 0⎠
Unitary operations
Suppose that X is a qubit and Y is an arbitrary system.
1Y 0
∣0⟩⟨0∣ ⊗ 1Y + ∣1⟩⟨1∣ ⊗ U = ( )
0 U
Example
⎛1 0 0 0⎞
⎜
⎜ ⎟
⎜0 1 0 0⎟⎟
∣0⟩⟨0∣ ⊗ 1 + ∣1⟩⟨1∣ ⊗ σz = ⎜
⎜
⎜
⎜
⎟
⎟
⎟
⎜0
⎜ 0 1 0⎟⎟
⎟
⎜ ⎟
⎝0 0 0 −1⎠
Unitary operations
Suppose that X is a qubit and Y is an arbitrary system.
1Y 0
∣0⟩⟨0∣ ⊗ 1Y + ∣1⟩⟨1∣ ⊗ U = ( )
0 U
Example
⎛1 0 0 0⎞
⎜
⎜ ⎟
⎜0 1 0 0⎟⎟
1 ⊗ ∣0⟩⟨0∣ + σz ⊗ ∣1⟩⟨1∣ = ⎜
⎜
⎜
⎜
⎟
⎟
⎟
⎜0
⎜ 0 1 0⎟⎟
⎟
⎜ ⎟
⎝0 0 0 −1⎠
Unitary operations
Example
⎛1 0 0 0 0 0 0 0⎞
⎜
⎜ ⎟
⎜0
⎜ 1 0 0 0 0 0 0⎟
⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ 0 0 1 0 0 0 0 0⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎜
⎜ 0 0 0 1 0 0 0 0⎟
⎟
⎟
∣0⟩⟨0∣ ⊗ 1 + ∣1⟩⟨1∣ ⊗ SWAP = ⎜
⎜
⎜
⎟
⎟
⎟
⎜0
⎜ 0 0 0 1 0 0 ⎟
0⎟
⎜
⎜ ⎟
⎟
⎜
⎜0 ⎟
⎟
⎜
⎜ 0 0 0 0 0 1 0⎟
⎟
⎜
⎜ ⎟
⎟
⎜0
⎜ 0 0 0 0 1 0 ⎟
0⎟
⎜
⎜ ⎟
⎟
⎝0 0 0 0 0 0 0 1⎠
⎛1 0 0 0 0 0 0 0⎞
⎜
⎜ ⎟
⎟
⎜
⎜0 1 0 0 0 0 0 0⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜0 0 1 0 0 0 0 ⎟
0⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜0 0 0 1 0 0 0 0⎟
⎟
=⎜
⎜
⎜
⎟
⎟
⎟
⎜
⎜0 0 0 0 1 0 0 0⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ ⎟
⎜
⎜0 0 0 0 0 1 0 0⎟
⎟
⎟
⎜
⎜ ⎟
⎟
⎜
⎜ 1⎟
⎟
⎜0
⎜ 0 0 0 0 0 0 ⎟
⎟
⎝0 0 0 0 0 0 1 0⎠