beginner · Programming · Entanglement & Bell States
Product vs Entangled: A Test
Not every two-qubit state that looks complicated is entangled. The key question is whether the state
can be factored into independent parts for each qubit — what physicists call a product state.
The separability criterion
A general two-qubit pure state can be written
∣ψ⟩=α∣00⟩+β∣01⟩+γ∣10⟩+δ∣11⟩,
where ∣α∣2+∣β∣2+∣γ∣2+∣δ∣2=1. The state is a product state —
meaning qubit 0 and qubit 1 are completely independent — if and only if it can be factored as
(a∣0⟩+b∣1⟩)⊗(c∣0⟩+d∣1⟩). Expanding that product gives
ac∣00⟩+ad∣01⟩+bc∣10⟩+bd∣11⟩, so we need
α=ac,β=ad,γ=bc,δ=bd. Multiplying the corner pair gives
αδ=abcd; multiplying the other pair gives βγ=abcd. Therefore:
∣ψ⟩is a product state⟺αδ=βγ.
Equivalently, the 2×2 coefficient matrix (αγβδ) has determinant zero. If the determinant is non-zero, the state is entangled.
Two worked examples
Example 1 — product state. Consider
∣++⟩=21(∣00⟩+∣01⟩+∣10⟩+∣11⟩).
Here α=β=γ=δ=21. Then αδ=41 and
βγ=41. Because they match, this is a product state — indeed
∣++⟩=∣+⟩⊗∣+⟩.
Example 2 — entangled state. The Bell state
∣Φ+⟩=21(∣00⟩+∣11⟩)
has α=δ=21 and β=γ=0. Then αδ=21
but βγ=0. The determinant is 21=0, so the state is entangled: there
is no way to write it as ∣ψ⟩0⊗∣ϕ⟩1.
Try it
Apply the determinant test to the Bell state ∣Φ+⟩=21(∣00⟩+∣11⟩).
Return true if the state is entangled, or false if it is a product state.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.