Site Tools


ket-11

Table of Contents

The state is the two-qubit computational basis state where both qubits are in . It is the tensor product — an unentangled product state. It is reached from by on both qubits, and from or by on the remaining qubit.

Measuring either qubit yields with certainty and leaves the state unchanged. Applying then CX maps directly to , because and .

Qiskit

# 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 , applying the same gate to qubit 1 gives the same result with the qubit labels swapped.

Gate Result Comment
I gate Identity leaves the state unchanged.
X gate Flips qubit 0 from to ; qubit 1 is unchanged.
Y gate Bit flip with a phase factor; .
Z gate Qubit 0 is in , an eigenstate of with eigenvalue ; the overall sign flips.
Hadamard gate ; qubit 0 enters the superposition. A subsequent CX produces .
S gate ; the result is up to global phase .
T gate ; global phase only.
Rx gate Tilts qubit 0 from toward with an imaginary phase on the component.
Ry gate Real amplitudes; at gives , same as up to a sign.
Rz gate Global phase only; .
CX gate (CNOT) Control is qubit 0 = ; CX fires and flips qubit 1 from to .
SWAP gate Swapping two qubits leaves the state unchanged.
iSWAP gate No or terms to exchange; the state is unchanged.

Reaching other states

State Gates Comment
The identity leaves unchanged.
X on qubit 0 flips the first bit.
X on qubit 1 flips the second bit.
X on both qubits; quantum analogue of classical NOT NOT 11 = 00.
Bell preparation: , then CX produces directly.
Bell preparation then Z on qubit 0 cancels the relative sign.
Flip qubit 1 first to reach , then apply Bell preparation.
As above, then Z on qubit 0.
ket-11.md · Last modified: