4  Lecture 4: Multi-Qubit Systems and Entanglement

Class date: September 14, 2026

A multi-qubit system is not obtained by listing the states of its qubits separately. Its state belongs to a tensor-product space, which contains both product states and entangled states. We first develop the tensor-product description, then introduce the controlled-NOT, controlled-\(Z\), and SWAP gates. These ingredients allow us to create Bell states and to see why an unknown quantum state cannot be copied by a universal quantum operation.

4.1 Two qubits and the tensor product

Two classical bits have four possible configurations. A two-qubit state therefore requires a four-dimensional complex vector space with computational basis

\[ \lvert00\rangle=\begin{pmatrix}1\\0\\0\\0\end{pmatrix}, \quad \lvert01\rangle=\begin{pmatrix}0\\1\\0\\0\end{pmatrix}, \quad \lvert10\rangle=\begin{pmatrix}0\\0\\1\\0\end{pmatrix}, \quad \lvert11\rangle=\begin{pmatrix}0\\0\\0\\1\end{pmatrix}. \tag{4.1}\]

The tensor product constructs this joint state space from the two single-qubit spaces.

Definition 4.1 (Tensor product of vectors) For \(\lvert v\rangle=(a,b)^T\in\mathbb{C}^2\) and \(\lvert w\rangle=(c,d)^T\in\mathbb{C}^2\), their tensor product is

\[ \lvert v\rangle\otimes\lvert w\rangle =\begin{pmatrix}a\lvert w\rangle\\b\lvert w\rangle\end{pmatrix} =\begin{pmatrix}ac\\ad\\bc\\bd\end{pmatrix} \in\mathbb{C}^4. \tag{4.2}\]

For example,

\[ \lvert1\rangle\otimes\lvert0\rangle =\begin{pmatrix}0\\1\end{pmatrix}\otimes\begin{pmatrix}1\\0\end{pmatrix} =\begin{pmatrix}0\\0\\1\\0\end{pmatrix} =\lvert10\rangle. \tag{4.3}\]

More generally, if \(\lvert v\rangle\in\mathbb{C}^n\) and \(\lvert w\rangle\in\mathbb{C}^m\), then \(\lvert v\rangle\otimes\lvert w\rangle\in\mathbb{C}^{nm}\). An \(n\)-qubit system has \(2^n\) computational-basis states, indexed by binary strings \(x\in\{0,1\}^n\).

An arbitrary two-qubit pure state has the form

\[ \lvert\psi\rangle =\alpha_{00}\lvert00\rangle+\alpha_{01}\lvert01\rangle +\alpha_{10}\lvert10\rangle+\alpha_{11}\lvert11\rangle, \qquad \sum_{a,b\in\{0,1\}}\lvert\alpha_{ab}\rvert^2=1. \tag{4.4}\]

If \(A\) acts on the first qubit and \(B\) acts on the second, their joint action is \(A\otimes B\). On a product state,

\[ (A\otimes B)(\lvert v\rangle\otimes\lvert w\rangle) =(A\lvert v\rangle)\otimes(B\lvert w\rangle). \tag{4.5}\]

Thus \(\mathrm{H}\otimes I\) applies a Hadamard gate only to the first qubit, while \(I\otimes X\) applies an \(X\) gate only to the second qubit.

4.2 Two-qubit gates

Single-qubit gates act independently on different subsystems. Two-qubit gates can instead make the evolution of one qubit depend on the state of another.

4.2.1 Controlled-NOT gate

The controlled-NOT gate uses the first qubit as the control and the second as the target. If the control is \(\lvert0\rangle\), it leaves the target unchanged; if the control is \(\lvert1\rangle\), it applies \(X\) to the target. Equivalently,

\[ \operatorname{CNOT}\lvert a,b\rangle=\lvert a,a\oplus b\rangle, \qquad a,b\in\{0,1\}, \tag{4.6}\]

where \(\oplus\) denotes addition modulo two. In the computational basis ordered as in Equation 4.1,

\[ \operatorname{CNOT} =\lvert0\rangle\langle0\rvert\otimes I +\lvert1\rangle\langle1\rvert\otimes X =\begin{pmatrix} 1&0&0&0\\ 0&1&0&0\\ 0&0&0&1\\ 0&0&1&0 \end{pmatrix}. \tag{4.7}\]

A two-qubit controlled-NOT circuit with the first qubit as control and the second as target.
Figure 4.1: The circuit symbol for a controlled-NOT gate. The filled dot marks the control qubit, and \(\oplus\) marks the target qubit.

For computational-basis inputs,

\[ \operatorname{CNOT}\lvert01\rangle=\lvert01\rangle, \qquad \operatorname{CNOT}\lvert11\rangle=\lvert10\rangle. \tag{4.8}\]

Linearity determines the action on every superposition. For example,

\[ \operatorname{CNOT}\left(\frac{\lvert00\rangle+\lvert11\rangle}{\sqrt{2}}\right) =\frac{\lvert00\rangle+\lvert10\rangle}{\sqrt{2}} =\lvert+\rangle\otimes\lvert0\rangle. \tag{4.9}\]

This example also shows that the same gate can convert an entangled state into a product state. Since \(\operatorname{CNOT}^2=I\), applying it in the reverse direction creates the Bell state \((\lvert00\rangle+\lvert11\rangle)/\sqrt{2}\) from \(\lvert+\rangle\otimes\lvert0\rangle\).

4.2.2 Controlled-\(Z\) and SWAP gates

The controlled-\(Z\) gate applies \(Z\) to the target when the control is \(\lvert1\rangle\):

\[ \operatorname{CZ} =\lvert0\rangle\langle0\rvert\otimes I +\lvert1\rangle\langle1\rvert\otimes Z =\begin{pmatrix} 1&0&0&0\\ 0&1&0&0\\ 0&0&1&0\\ 0&0&0&-1 \end{pmatrix}. \tag{4.10}\]

It leaves \(\lvert00\rangle\), \(\lvert01\rangle\), and \(\lvert10\rangle\) unchanged and multiplies \(\lvert11\rangle\) by \(-1\).

The SWAP gate exchanges the states of two qubits,

\[ \operatorname{SWAP}(\lvert\alpha\rangle_A\otimes\lvert\beta\rangle_B) =\lvert\beta\rangle_A\otimes\lvert\alpha\rangle_B, \tag{4.11}\]

and has matrix representation

\[ \operatorname{SWAP} =\begin{pmatrix} 1&0&0&0\\ 0&0&1&0\\ 0&1&0&0\\ 0&0&0&1 \end{pmatrix}. \tag{4.12}\]

The gate moves quantum information without copying it. It can be decomposed into three controlled-NOT gates,

\[ \operatorname{SWAP}_{AB} =\operatorname{CNOT}_{A\to B}\operatorname{CNOT}_{B\to A}\operatorname{CNOT}_{A\to B}. \tag{4.13}\]

A SWAP gate on the left equals a circuit of three controlled-NOT gates with alternating control and target qubits on the right.
Figure 4.2: The circuit identity in Equation 4.13. Reading the right-hand circuit from left to right, the three gates are \(\operatorname{CNOT}_{A\to B}\), \(\operatorname{CNOT}_{B\to A}\), and \(\operatorname{CNOT}_{A\to B}\).

4.3 Separable and entangled states

The tensor-product space contains states that cannot be specified by assigning an independent pure state to each subsystem.

Definition 4.2 (Separable pure state) A pure state \(\lvert\psi\rangle\in\mathcal{H}_A\otimes\mathcal{H}_B\) is separable if there exist states \(\lvert\psi_A\rangle\in\mathcal{H}_A\) and \(\lvert\psi_B\rangle\in\mathcal{H}_B\) such that

\[ \lvert\psi\rangle=\lvert\psi_A\rangle\otimes\lvert\psi_B\rangle. \tag{4.14}\]

A pure state that is not separable is entangled.

For example, the equally weighted superposition of all four computational-basis states is separable:

\[ \frac12(\lvert00\rangle+\lvert01\rangle+\lvert10\rangle+\lvert11\rangle) =\left(\frac{\lvert0\rangle+\lvert1\rangle}{\sqrt{2}}\right) \otimes \left(\frac{\lvert0\rangle+\lvert1\rangle}{\sqrt{2}}\right) =\lvert+\rangle\otimes\lvert+\rangle. \tag{4.15}\]

For the general state in Equation 4.4, separability is equivalent to

\[ \alpha_{00}\alpha_{11}-\alpha_{01}\alpha_{10}=0. \tag{4.16}\]

Indeed, the four amplitudes of a product state \((a\lvert0\rangle+b\lvert1\rangle)\otimes(c\lvert0\rangle+d\lvert1\rangle)\) are \(ac\), \(ad\), \(bc\), and \(bd\), which satisfy Equation 4.16. Conversely, the same condition says that the \(2\times2\) coefficient matrix has rank one and therefore factors into two vectors.

4.4 Bell states

The four Bell states are

\[ \lvert\Phi^+\rangle=\frac{\lvert00\rangle+\lvert11\rangle}{\sqrt{2}}, \qquad \lvert\Phi^-\rangle=\frac{\lvert00\rangle-\lvert11\rangle}{\sqrt{2}}, \]

\[ \lvert\Psi^+\rangle=\frac{\lvert01\rangle+\lvert10\rangle}{\sqrt{2}}, \qquad \lvert\Psi^-\rangle=\frac{\lvert01\rangle-\lvert10\rangle}{\sqrt{2}}. \tag{4.17}\]

Each Bell state violates Equation 4.16 and is therefore entangled. If the first qubit of \(\lvert\Phi^+\rangle\) is measured in the computational basis, the two possible outcomes occur with equal probability:

\[ \Pr(A=0)=\Pr(A=1)=\frac12. \tag{4.18}\]

Conditioned on outcome \(0\), the joint state becomes \(\lvert00\rangle\) and qubit \(B\) is in \(\lvert0\rangle\). Conditioned on outcome \(1\), the joint state becomes \(\lvert11\rangle\) and qubit \(B\) is in \(\lvert1\rangle\). The individual result is random, but the two measurement outcomes are perfectly correlated.

4.4.1 Preparing a Bell state

Starting from \(\lvert00\rangle\), apply \(\mathrm{H}\) to the first qubit and then use it as the control of a controlled-NOT gate.

Two qubits initialized in zero pass through a Hadamard gate and a controlled-NOT gate to prepare a Bell state.
Figure 4.3: A Hadamard gate followed by a controlled-NOT gate prepares \(\lvert\Phi^+\rangle\) from \(\lvert00\rangle\).

After the Hadamard gate, the state is

\[ (\mathrm{H}\otimes I)\lvert00\rangle =\lvert+\rangle\otimes\lvert0\rangle =\frac{\lvert00\rangle+\lvert10\rangle}{\sqrt{2}}. \tag{4.19}\]

The controlled-NOT gate then gives

\[ \operatorname{CNOT}\left(\frac{\lvert00\rangle+\lvert10\rangle}{\sqrt{2}}\right) =\frac{\lvert00\rangle+\lvert11\rangle}{\sqrt{2}} =\lvert\Phi^+\rangle. \tag{4.20}\]

The Hadamard gate first creates a superposition, and the controlled-NOT gate correlates the target with the two branches of that superposition. The resulting state cannot be factored into separate states of \(A\) and \(B\).

4.5 The no-cloning theorem

A classical bit can be copied by a controlled-NOT gate when the target begins in \(\lvert0\rangle\). For example, \(\lvert0\rangle\lvert0\rangle\mapsto\lvert0\rangle\lvert0\rangle\) and \(\lvert1\rangle\lvert0\rangle\mapsto\lvert1\rangle\lvert1\rangle\). The same operation cannot copy an arbitrary superposition.

Theorem 4.1 (No-cloning theorem) There is no unitary operator \(U\) and fixed blank state \(\lvert0\rangle\) such that

\[ U(\lvert\psi\rangle\otimes\lvert0\rangle) =\lvert\psi\rangle\otimes\lvert\psi\rangle \tag{4.21}\]

for every state \(\lvert\psi\rangle\).

Proof. Suppose that such a unitary copies both computational-basis states. Then

\[ U\lvert00\rangle=\lvert00\rangle, \qquad U\lvert10\rangle=\lvert11\rangle. \tag{4.22}\]

By linearity, its action on \(\lvert+\rangle\otimes\lvert0\rangle\) must be

\[ U(\lvert+\rangle\otimes\lvert0\rangle) =\frac{U\lvert00\rangle+U\lvert10\rangle}{\sqrt{2}} =\frac{\lvert00\rangle+\lvert11\rangle}{\sqrt{2}}. \tag{4.23}\]

Universal cloning would instead require

\[ \lvert+\rangle\otimes\lvert+\rangle =\frac{\lvert00\rangle+\lvert01\rangle+\lvert10\rangle+\lvert11\rangle}{2}. \tag{4.24}\]

The states in Equation 4.23 and Equation 4.24 are different, which is a contradiction.

The obstruction is linearity: copying the components of a superposition produces an entangled superposition of copies, not the tensor product of the original superposition with itself. This restriction will matter in the next lecture, where quantum information is transferred using entanglement and classical communication rather than duplicated.

4.6 Summary

Tensor products describe the state space and local operations of a multi-qubit system. Controlled gates make one qubit’s evolution depend on another and can create entanglement from product states. Bell states exhibit correlations that cannot be represented by independent pure states of the two qubits, while the no-cloning theorem shows that linear quantum evolution cannot universally copy an unknown state.