# $\lvert 11\rangle$ The **$\lvert 11\rangle$ state** is the two-qubit computational basis state where both qubits are in $\lvert 1\rangle$. It is the tensor product $\lvert 1\rangle\otimes\lvert 1\rangle$ — an unentangled product state. It is reached from [[ket-00|$\lvert 00\rangle$]] by $X$ on both qubits, and from [[ket-10|$\lvert 10\rangle$]] or [[ket-01|$\lvert 01\rangle$]] by $X$ on the remaining qubit. $$\lvert 11\rangle = \lvert 1\rangle\otimes\lvert 1\rangle = \begin{pmatrix}0\\0\\0\\1\end{pmatrix}$$ Measuring either qubit yields $1$ with certainty and leaves the state unchanged. Applying $H\otimes I$ then CX maps $\lvert 11\rangle$ directly to [[ket-psi-minus|$\lvert\Psi^-\rangle$]], because $H\lvert 1\rangle = \lvert -\rangle$ and $\text{CX}\lvert -\rangle\lvert 1\rangle = \lvert\Psi^-\rangle$. ## Qiskit ```python # Prepare |11⟩ — flip both qubits from the default |00⟩ state. from qiskit import QuantumCircuit from qiskit.quantum_info import Statevector qc = QuantumCircuit(2) qc.x(0) # |00⟩ → |10⟩ qc.x(1) # |10⟩ → |11⟩ print(Statevector(qc).data) ``` ## Applying gates Single-qubit gates act on qubit 0. By symmetry of $\lvert 11\rangle$, applying the same gate to qubit 1 gives the same result with the qubit labels swapped. ^ Gate ^ Result ^ Comment ^ | [[i-gate]] | $I_0\lvert 11\rangle = \lvert 11\rangle$ | Identity leaves the state unchanged. | | [[x-gate]] | $X_0\lvert 11\rangle = \lvert 01\rangle$ | Flips qubit 0 from $\lvert 1\rangle$ to $\lvert 0\rangle$; qubit 1 is unchanged. | | [[y-gate]] | $Y_0\lvert 11\rangle = -i\lvert 01\rangle$ | Bit flip with a phase factor; $Y\lvert 1\rangle = -i\lvert 0\rangle$. | | [[z-gate]] | $Z_0\lvert 11\rangle = -\lvert 11\rangle$ | Qubit 0 is in $\lvert 1\rangle$, an eigenstate of $Z$ with eigenvalue $-1$; the overall sign flips. | | [[h-gate]] | $H_0\lvert 11\rangle = \tfrac{1}{\sqrt{2}}(\lvert 01\rangle - \lvert 11\rangle)$ | $H\lvert 1\rangle = \lvert -\rangle$; qubit 0 enters the $\lvert -\rangle$ superposition. A subsequent CX produces $\lvert\Psi^-\rangle$. | | [[s-gate]] | $S_0\lvert 11\rangle = i\lvert 11\rangle$ | $S\lvert 1\rangle = i\lvert 1\rangle$; the result is $\lvert 11\rangle$ up to global phase $i$. | | [[t-gate]] | $T_0\lvert 11\rangle = e^{i\pi/4}\lvert 11\rangle$ | $T\lvert 1\rangle = e^{i\pi/4}\lvert 1\rangle$; global phase only. | | [[rx-gate]] | $R_x(\theta)_0\lvert 11\rangle = -i\sin\tfrac{\theta}{2}\lvert 01\rangle + \cos\tfrac{\theta}{2}\lvert 11\rangle$ | Tilts qubit 0 from $\lvert 1\rangle$ toward $\lvert 0\rangle$ with an imaginary phase on the $\lvert 01\rangle$ component. | | [[ry-gate]] | $R_y(\theta)_0\lvert 11\rangle = -\sin\tfrac{\theta}{2}\lvert 01\rangle + \cos\tfrac{\theta}{2}\lvert 11\rangle$ | Real amplitudes; at $\theta=\pi/2$ gives $\tfrac{1}{\sqrt{2}}(-\lvert 01\rangle + \lvert 11\rangle)$, same as $H_0$ up to a sign. | | [[rz-gate]] | $R_z(\theta)_0\lvert 11\rangle = e^{i\theta/2}\lvert 11\rangle$ | Global phase only; $R_z(\theta)\lvert 1\rangle = e^{i\theta/2}\lvert 1\rangle$. | | [[cx-gate]] | $\text{CX}_{0\to 1}\lvert 11\rangle = \lvert 10\rangle$ | Control is qubit 0 = $\lvert 1\rangle$; CX fires and flips qubit 1 from $\lvert 1\rangle$ to $\lvert 0\rangle$. | | [[swap-gate]] | $\text{SWAP}\lvert 11\rangle = \lvert 11\rangle$ | Swapping two $\lvert 1\rangle$ qubits leaves the state unchanged. | | [[iswap-gate]] | $\text{iSWAP}\lvert 11\rangle = \lvert 11\rangle$ | No $\lvert 01\rangle$ or $\lvert 10\rangle$ terms to exchange; the state is unchanged. | ## Reaching other states ^ State ^ Gates ^ Comment ^ | $\lvert 11\rangle$ | $I\lvert 11\rangle = \lvert 11\rangle$ | The identity leaves $\lvert 11\rangle$ unchanged. | | [[ket-01|$\lvert 01\rangle$]] | $X_0\lvert 11\rangle = \lvert 01\rangle$ | X on qubit 0 flips the first bit. | | [[ket-10|$\lvert 10\rangle$]] | $X_1\lvert 11\rangle = \lvert 10\rangle$ | X on qubit 1 flips the second bit. | | [[ket-00|$\lvert 00\rangle$]] | $X_0 X_1\lvert 11\rangle = \lvert 00\rangle$ | X on both qubits; quantum analogue of classical `NOT NOT 11 = 00`. | | [[ket-psi-minus|$\lvert\Psi^-\rangle$]] | $\text{CX}\cdot(H_0\otimes I)\lvert 11\rangle$ | Bell preparation: $H\lvert 1\rangle = \lvert -\rangle$, then CX produces $\lvert\Psi^-\rangle$ directly. | | [[ket-psi-plus|$\lvert\Psi^+\rangle$]] | $Z_0\cdot\text{CX}\cdot(H_0\otimes I)\lvert 11\rangle$ | Bell preparation then Z on qubit 0 cancels the relative sign. | | [[ket-phi-minus|$\lvert\Phi^-\rangle$]] | $\text{CX}\cdot(H_0\otimes I)\cdot X_1\lvert 11\rangle$ | Flip qubit 1 first to reach $\lvert 10\rangle$, then apply Bell preparation. | | [[ket-phi-plus|$\lvert\Phi^+\rangle$]] | $Z_0\cdot\text{CX}\cdot(H_0\otimes I)\cdot X_1\lvert 11\rangle$ | As $\lvert\Phi^-\rangle$ above, then Z on qubit 0. |