Comprehensive reference for quantum gate matrix representations and their effects on qubit states.
The Pauli-X gate performs a bit flip operation, equivalent to a classical NOT gate.
The Pauli-Y gate performs a bit and phase flip operation.
The Pauli-Z gate performs a phase flip operation.
The Hadamard gate creates superposition by rotating the qubit state.
The S gate applies a π/2 phase shift.
The S† (S-dagger) gate applies a -π/2 phase shift.
The T gate applies a π/4 phase shift.
The T† (T-dagger) gate applies a -π/4 phase shift.
The RX gate rotates the qubit around the X-axis by angle θ.
The RY gate rotates the qubit around the Y-axis by angle θ.
The RZ gate rotates the qubit around the Z-axis by angle θ.
The Controlled-NOT gate flips the target qubit if the control qubit is |1⟩.
The Controlled-Z gate applies a phase flip to the target qubit if the control qubit is |1⟩.
The SWAP gate exchanges the states of two qubits.
All quantum gates are unitary operations, meaning they preserve the norm of quantum states and are reversible.
Multiple gates applied sequentially combine through matrix multiplication.
See these gates in action with real-time state vector visualization.
Open Circuit Editor