Site Tools


ket-0

Table of Contents

(Zero state)

The zero state is one of the two computational basis states of a qubit. It is the quantum analogue of a classical 0 bit, and it is the standard initial state used in most quantum circuits. The other computational basis state is .

On the Bloch sphere, corresponds to the north pole at coordinates . It is an eigenstate of the Pauli-Z gate with eigenvalue , meaning . Applying the Hadamard gate to produces the equal superposition state .

Qiskit

# Prepare |0⟩ — default state; qiskit initializes all qubits to |0⟩, no gates needed.
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector

qc = QuantumCircuit(1)

print(Statevector(qc).data)

Applying gates

Gate Result Comment
I gate The identity gate leaves unchanged.
X gate Flips to ; quantum analogue of classical NOT.
Y gate Bit flip with an imaginary phase factor.
Z gate is an eigenstate of with eigenvalue .
Hadamard gate Rotates the north pole to the equatorial point of the Bloch sphere.
S gate Phase only affects the component; is unchanged.
T gate Phase only affects the component; is unchanged.
Rx gate Tilts the state from toward with an imaginary phase on the component.
Ry gate Real amplitudes; at gives , the same result as the Hadamard gate up to global phase.
Rz gate Global phase only; is on the -axis so a -rotation has no observable effect.
Unitary gate drops out; every single-qubit state is reachable from with appropriate .

Reaching other states

State Gates Comment
The identity gate leaves unchanged.
X flips the qubit; the quantum analogue of classical NOT. is its own inverse: .
Hadamard rotates the north pole to the equatorial point, creating the equal superposition .
H first produces , then Z flips its relative phase to give .
H rotates to the equatorial point, then S rotates 90° around to land on the pole.
Same as but with the inverse phase rotation, landing on the pole instead.
ket-0.md · Last modified: