ket-10
$\lvert 10\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 the SWAP of , reached from by a single gate on qubit 0.
Measuring qubit 0 yields with certainty; measuring qubit 1 yields with certainty. Applying then CX maps directly to , because and .
Qiskit
# Prepare |10⟩ — flip qubit 0 from the default |00⟩ state. from qiskit import QuantumCircuit from qiskit.quantum_info import Statevector qc = QuantumCircuit(2) qc.x(0) # |00⟩ → |10⟩ print(Statevector(qc).data)
Applying gates
Single-qubit gates act on qubit 0, which is in . 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 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 | Exchanges the two qubits. | |
| iSWAP gate | Exchanges and with a phase of . |
Reaching other states
ket-10.md · Last modified:
