How do you create entanglement in a quantum computer?
General knowledgeIn depthAsked by Anonymous23 Oct 2026, 5:07 AM ISTUpdated
In one line
Entanglement in a quantum computer is made by using special gates to link two or more qubits so their states depend on each other.
Quantum computing — Computer hardware technology that uses quantum mechanics A quantum computer, which uses entanglement to perform calculations. Image: Wikipedia
The rule
Entanglement is a quantum phenomenon where the state of one particle instantly affects the state of another, even when they are far apart.
There is no single formula, but in quantum computing, the CNOT gate (Controlled-NOT gate) is commonly used to create entanglement between two qubits.
Let's understand it simply
Imagine you and your friend each have a coin. Normally, you can flip your coin, and your friend's coin can land any way it likes. But with entanglement, if you flip your coin and it lands heads, your friend's coin will also land heads — even if you are in different cities! This is not magic, but a special property of quantum particles.
In a quantum computer, we use qubits (quantum bits). We can make two qubits entangled so that measuring one instantly tells us what the other will be, no matter how far apart they are. This is like having two Diwali rockets: if one explodes red, the other will always explode green, even if you light them at different times.
Correlation vs Entanglement
Correlation
Entanglement
What is it?
Two things often behave similarly
Two things are linked at the quantum level
Example
Two friends who like the same food
Two coins that always land the same, even if far apart
Can be explained by classical physics?
Yes
No
How it works
Start with two qubits: Both are set to a known state, usually |0⟩ (like both coins showing heads).
Apply a Hadamard gate to the first qubit: This puts the first qubit into a superposition (it is both heads and tails at once).
Apply a CNOT gate: The first qubit controls the second. If the first is heads, the second stays the same; if tails, the second flips.
Result: Now, both qubits are entangled. If you measure one, you instantly know the state of the other.
Check entanglement: If you measure the first qubit and get heads, the second will also be heads. If you get tails, the second is also tails.
How to create entanglement between two qubits
Start with two qubits in |0⟩
Apply Hadamard gate to the first qubit
Apply CNOT gate with first as control, second as target
Result: Qubits are now entangled
The story behind it
Entanglement was first described in 1935 by Albert Einstein, Boris Podolsky, and Nathan Rosen in the famous EPR paper. They called it "spooky action at a distance" because it seemed to break the rules of normal physics. Later, physicist John Bell showed that entanglement is real and can be tested. In quantum computers, scientists use this property to make computers much more powerful than classical ones.
Where you see it in real life
Quantum computers: Entanglement is used to link qubits, allowing them to solve problems faster than normal computers.
Quantum teleportation: Information can be sent between two places using entangled particles.
Quantum cryptography: Entanglement helps make unbreakable codes for secure communication.
Experiments with photons: Scientists entangle light particles in labs to test quantum theory.
Medical imaging: Some advanced imaging techniques use entangled photons for clearer pictures.
Quantum sensors: Devices that use entanglement to measure tiny changes in gravity or magnetic fields.
Why it matters
Faster computing: Entanglement allows quantum computers to do calculations that would take normal computers millions of years.
Unbreakable security: Quantum cryptography uses entanglement to make data safe from hackers.
New science: Entanglement helps us understand the universe at the smallest scales.
Future jobs: Quantum technology is a growing field with many career opportunities.
Worked example
Let’s see how to create entanglement between two qubits:
Given: Qubit 1 and Qubit 2 both start in |0⟩
Step 1: Apply Hadamard gate to Qubit 1 |0⟩ → (|0⟩ + |1⟩)/√2
Step 2: Apply CNOT gate (Qubit 1 controls Qubit 2)
Resulting state: (|00⟩ + |11⟩)/√2
Step 3: Measure either qubit
If Qubit 1 is 0, Qubit 2 is 0; if Qubit 1 is 1, Qubit 2 is 1
Common mistakes
Thinking entanglement is just correlation: It is much stronger; the states are linked even if far apart.
Believing entanglement means communication faster than light: No information travels instantly; only the states are related.
Assuming all quantum gates create entanglement: Only certain gates like CNOT, when used with superposition, create entanglement.
Forgetting to use superposition first: If you skip the Hadamard gate, the CNOT gate alone will not create entanglement.
Remember it
To entangle qubits: superposition first, then CNOT gate — like mixing two colours before painting.
Check yourself
What two gates are commonly used to create entanglement in a quantum computer?
Hadamard gate (for superposition) and CNOT gate (for entanglement).
Why do you need to use a Hadamard gate before the CNOT gate?
The Hadamard gate puts the qubit in superposition, so the CNOT can create entanglement; without it, the qubits stay unentangled.
Is entanglement the same as simple correlation? Why or why not?
No, entanglement is much stronger; the states are linked at the quantum level, not just by chance.
Where is entanglement used outside of quantum computers?
In quantum cryptography, teleportation, medical imaging, and quantum sensors.
Quick recap
Entanglement links qubits so their states depend on each other.
Use a Hadamard gate for superposition, then a CNOT gate to entangle.
Entanglement is stronger than simple correlation.
It is key for quantum computing, cryptography, and teleportation.