Finite-dimensional complex vectors, conjugate inner products and ideal gates. Every derivation spells out its assumptions before it reaches a conclusion.
DERIVATION 01
Unitaries preserve normalization
Assumptions / A normalized vector |ψ⟩, and a matrix U with U†U=I, in a finite-dimensional complex Hilbert space.
‖Uψ‖² = ⟨ψ|U†U|ψ⟩ = ⟨ψ|ψ⟩ = 1
- The inner product conjugates and transposes, so (Uψ)†=ψ†U†.
- Insert U†U=I and the norm stays exactly as it was. Running the evolution backwards is just applying U†.
Example / H†H=I, and H|0⟩=(|0⟩+|1⟩)/√2 still has total probability 1.
Study the related lesson →DERIVATION 02
Born probabilities form a distribution
Assumptions / Orthogonal projectors Pₖ with ΣPₖ=I, and a normalized |ψ⟩.
p(k)=⟨ψ|Pₖ|ψ⟩=‖Pₖψ‖² ≥ 0
Σₖ p(k)=⟨ψ|I|ψ⟩=1
- A projector obeys Pₖ†Pₖ=Pₖ, so each expectation value is a squared length and cannot be negative.
- Completeness makes the probabilities add to one. When p(k)>0, divide Pₖ|ψ⟩ by √p(k) to get the normalized post-measurement state. An outcome with probability zero never happens.
Example / The vector [√3/2, i/2] yields probabilities 3/4 and 1/4.
Study the related lesson →DERIVATION 03
Global phase is unobservable
Assumptions / A real number χ and any measurement effect E.
⟨eⁱχψ|E|eⁱχψ⟩ = e⁻ⁱχeⁱχ ⟨ψ|E|ψ⟩ = ⟨ψ|E|ψ⟩
- The bra carries the conjugate phase, which cancels the phase on the ket.
- A relative phase between components does not cancel. Later gates can turn it into different probabilities.
Example / |+⟩ and |−⟩ give identical Z-basis bars, yet H sends them to different basis states.
Study the related lesson →DERIVATION 04
Hermitian observables have real eigenvalues
Assumptions / A=A†, and a nonzero |v⟩ with A|v⟩=λ|v⟩.
λ⟨v|v⟩ = ⟨v|A|v⟩
= ⟨v|A|v⟩* = λ*⟨v|v⟩
- The expectation of a Hermitian operator equals its own complex conjugate.
- Because ⟨v|v⟩>0 we can divide it out and get λ=λ*. For two different eigenvalues λ and μ, (λ−μ)⟨w|v⟩=0 forces the eigenvectors to be orthogonal.
Example / Z has the real eigenvalues +1 and −1 with orthogonal eigenvectors |0⟩ and |1⟩.
Study the related lesson →DERIVATION 05
Two-qubit separability and Bell mixedness
Assumptions / A normalized pure state a|00⟩+b|01⟩+c|10⟩+d|11⟩.
M=[a b; c d]
product state ⇔ rank(M)=1 ⇔ ad−bc=0
Tr_B(|Φ⁺⟩⟨Φ⁺|)=I/2
- For a product state the coefficient matrix is the outer product of two vectors, so it has rank one; and any nonzero rank-one matrix factors that way.
- For the Bell state the determinant is 1/2, so it is entangled. In the partial trace the |00⟩⟨11| cross terms vanish because ⟨1|0⟩=0, which leaves two equal local populations.
Example / The Bell pair has joint purity 1, while each half has purity Tr((I/2)²)=1/2.
Study the related lesson →DERIVATION 06
No universal unitary cloner
Assumptions / A unitary that supposedly copies any pure state onto the same blank register.
U|ψ,0⟩=|ψ,ψ⟩
U|φ,0⟩=|φ,φ⟩
s=⟨ψ|φ⟩ → s=s²
- A unitary keeps the overlap s between inputs. Tensor products multiply overlaps, so the claimed outputs would overlap by s².
- Take |ψ⟩=|0⟩ and |φ⟩=|+⟩: s=1/√2 but s²=1/2, a contradiction. Known orthogonal states can be copied; an arbitrary unknown state cannot.
Example / CX copies a computational-basis bit onto a blank qubit, but on a superposition it produces entanglement rather than two independent copies.
Study the related lesson →DERIVATION 07
Entanglement does not enable signaling
Assumptions / A joint state ρ_AB and a trace-preserving local operation on Alice's side with ΣKₘ†Kₘ=I, whose outcomes are not shared.
ρ′_B=Tr_A Σₘ(Kₘ⊗I)ρ_AB(Kₘ†⊗I) = Tr_A ρ_AB=ρ_B
- Inside the partial trace over Alice, cycle her factors around and sum Kₘ†Kₘ to the identity. Bob's reduced density matrix comes out unchanged.
- If an outcome is announced, Bob's conditional description can change, but learning that outcome takes a classical message.
Example / Bob sees 50/50 results on his half of a Bell pair whether or not Alice measures, until the two compare records.
Study the related lesson →DERIVATION 08
Grover's two-dimensional rotation
Assumptions / One marked item among N candidates, an exact phase oracle and the diffuser D=2|s⟩⟨s|−I.
sin θ=1/√N
P(success after k iterations)=sin²((2k+1)θ)
- Write the uniform state as a marked direction plus a normalized unmarked direction; its marked coefficient is sin θ.
- The oracle and the diffuser are both reflections, and two reflections compose into a rotation by 2θ. The first peak lands near k=π/(4θ)−1/2, which costs O(√N) queries.
Example / N=4 gives θ=π/6, and k=1 gives sin²(π/2)=1. Going past the peak lowers the success chance again.
Study the related lesson →DERIVATION 09
The variational energy bound
Assumptions / A Hermitian H with eigenbasis |n⟩ and lowest eigenvalue E₀, and a normalized trial state.
|ψ⟩=Σₙcₙ|n⟩
⟨H⟩=Σₙ|cₙ|²Eₙ ≥ E₀Σₙ|cₙ|²=E₀
- Expand the trial state in the orthonormal energy eigenbasis; the cross terms drop out.
- The energy is then a weighted average of eigenvalues, so it cannot sit below the smallest one. A finite-shot estimate can wander under E₀, so keep the true expectation and its estimate apart.
Example / For H=Z and the state Ry(θ)|0⟩, E(θ)=cos θ ≥ −1.
Study the related lesson →DERIVATION 10
The quantum Fourier transform is unitary
Assumptions / Fₖₓ=exp(2πikx/N)/√N for integer indices 0,…,N−1.
(F†F)ₓᵧ=(1/N)Σₖexp(2πik(y−x)/N)=δₓᵧ
- When x=y, every one of the N terms equals one. When x≠y, the ratio r of the geometric series is a nontrivial Nth root of unity.
- The sum (1−rᴺ)/(1−r) is therefore zero, so the columns are orthonormal and F†F=I. The inverse transform simply flips the sign of the phase.
Example / For N=4 and x=1 you get [1,i,−1,−i]/2: four different phases, all with equal probability.
Study the related lesson →Further reading: Nielsen & Chuang, Quantum Computation and Quantum Information, and John Preskill's lecture notes on quantum computation. The derivations here are finite-dimensional and ideal; they do not model every hardware imperfection.