← Atlas

Gates · Single-qubit gate

SX (√X) gate

A Clifford square root of the Pauli-X gate that is the native physical single-qubit gate (an X_{π/2} pulse) on most superconducting hardware.

Exact & formalUpdated

View frozen graph

q[0]Step 1 of 2 · SX · on q[0]SXStep 2 of 2 · SX · on q[0]SX

2 steps across 1 wire. Hover a step, or press play to go through them in order.

Expected outcomes

  • P(|0⟩) after SX50%
  • P(|1⟩) after SX50%
  • P(|1⟩) after SX·SX (=X)100%
  • Steps2
  • Wires1
  • Qubits1
  • Depth1 gate
  • Order4 (SX⁴ = I)
  • Papers2

Definition

X≡SX=12(1+i1−i1−i1+i)\sqrt{X} \equiv SX = \frac{1}{2}\begin{pmatrix} 1+i & 1-i \\ 1-i & 1+i \end{pmatrix}

Squaring the matrix directly confirms SX⋅SX=XSX \cdot SX = X: it is a genuine matrix square root of the Pauli-X gate, and one of exactly four square roots of XX up to global phase (the others being −SX-SX, SX†SX^\dagger scaled, etc.).

Action on basis states

SX∣0⟩=12[(1+i)∣0⟩+(1−i)∣1⟩],SX∣1⟩=12[(1−i)∣0⟩+(1+i)∣1⟩]SX|0\rangle = \tfrac12\big[(1+i)|0\rangle + (1-i)|1\rangle\big], \qquad SX|1\rangle = \tfrac12\big[(1-i)|0\rangle + (1+i)|1\rangle\big]

Both outcomes are measured with equal probability 1/21/2; the gate's effect is entirely in the phase relationship between the two amplitudes, which a second SXSX resolves back into a deterministic bit flip.

Key identities

  • SX=eiπ/4RX(π/2)SX = e^{i\pi/4} R_X(\pi/2): up to global phase, SXSX is precisely the RXR_X rotation halfway to a full XX flip.
  • SXSX is a Clifford gate: conjugating any Pauli operator by SXSX returns a Pauli operator (up to sign), e.g. SX⋅Z⋅SX†=−YSX \cdot Z \cdot SX^\dagger = -Y. This is why SXSX, together with RZR_Z and CX\mathrm{CX}, forms a common native gate set for Clifford-heavy compilation.
  • SX†⋅SX=ISX^\dagger \cdot SX = I and SX⋅SX=XSX \cdot SX = X, so SX4=X2=ISX^4 = X^2 = I — SXSX has order 4.
  • Combined with virtual RZR_Z frame changes, two calibrated SXSX pulses (an RX(π/2)R_X(\pi/2)–RZR_Z–RX(π/2)R_X(\pi/2) sequence) synthesize any single-qubit unitary, which is why SXSX rather than a general RX(θ)R_X(\theta) is the physically native gate on many devices.

References

Exact & formal
  • Unitary / matrix equivalence
  • Direct mathematics
  • Textbook / standard citation
Method
Multiply the SX matrix by itself and compare the product against the Pauli-X matrix.
Result
Pass · SX² = X exactly, confirming SX is a genuine matrix square root of X.
OpenQASM 3 standard gate set ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
cliffordsingle qubithardware native

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.