← Quantum Computing

Quantum Gates & Circuits

Single- and two-qubit gates, the circuit model and compilation.

A subcategory of Quantum Computing, collecting its introduction, articles and resource entry points.

§

Articles here

22 Nov 2026 Quantum Computing

Circuit Identities and Simplification: How Compilers Rewrite Quantum Circuits

A systematic tour of the equivalence rules for quantum circuits — self-inverse cancellation, Hadamard conjugation, commutation and exchange, rotation merging and phase folding, Pauli propagation and the CNOT bridge identity — and why circuit equivalence checking is hard and compilers rely on local rewriting.

Circuit OptimizationCompilersCircuit IdentitiesGate Simplification

Read more →
22 Nov 2026 Quantum Computing

The Scales of a Circuit: Width, Gate Count, and Depth

Distinguishing the three basic scales of a quantum circuit — width (qubit count), size (total gate count), and depth (the number of parallel layers) — and explaining why depth is directly constrained by coherence time, where parallelism comes from, and how hardware connectivity rewrites the depth of the same algorithm.

Circuit DepthParallelismCoherence TimeCompilation

Read more →
22 Nov 2026 Quantum Computing

Controlled Gates: Writing Conditionals into Circuits and Building Entanglement by Hand

Starting from the block-matrix structure of controlled-U, this article explains the equivalence of CNOT and CZ, the ABC-decomposition construction of an arbitrary controlled single-qubit unitary, and the preparation circuits for Bell and GHZ states and how their entanglement differs.

Controlled GatesCNOTEntanglement PreparationGHZ State

Read more →
22 Nov 2026 Quantum Computing

Mid-Circuit Measurement and Classical Feedforward: Letting Circuits Decide While They Run

Starting from projective measurement and the choice of measurement basis, this article explains why the principle of deferred measurement says mid-circuit measurements can in principle be postponed, how mid-circuit measurement and qubit reuse save width, and how classical feedforward and dynamic circuits let error correction and teleportation complete their conditional operations within the coherence time.

MeasurementClassical FeedforwardDynamic CircuitsQuantum Error Correction

Read more →
22 Nov 2026 Quantum Computing

The Circuit Structure of the Quantum Fourier Transform

Dissecting the construction of the QFT circuit: from its definition and product form, walking qubit by qubit through the gate sequence of Hadamards plus controlled phase rotations, the bit-reversal at the end, the mirror structure of the inverse transform, and how the approximate QFT trades dropped small-angle rotations for a reduced gate count.

Quantum Fourier TransformQFTControlled Phase GatesPhase Estimation

Read more →
22 Nov 2026 Quantum Computing

Qubits, Gates, and Circuits: The Minimal Language of Quantum Computing

Starting from a single qubit on the Bloch sphere, this article explains the Hadamard, CNOT, and phase gates as unitary matrices, how to read a circuit diagram, and why the set {H, T, CNOT} is universal.

QubitQuantum GatesQuantum CircuitsBloch Sphere

Read more →
22 Nov 2026 Quantum Computing

Rotation Gates: The Continuous Family of Single-Qubit Gates

Starting from the three elementary rotations Rx, Ry, and Rz, this article explains where the half-angle comes from, the subtle sense in which Rz and the phase gate differ only by a global phase, and the U parametrization and ZYZ decomposition of an arbitrary single-qubit unitary.

Rotation GatesSingle-Qubit GatesZYZ DecompositionBloch Sphere

Read more →
22 Nov 2026 Quantum Computing

Toffoli, Fredkin, and SWAP: Three-Qubit Gates and the Exchange Gate

Why the Toffoli gate is universal for classical reversible computation, why its exact decomposition needs at least six CNOTs, how relative-phase variants halve that cost, and the Fredkin gate, the three-CNOT decomposition of SWAP, and SWAP networks in hardware routing.

Toffoli GateReversible ComputingSWAPQuantum Routing

Read more →
§

More in this section