Standard textbook definition of the Hadamard/X-eigenbasis states and their role as the second measurement basis in mutually-unbiased-basis protocols such as BB84.
doi.org/10.1017/cbo9780511976667 ↗Hadamard-basis states |+⟩ and |−⟩
The Hadamard-basis (X-basis) states |+⟩ and |−⟩: the eigenstates of the Pauli-X operator, produced from |0⟩/|1⟩ by a single Hadamard gate.
Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.
Every single-qubit protocol that needs a second, mutually unbiased measurement basis reaches for |+⟩/|−⟩ first: they are equal-weight superpositions in the computational (Z) basis, yet perfectly distinguishable in the X basis, making them the standard tool for basis-mismatch protocols like BB84 and for phase-kickback tricks in oracle-based algorithms.
Circuit & simulation
What this takes and returns
TakesNothingWhat joins here
Nothing goes in, and that is what this entry is: a pipeline starts here. There is no upstream to choose — what you pick is what comes after.
Nothing in the Atlas meets this end.
Returns2 qubitsWhat joins here
Returns a 2-qubit register a next stage can take. This is the end that joins.
12 entries meet this end. Named below.
Prepares a state. Nothing goes in, and what comes out is a register another stage can take. See all 12 →
Where the map uses this
This record is an instance of an object the map names, so these are the processes that consume or produce one. None of them is about this record in particular.
State you can prepare 5 of 33 processes
- Quantum linear solve hands one back
- Prepare an input state hands one back
- Amplify a success branch hands one back
- Estimate an observable takes one
- Minimise the objective over the parameters hands one back
How it works
The Hadamard-basis states are
Eigenstates of . Direct matrix multiplication gives and , so is the eigenbasis of the Pauli- operator, exactly as is the eigenbasis of . Because and ( conjugation swaps the two Pauli operators), the Hadamard gate is precisely the change-of-basis unitary between the and eigenbases: , .
Mutual unbiasedness. : every computational-basis state has equal overlap with every Hadamard-basis state. This is the defining property of mutually unbiased bases — measuring a -eigenstate in the basis (or vice versa) yields a uniformly random outcome, which is exactly the security mechanism behind the BB84 quantum key distribution protocol's second basis choice.
Phase kickback. Preparing an ancilla in before a controlled- oracle is the standard trick that converts a classical bit-flip oracle into a phase oracle , because is an eigenstate of the flip with eigenvalue . This is the mechanism used by Deutsch–Jozsa, Bernstein–Vazirani, Simon's algorithm, and Grover's diffusion oracle.
Stabilizer view. is stabilized by (the unique eigenstate) and by ; both are single-qubit stabilizer states, sitting alongside as the six single-qubit states reachable by Clifford operations from — the vertices of the stabilizer octahedron on the Bloch sphere, in contrast to the off-axis magic states elsewhere in this catalog.
Implementation
import numpy as np
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector, Operator
def plus_state() -> QuantumCircuit:
qc = QuantumCircuit(1)
qc.h(0)
return qc
def minus_state() -> QuantumCircuit:
qc = QuantumCircuit(1)
qc.x(0)
qc.h(0)
return qc
X = Operator.from_label("X").data
plus = Statevector.from_instruction(plus_state())
minus = Statevector.from_instruction(minus_state())
print("|+> =", plus.data) # [0.7071, 0.7071]
print("|-> =", minus.data) # [0.7071, -0.7071]
print("X|+> = +|+>:", np.allclose(X @ plus.data, plus.data))
print("X|-> = -|->:", np.allclose(X @ minus.data, -minus.data))
FINAL_CIRCUIT = plus_state()
Quantum vs classical
Classical baseline
Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.
Quantum claim
The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.
How to compare
Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.
Declared gaps
Nobody has reviewed this record for gaps yet.