Launch the interactive walkthrough to discover each component, including the 3D Q-Sphere Lab & Python in Colab.
Explore Einstein’s "Spooky Action at a Distance": Bell states, non-local quantum correlations, and the 2022 Nobel Prize.
Grasp complex quantum concepts visually with zero prior physics or math knowledge!
📦 Box A on Mars
Opens to reveal Left Glove
📦 Box B on Earth
Instantly snaps with zero time delay
Alice on Mars rolls her die; Bob on Earth reads his instantaneously.
100% random outcome (1 to 6)
Instant matching correlation (0 ms delay!)
Interactive 3D state vector exploration, unitary transformation gates, and Born rule collapse for Topic 5.12
| Symbol / Term | Meaning | Beginner Interpretation |
|---|---|---|
| Maximally entangled Bell state | Equal superposition of both qubits being 0 and both qubits being 1 | |
| Both qubits in state 0 | Alice measures 0 and Bob measures 0 (50% probability) | |
| Both qubits in state 1 | Alice measures 1 and Bob measures 1 (50% probability) | |
| Non-separability (Entanglement) | Mathematically impossible to describe particle A without mentioning particle B |
Mathematical proof of non-separability & instantaneous correlation:
Result: Zero individual states exist; their joint reality creates perfect non-local correlation.
Start with 2 independent qubits in state |00>.
Apply Hadamard gate H to qubit 1: (|0> + |1>)/sqrt(2) (x) |0> = (|00> + |10>)/sqrt(2).
Apply CNOT with Q1 as control and Q2 as target: flips Q2 only when Q1 is 1, producing (|00> + |11>)/sqrt(2)!
Problem: Transmitting unknown quantum states between quantum processors across distances.
Solution: Using a shared Bell pair and 2 classical bits, teleporting exact quantum wavefunctions without physical particle transport.
Interactive activity component
Construct a two-qubit Bell state (|Phi+>) using Hadamard and CNOT gates, simulate on Aer simulator, and verify correlated measurements.
For Google Colab or Jupyter notebooks, run this shell command to install the required dependencies:
!pip install qiskit qiskit-aer pylatexenc1 from qiskit import QuantumCircuit 2 from qiskit_aer import Aer
from qiskit import QuantumCircuit → Construct two-qubit quantum circuits
from qiskit_aer import Aer → Aer simulator backend
1 # Create a two-qubit circuit 2 qc = QuantumCircuit(2) 3 4 # Apply Hadamard gate to create superposition on qubit 0 5 qc.h(0) 6 7 # Applying a CNOT (Controlled-NOT) Gate 8 qc.cx(0, 1) 9 10 # Measure all qubits 11 qc.measure_all() 12 13 # Use Qiskit's Aer simulator 14 simulator = Aer.get_backend('aer_simulator') 15 16 # Run the circuit on the simulator 17 job = simulator.run(qc, shots=1000) 18 result = job.result() 19 20 # Get the measurement results 21 counts = result.get_counts(qc) 22 print("Bell State Measurement Counts (Lesson 8):", counts)
# Create a two-qubit circuit
Allocate 2 quantum wires
qc = QuantumCircuit(2)
Initialize q0 and q1 in ground state |00>
# Apply Hadamard gate to create superposition on qubit 0
Creates (|0> + |1>)|0> / sqrt(2)
qc.h(0)
Put control qubit into equal superposition
# Applying a CNOT (Controlled-NOT) Gate
Entangles target qubit 1 with control qubit 0
qc.cx(0, 1)
Flip q1 conditionally when q0 is 1
# Measure all qubits
Add measurement gates to all wires
qc.measure_all()
Measure [q0, q1] into classical register
# Use Qiskit's Aer simulator
Configure aer_simulator backend
simulator = Aer.get_backend('aer_simulator')
Load simulator instance
# Run the circuit on the simulator
Execute 1,000 shots
job = simulator.run(qc, shots=1000)
Run simulation job
result = job.result()
Retrieve results
# Get the measurement results
Extract output counts dictionary
counts = result.get_counts(qc)
Tally results
print("Bell State Measurement Counts (Lesson 8):", counts)
Display correlated counts: {'00': ~500, '11': ~500}
Click "Copy for Colab", open Google Colab, paste into a single cell, and run.
1 # ========================================================= 2 # Lesson 8: Two Qubits and Entanglement (Bell State |Phi+>) 3 # Prepared for Google Colab (Run with Shift + Enter) 4 # ========================================================= 5 6 # Step 1: Install required packages 7 !pip install qiskit qiskit-aer pylatexenc 8 9 # Step 2: Import libraries 10 from qiskit import QuantumCircuit 11 from qiskit_aer import Aer 12 13 # Step 3: Run Demonstration 14 # Create a two-qubit circuit 15 qc = QuantumCircuit(2) 16 17 # Apply Hadamard gate to create superposition on qubit 0 18 qc.h(0) 19 20 # Applying a CNOT (Controlled-NOT) Gate 21 qc.cx(0, 1) 22 23 # Measure all qubits 24 qc.measure_all() 25 26 # Use Qiskit's Aer simulator 27 simulator = Aer.get_backend('aer_simulator') 28 29 # Run the circuit on the simulator 30 job = simulator.run(qc, shots=1000) 31 result = job.result() 32 33 # Get the measurement results 34 counts = result.get_counts(qc) 35 print("Bell State Measurement Counts (Lesson 8):", counts)
Allocate 2 qubits in the separable ground state |00>.
Apply Hadamard on qubit 0 to produce (|00> + |10>)/sqrt(2).
Apply CNOT(0, 1) mapping |10> to |11>, synthesizing the maximally entangled Bell state (|00> + |11>)/sqrt(2).
Simulate 1,000 shots on AerSimulator: only outcomes "00" and "11" appear with 50/50 probability, while "01" and "10" never occur.
QuantumCircuit(2) with H(0) and CX(0, 1) and measure_all().
Bell State Measurement Counts (Lesson 8): {'00': 496, '11': 504}Demonstrates maximal quantum entanglement: measuring qubit 0 immediately determines the state of qubit 1 with 100% correlation, violating classical local separability.
Hadamard, CNOT, Bell-state intuition, and correlated measurements — Presentation by Dr. Syed Muzamil Basha.
Test your understanding with these questions. Remember, this is for learning, not examination!