Matrices as gates
February 3, 2025
Single-qubit gates are unitaries. Common examples include
If you keep seeing and wonder what they mean, read What do the Pauli matrices mean?.
Controlled operations
A CNOT flips the target conditioned on the control being . Its matrix is a permutation on the computational basis of two qubits.
Matrix dimensions grow as for qubits. Simulators track the full state vector; real hardware executes the same mathematics with noise and limited connectivity.
Next
Go to Single-qubit gates for a practical walkthrough, then Install Qiskit to run circuits locally.