Sign in
← Atlas
Exact & formalGatesPhase gate

S† (inverse phase) gate

The Hermitian conjugate (and inverse) of the S gate, applying a -π/2 phase to |1⟩ and undoing whatever an S gate did earlier in a circuit.

phasecliffordsingle qubitinverse

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

S† exists in this catalog for the same reason T† does: real circuits need to undo a Clifford phase gate exactly, and S† is the closed-form inverse rather than something re-derived from S every time.

Circuit & simulation
P(|0⟩) unchanged100%
P(|1⟩) unchanged0%
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

Definition

S=(100i)S^\dagger = \begin{pmatrix} 1 & 0 \\ 0 & -i \end{pmatrix}

SS^\dagger is the conjugate transpose of S=diag(1,i)S = \mathrm{diag}(1,i), and since SS is unitary, SS^\dagger is also its inverse: SS=SS=ISS^\dagger = S^\dagger S = I.

Action on basis states

S0=0,S1=i1S^\dagger|0\rangle = |0\rangle, \qquad S^\dagger|1\rangle = -i|1\rangle

Applied to +=12(0+1)|+\rangle = \tfrac{1}{\sqrt2}(|0\rangle+|1\rangle), it produces 12(0i1)=i\tfrac{1}{\sqrt2}(|0\rangle - i|1\rangle) = |{-i}\rangle, the state at π/2-\pi/2 on the Bloch-sphere equator, mirroring how S+=iS|+\rangle = |i\rangle lands at +π/2+\pi/2.

Key identities

  • S=P(π/2)=RZ(π/2)S^\dagger = P(-\pi/2) = R_Z(-\pi/2) up to global phase, so SS^\dagger is the λ=π/2\lambda=-\pi/2 special case of the general phase gate, symmetric with S=P(π/2)S=P(\pi/2).
  • S=S3S^\dagger = S^3 since S4=IS^4=I: three applications of SS equal one SS^\dagger, useful when a compiler's native gate set only exposes SS.
  • ST2=IS^\dagger \cdot T^2 = I because T2=ST^2=S, so SS^\dagger and two TT gates cancel exactly.
  • Like SS, SS^\dagger is Clifford: conjugating a Pauli operator by SS^\dagger returns a Pauli operator, e.g. SXS=YS^\dagger X S = -Y.
Implementation
Native
s-dagger.qasm
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
sdg 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 reference for gate matrices, the Clifford/non-Clifford distinction, and controlled-gate constructions used throughout this record.

doi.org/10.1017/cbo9780511976667
OpenQASM 3: A broader and deeper quantum assembly language2021 · Andrew W. Cross, Ali Javadi-Abhari, Thomas Alexander, Niel de Beaudrap, Lev S. Bishop, Steven Heidel, Colm A. Ryan, Prasahnt Sivarajah, John Smolin, Jay M. Gambetta, Blake R. Johnson

Defines the standard gate library (id, sdg, tdg, cy, crz, rxx, rzz, ccx, cx…) used natively by the code snippets on this record.

arxiv.org/abs/2104.14722