ket-01
$\lvert 01\rangle$
Table of Contents
The state is a two-qubit computational basis state with qubit 0 in and qubit 1 in . It is the tensor product — an unentangled product state. It is reached from by a single gate on qubit 1.
Measuring qubit 0 yields with certainty; measuring qubit 1 yields with certainty. Applying then CX maps directly to , making it the natural starting state for the -type Bell states.
Qiskit
# Prepare |01⟩ — flip qubit 1 from the default |00⟩ state. from qiskit import QuantumCircuit from qiskit.quantum_info import Statevector qc = QuantumCircuit(2) qc.x(1) # |00⟩ → |01⟩ print(Statevector(qc).data)
Applying gates
Single-qubit gates act on qubit 0. Qubit 1 is in , so gates on qubit 1 follow the single-qubit rules with qubit 0 unchanged.
| 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 an imaginary phase factor on qubit 0. | |
| Z gate | Qubit 0 is in , an eigenstate of with eigenvalue ; no effect. | |
| Hadamard gate | Puts qubit 0 into equal superposition; qubits remain unentangled. | |
| S gate | Phase gate only affects ; qubit 0 is in so nothing changes. | |
| T gate | Same as : no effect when the target qubit is in . | |
| Rx gate | Tilts qubit 0 toward ; qubit 1 is unchanged throughout. | |
| Ry gate | Real amplitudes; at gives , the same result as . | |
| Rz gate | Global phase only; qubit 0 is on the -axis so a -rotation has no observable effect. | |
| CX gate (CNOT) | Control is qubit 0 = ; CX only fires on , so qubit 1 is unchanged. | |
| SWAP gate | Exchanges the two qubits. | |
| iSWAP gate | Exchanges and with a phase of . |
Reaching other states
ket-01.md · Last modified:
