Standard graduate textbook covering the single- and two-qubit gate definitions, matrix identities, and circuit primitives this record states.
doi.org/10.1017/cbo9780511976667 ↗S phase gate
A quarter-turn phase gate that exposes the difference between global and relative phase.
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
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 gate (phase gate) is , applying a phase to : , . Squaring the matrix gives , and applying it four times returns the identity, — exactly the power relations this record verifies by direct computation. is unitary but not Hermitian (), and it is a Clifford gate: conjugating Pauli by gives up to sign convention, so maps the / stabilizer picture onto . Because , it is the natural bridge between the Pauli group and finer phase rotations; composed with Hadamard it builds a -basis change of basis and, together with , generates approximately universal single-qubit rotations.
Implementation
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.