Learn quantum gates and build quantum circuits interactively
Quantum gates are the building blocks of quantum circuits. They are unitary operations that manipulate qubits, similar to how logic gates manipulate classical bits.
Two-qubit gates operate on pairs of qubits and can create entanglement.
Each quantum gate can be represented as a unitary matrix:
X = [0 1]
[1 0]
Any quantum computation can be performed using: