Multi-qubit gates, chiefly the CNOT gate, are the mechanism by which quantum computers create entanglement: correlated states of two or more qubits that cannot be described as independent parts. The recipe is short. Put one qubit into a superposition with a Hadamard gate, then use the CNOT's conditional rule — flip the target only if the control reads 1 — to weld the qubits together. Two qubits treated this way yield a Bell state; three or more yield a GHZ state. Understanding that one conditional operation is the key to seeing why entanglement is a computational resource rather than a curiosity.
The Foundation of Quantum Computing: Multi-Qubit Gates
Single-qubit gates can rotate an individual qubit, but they cannot make one qubit's state depend on another's. That dependence is exactly what multi-qubit gates provide. Microsoft's quantum education materials describe multi-qubit gates as playing an important role across quantum computing, with the CNOT gate serving as the standard tool for producing Bell states — maximally entangled two-qubit states, also known as Einstein-Podolsky-Rosen states, in which the state of one qubit is entirely dependent on the state of the other.
IBM's Quantum Learning course frames the same idea from the state side: an entangled state is one that cannot be represented as a tensor product of individual quantum states. In other words, no matter how you try to factor the joint state into a description of qubit A and a separate description of qubit B, it cannot be done. Gates that act on more than one qubit at a time are the only way to reach such states, which is why they sit at the center of every quantum circuit that does serious work.
The CNOT Gate: A Key to Entanglement
The CNOT gate (written CX in many contexts) takes two inputs: a control qubit and a target qubit. Its rule is conditional. If the control qubit is in the |1⟩ state, the gate flips the target; if the control is |0⟩, the target is left untouched. A formal verification hosted at the University of Chicago states this plainly as a lemma: CNOT applied to |1,1⟩ yields |1,0⟩, while applied to a superposed control paired with |0⟩ it yields the equal combination of |00⟩ and |11⟩.
That second case is where the magic hides. When the control is in a definite state, the CNOT behaves like an ordinary classical conditional. But when the control is in superposition — in both |0⟩ and |1⟩ at once — the gate applies both of its behaviors simultaneously. The target flips for the |1⟩ branch of the superposition and stays put for the |0⟩ branch. The two qubits emerge correlated across both branches, and the joint state can no longer be split apart. The conditional operation is the mechanism of entanglement generation.
How a CNOT Gate Creates a Bell State
The standard circuit for entangling two qubits uses just two gates. The following table traces both qubits step by step from a definite starting state to the maximally entangled Bell state |Φ⁺⟩, showing how each gate's rule transforms the system.
| Step | Control qubit (qubit 1) | Target qubit (qubit 2) | Gate operation | Resulting system state |
|---|---|---|---|---|
| Initialize | |0⟩ | |0⟩ | Both qubits set to the ground state | |00⟩ |
| Step 1 | Superposition of |0⟩ and |1⟩ | |0⟩ | Hadamard on qubit 1 creates an equal superposition | (1/√2)(|00⟩ + |10⟩) |
| Step 2 | Superposition of |0⟩ and |1⟩ | Flipped only in the |1⟩ branch | CNOT with qubit 1 as control, qubit 2 as target: flip the target if the control is 1 | (1/√2)(|00⟩ + |11⟩) — the Bell state |Φ⁺⟩ |
Notice what the CNOT did in step 2. In the |0⟩ branch of the control's superposition, the target stayed |0⟩. In the |1⟩ branch, the target flipped to |1⟩. The two branches became |00⟩ and |11⟩, perfectly correlated. Microsoft's documentation describes exactly this procedure: initialize two qubits to |00⟩, and the algorithm proceeds from there; IBM's course implements it as a Hadamard on qubit 0 followed by a CNOT from qubit 0 to qubit 1. The University of Chicago formalization proves the same circuit correct: CNOT applied after a Hadamard on the first qubit produces the Bell state by definition.
The result is inseparable. Measuring either qubit yields 0 or 1 with equal probability, but the outcome of the second qubit is fully determined by the first: both read 0, or both read 1. IBM's course notes that when this circuit runs on real hardware, |00⟩ and |11⟩ dominate the observed results, with a few other outcomes attributable to noise and qubit decoherence — a reminder that the ideal math describes a target, not a noiseless machine.
Beyond Two Qubits: The Greenberger-Horne-Zeilinger (GHZ) State
Entanglement is not a two-qubit phenomenon. IBM's course extends the concept directly: the GHZ state, named for Greenberger, Horne and Zeilinger, is a maximally entangled state of three or more qubits. For three qubits it takes the form (|000⟩ + |111⟩)/√2 — an equal superposition in which all three qubits read 000 or all three read 111, with nothing in between.
Quantum Rings' SDK documentation adds that the GHZ state is non-biseparable, meaning it cannot be split into entangled and separable parts, and requires at least three qubits. Measuring any one qubit collapses the other two into |00⟩ or |11⟩ accordingly. The contrast with the Bell state is one of scope rather than kind: the Bell state correlates two qubits, while the GHZ state binds three or more into a single indivisible unit, representing a more complex form of entanglement.
Creating a GHZ State: A Multi-Qubit Circuit
The GHZ circuit generalizes the Bell recipe in an intuitive way. MathWorks' quantum circuit documentation, authored by Sohini Sarkar, lays out the three-qubit version: apply a Hadamard gate to the first qubit, then a CNOT from qubit 1 to qubit 2, then a CNOT from qubit 2 to qubit 3. The first CNOT entangles qubits 1 and 2 exactly as in the Bell circuit; the second CNOT uses the newly entangled qubit 2 as a control to pull qubit 3 into the correlation.
The result is the full three-qubit superposition (|000⟩ + |111⟩)/√2. MathWorks' worked example runs the circuit for 1,000 shots and observes the two expected outcomes in roughly equal proportion — 476 counts of "000" and 524 of "111" — illustrating the maximally entangled distribution. The same chain can be extended: each additional CNOT, controlled by an already-entangled qubit, adds one more qubit to the correlated set.
Why Entanglement Matters for Quantum Algorithms
Entangled states are not merely demonstrations; they are working resources. Quantum Rings' documentation lists the GHZ state's use in quantum communication, quantum cryptography, and fault-tolerant protocols such as the quantum Byzantine agreement. MathWorks describes the GHZ state as crucial in quantum computing because it represents maximal multi-qubit entanglement used to test the principles of quantum mechanics. The Bell state plays the analogous foundational role at two qubits, appearing as the canonical building block in introductory circuits across IBM's and Microsoft's educational materials.
The connection to larger algorithms is structural. Because the CNOT's conditional rule can bind any target to a control in superposition, circuits can grow correlations qubit by qubit — and increasing qubit count and connectivity is precisely what allows more elaborate entangled structures and, with them, more complex algorithms. This article has stayed at the conceptual level of gate operations; physical hardware implementation and full algorithm design are separate, deeper topics.
Understanding Entanglement: A Gateway to Quantum Advantage
To grasp the foundational principles of quantum computing, focus on the operational mechanics of multi-qubit gates like CNOT and their role in creating entangled states. The measurable indicator of success is simple: the reader can explain the step-by-step process of creating a Bell state using Hadamard and CNOT gates, and define the significance of GHZ states in multi-qubit entanglement. If you can trace |00⟩ through a Hadamard, apply the CNOT's flip-if-control-is-1 rule, and see why the result cannot be factored into independent qubits — then extend that chain to a third qubit for the GHZ state — you hold the core mechanism that every more elaborate quantum circuit builds upon.
Sources
- Microsoft Quantum
- Bits, gates, and circuits — IBM Quantum Learning
- PEOPLE
- GHZ state — Quantumrings
- Quantum Circuit — LA





