Gates · Single-qubit gate
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.
Exact & formalUpdated
1 step across 1 wire. Hover a step, or press play to go through them in order.
Expected outcomes
- P(|0⟩) unchanged100%
- P(|1⟩) unchanged0%
- Steps1
- Wires1
- Qubits1
- Depth1 gate (0-duration no-op semantically)
- Parameternone
- Papers2
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.
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 →
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.
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 →
- Qubits
- 1
- Depth
- 1 gate (0-duration no-op semantically)
- Parameter
- none
- Matrix
- diag(1, 1)
- Role
- Identity element of U(2)
- Special case of
- RZ(0), P(0)
- Gate family
- Clifford (and Pauli)
Ion q[0]
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.
Nobody has reviewed this record for gaps yet.
OPENQASM 3.0;
include "stdgates.inc";
qubit q;
id q;Related entries
- Pauli-X operator
Operators
- RZ rotation gate
Gates
- P phase gate
Gates
- Hadamard gate
Gates
References
- Quantum Computation and Quantum Information: 10th Anniversary Edition
Michael A. Nielsen and Isaac L. Chuang · 2010
Standard reference for gate matrices, the Clifford/non-Clifford distinction, and controlled-gate constructions used throughout this record.
- OpenQASM 3: A broader and deeper quantum assembly language
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 · 2021
Defines the standard gate library (id, sdg, tdg, cy, crz, rxx, rzz, ccx, cx…) used natively by the code snippets on this record.