Site Tools


ket-1

Table of Contents

(One state)

The one state is one of the two computational basis states of a qubit. It is the quantum analogue of a classical 1 bit. The other computational basis state is .

On the Bloch sphere, corresponds to the south 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 |1⟩ = X|0⟩ — flip the default |0⟩ with an X gate.
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector

qc = QuantumCircuit(1)
qc.x(0)

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 of .
Z gate is an eigenstate of with eigenvalue ; the minus sign is a global phase in isolation but observable in superpositions.
Hadamard gate Rotates the south pole to the equatorial point of the Bloch sphere.
S gate adds a phase of to the component; acting on alone this is a global phase.
T gate adds a phase of to the component; global phase when acting on alone.
Rx gate Tilts the state from toward with an imaginary phase on the component.
Ry gate Real amplitudes; at gives , equivalent to up to global phase.
Rz gate Global phase only; is on the -axis so a -rotation has no observable effect.
Unitary gate Both and contribute (unlike from where drops out).

Reaching other states

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