Site Tools


ket-minus

Table of Contents

(Minus state)

The minus state is an equal superposition of and with a relative minus sign. It is one of the six cardinal states on the Bloch sphere, sitting at the negative -axis at coordinates .

On the Bloch sphere, is an eigenstate of the Pauli-X gate with eigenvalue , meaning . It is prepared from by , or equivalently from by . Because , it is the standard ancilla qubit for phase kickback: a CX with as target writes the oracle's output as a phase on the control rather than flipping the target.

Qiskit

# Prepare |−⟩ = zh|0⟩ — Hadamard then Z to flip the relative phase, or equivalently h|1⟩.
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector

qc = QuantumCircuit(1)
qc.h(0)
qc.z(0)

print(Statevector(qc).data)

Applying gates

Gate Result Comment
I gate The identity gate leaves unchanged.
X gate is an eigenstate of with eigenvalue ; the state acquires a global minus sign, unobservable in isolation.
Y gate Swaps and phase-shifts; the result is up to global phase .
Z gate Z negates the component, turning into and flipping the pole to the pole.
Hadamard gate The amplitudes cancel for (destructive) and add for (constructive); collapses to the south pole.
S gate Rotates around , taking the pole to the pole.
T gate Adds to the azimuthal angle; lands midway between and at .
Rx gate Global phase only; is on the axis so an -rotation has no observable effect.
Ry gate Tilts off the pole toward the poles; at gives , at gives (equivalent to ).
Rz gate Sweeps the azimuthal angle; at gives , at gives , at gives .
Unitary gate general rotation from pole Both and contribute at all angles.

Reaching other states

State Gates Comment
Tilts the equatorial point to the north pole with a real-amplitude rotation.
Hadamard maps the pole to the south pole; destructive interference on , constructive on .
Z flips the phase, taking the pole to the pole.
The identity gate leaves unchanged.
rotates around , moving from the pole to the pole.
S rotates around , moving from the pole to the pole.
ket-minus.md · Last modified: