Open
A quantum state ∣ψ⟩=a0∣0⟩+a1∣1⟩ can be represented as a column vector
∣ψ⟩=a0∣0⟩+a1∣1⟩=(a0a1).The adjoint ⟨ψ∣ of a quantum state ∣ψ⟩=a0∣0⟩+a1∣1⟩ is defined as
⟨ψ∣=∣ψ⟩†=(a0∗a1∗).For quantum states ∣ψ⟩=(a0a1) and ⟨ϕ∣=(b0∗b1∗), the inner product ⟨ϕ∣ψ⟩ is defined as
⟨ϕ∣ψ⟩=(b0∗b1∗)(a0a1)=b0∗a0+b1∗a1.Manipulating a quantum state is equivalent to multiplying a column vector by a unitary matrix from the left.
The outer product ∣ψ⟩⟨ϕ∣ of quantum states ∣ψ⟩=(a0a1) and ⟨ϕ∣=(b0∗b1∗) is defined as
∣ψ⟩⟨ϕ∣=(a0a1)(b0∗b1∗)=(a0b0∗a1b0∗a0b1∗a1b1∗)For arbitrary quantum state ∣ω⟩, the following equation holds:
(∣ψ⟩⟨ϕ∣)∣ω⟩=∣ψ⟩⟨ϕ∣ω⟩=⟨ϕ∣ω⟩∣ψ⟩