Sign in
← Atlas
Exact & formalGatesSingle-qubit gate

S phase gate

A quarter-turn phase gate that exposes the difference between global and relative phase.

phasecliffordsingle qubit

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

The S gate is a compact bridge from Pauli operators to controlled phase and Fourier-style circuits.

Circuit & simulation
Phase-resolved100%
What this takes and returns
Takes1 qubitWhat joins here

Takes a 1-qubit register and states no assumption about what is on it. That is the whole condition: anything returning 1 qubits can feed it.

15 entries meet this end. Named below.

Returns1 qubitWhat joins here

Returns a 1-qubit register a next stage can take. This is the end that joins.

13 entries meet this end. Named below.

A unitary. The same register goes in and comes out, and this entry states no assumption about what is on it — which is what lets anything of the same width feed it. See all 29 →

How it works

The SS gate (phase gate) is S=(100i)S=\begin{pmatrix}1&0\\0&i\end{pmatrix}, applying a π/2\pi/2 phase to 1|1\rangle: S0=0S|0\rangle=|0\rangle, S1=i1S|1\rangle=i|1\rangle. Squaring the matrix gives S2=(1001)=ZS^2=\begin{pmatrix}1&0\\0&-1\end{pmatrix}=Z, and applying it four times returns the identity, S4=IS^4=I — exactly the power relations this record verifies by direct computation. SS is unitary but not Hermitian (S=S1=S3SS^\dagger=S^{-1}=S^3\neq S), and it is a Clifford gate: conjugating Pauli XX by SS gives SXS=YSXS^\dagger=Y up to sign convention, so SS maps the XX/ZZ stabilizer picture onto YY. Because S=ZS=\sqrt Z, it is the natural bridge between the Pauli group and finer phase rotations; composed with Hadamard it builds a YY-basis change of basis and, together with T=ST=\sqrt S, generates approximately universal single-qubit rotations.

Implementation
Native
s-phase.qasm
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
s q;
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.

Literature & references
Quantum Computation and Quantum Information: 10th Anniversary Edition2010 · Michael A. Nielsen and Isaac L. Chuang

Standard graduate textbook covering the single- and two-qubit gate definitions, matrix identities, and circuit primitives this record states.

doi.org/10.1017/cbo9780511976667