Quantum gate library
Quantum Gates Library
Every gate with its unitary matrix, its effect on basis states, a live simulation and a related circuit.
All gates
Experiments in this module
Module quiz
The quiz needs JavaScript.
All results in this lab come from an exact classical statevector simulation running in your browser, not from execution on a real quantum computer. The required memory doubles with every qubit ($2^n$ amplitudes), so the number of qubits is limited by default to 16.
