|q⟩ Bad Qubits

intermediate · Physics · Hilbert Spaces & Dirac Formalism

Checkpoint: Formalism Workout

This checkpoint pulls together every tool from the module — kets, inner products, completeness, projectors, basis expansions, and tensor products — to construct and analyze the most famous entangled state in quantum mechanics, the Bell state Φ+|\Phi^+\rangle.

The target state

We want to build

Φ+=12(00+11),|\Phi^+\rangle = \frac{1}{\sqrt{2}}\big(|00\rangle + |11\rangle\big),

a two-qubit state living in C2C2=C4\mathbb{C}^2 \otimes \mathbb{C}^2 = \mathbb{C}^4. It is normalized, since Φ+Φ+=12(0000+1111)=12(1+1)=1\langle\Phi^+|\Phi^+\rangle = \tfrac{1}{2}(\langle 00|00\rangle + \langle 11|11\rangle) = \tfrac{1}{2}(1 + 1) = 1, using orthonormality of the product basis.

Why it is entangled

Apply the factorization test from the tensor-product lesson. The amplitudes are c00=c11=1/2c_{00} = c_{11} = 1/\sqrt{2} and c01=c10=0c_{01} = c_{10} = 0, so

c00c11=120=c01c10.c_{00}\,c_{11} = \frac{1}{2} \ne 0 = c_{01}\,c_{10}.

The condition for a product state fails, so Φ+|\Phi^+\rangle is entangled: there is no pair of single-qubit states ψ,ϕ|\psi\rangle, |\phi\rangle with Φ+=ψϕ|\Phi^+\rangle = |\psi\rangle\otimes|\phi\rangle.

Constructing it from formalism

Build it in two steps, each a manipulation you have already practiced.

Step 1 — superpose the control. Apply a Hadamard to qubit 0, leaving qubit 1 in 0|0\rangle:

(HI)00=+0=12(00+10).(H\otimes I)\,|00\rangle = |+\rangle\otimes|0\rangle = \frac{1}{\sqrt{2}}\big(|00\rangle + |10\rangle\big).

This is still a product state — H acts on one factor only.

Step 2 — correlate with CNOT. The CNOT gate with control 0, target 1 acts on the product basis by flipping the target when the control is 1|1\rangle: it fixes 00|00\rangle and sends 1011|10\rangle \to |11\rangle. Applying it,

CNOT  12(00+10)=12(00+11)=Φ+.\mathrm{CNOT}\;\frac{1}{\sqrt{2}}\big(|00\rangle + |10\rangle\big) = \frac{1}{\sqrt{2}}\big(|00\rangle + |11\rangle\big) = |\Phi^+\rangle.

The entangling step is the CNOT: it converts a product state into a non-factorizable one.

Checking with projectors and completeness

The probability of measuring both qubits and finding 0000 is the expectation of the projector P00=0000P_{00} = |00\rangle\langle 00|:

Φ+P00Φ+=00Φ+2=122=12.\langle\Phi^+|P_{00}|\Phi^+\rangle = |\langle 00|\Phi^+\rangle|^2 = \left|\frac{1}{\sqrt2}\right|^2 = \frac{1}{2}.

Likewise the outcome 1111 has probability 1/21/2, while 0101 and 1010 each have probability 00. The four projectors {P00,P01,P10,P11}\{P_{00}, P_{01}, P_{10}, P_{11}\} satisfy the completeness relation P=I\sum P = I, and the probabilities 12+0+0+12=1\tfrac12 + 0 + 0 + \tfrac12 = 1 — total probability is conserved, exactly as Parseval's identity guarantees. The perfect correlation (only 0000 and 1111 ever occur) is the experimental signature of entanglement.

Try it

Build the Bell state Φ+=12(00+11)|\Phi^+\rangle = \tfrac{1}{\sqrt2}(|00\rangle + |11\rangle) on two qubits using a Hadamard followed by a CNOT, and return the circuit. The grader checks the full statevector: amplitudes 1/21/\sqrt2 on 00|00\rangle and 11|11\rangle, zero elsewhere.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.