Gate reference¶
This section is a complete reference for every operation in the Qompile Operations catalog - one page per gate, aimed at anyone (including students) who wants more than "drag it onto the circuit." Each page covers what the gate does, its matrix, how it acts on basis states, a minimal example, and links to related gates.
How this is organized
The categories below (Foundational, Phase, Rotation, and so on) are a learning-oriented grouping for this reference, not necessarily the exact category names shown in the Operations catalog itself. In the app, gates are grouped and color-coded by family (e.g. Hadamard, Classical) - see Catalog view and List view.
Foundational gates¶
The basic single-qubit building blocks: doing nothing, flipping a bit, and creating superposition.
Phase gates¶
Gates that leave measurement probabilities alone but shift the relative phase between \( |0\rangle \) and \( |1\rangle \) - the foundation for interference effects. See Phase disks for a visual walkthrough using these gates.
Rotation gates¶
Continuously tunable single-qubit gates, parameterized by an angle (or three, for U).
Multi-qubit and controlled gates¶
Gates that act on two or more qubits together, including the standard way to create entanglement.
Measurement and control flow¶
Operations that read out or route classical information, plus tools for building custom controlled gates.
- Controls and conditionals - start here for how quantum controls and classical conditionals differ
- Measurement
- Reset
- Barrier
- Control
- Conditional (if)
- Phase disk marker