Standard reference for gate matrices, the Clifford/non-Clifford distinction, and controlled-gate constructions used throughout this record.
doi.org/10.1017/cbo9780511976667 ↗Identity (I) gate
The single-qubit no-op gate that leaves every state exactly unchanged, used as a placeholder in circuit diagrams, a timing/idle slot on real hardware, and the base case for gate-composition identities.
Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.
I rarely appears as an algorithmic step, but it matters as the formal identity element of the single-qubit unitary group: every gate-composition identity in this catalog (e.g. S·S† = I, X² = I) is stated relative to it.
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
Definition
is the identity matrix: the unique unitary that acts trivially on every state, and the identity element of under matrix multiplication.
Action on basis states
and by linearity for any superposition — no amplitude or phase is touched.
Key identities
- is the identity element for gate composition: for every single-qubit unitary .
- Every involutory gate in this catalog squares to : , and every phase-ladder gate returns to after enough applications: , .
- : the identity is the (or ) special case of every parametrized rotation and phase gate in this catalog.
- On real hardware, an explicit identity or delay instruction is used to pad circuit depth for timing alignment; unlike a mathematical no-op, it still accumulates decoherence, which is why idle qubits are a genuine error source in circuit scheduling.
Implementation
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
id 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
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 ↗