Quantum Computing Lab

Quantum Computing Lab

An interactive educational platform for learning quantum computing concepts, simulating qubits, gates and quantum circuits, and experimenting with quantum algorithms and quantum machine learning applications.

Learning paths

Three ordered paths through the lab's own pages; choose the one that suits your level and track your progress.

Interactive simulators

Every simulator actually computes the quantum state in your browser (statevector simulation), with no server and no quantum computer.

Qubit simulator Qubit Simulator Enter the two amplitudes α and β as complex numbers, apply gates, and measure the qubit thousands of times to watch the Born rule hold before your eyes. Interactive lab 3D Bloch sphere Bloch Sphere Visualise the qubit's state as a vector on the Bloch sphere: rotate the sphere, set the angles θ and φ, and watch the effect of each gate and of noise. Interactive lab Quantum gate library Quantum Gates Library Every gate with its unitary matrix, its effect on basis states, a live simulation and a related circuit. Interactive lab Quantum circuit builder Quantum Circuit Builder Drag gates onto the wires, run the circuit, inspect the state, probabilities and histogram, and export to OpenQASM, Qiskit and JSON. Interactive lab Quantum entanglement lab Entanglement Lab Bell and GHZ states, the EPR experiment, measurement correlations and the CHSH inequality, showing that entanglement does not transmit information faster than light. Interactive lab Quantum measurement simulator Measurement Simulator Choose the number of shots and the measurement basis and compare theory with experiment, with a reproducible seed and readout error. Interactive lab Quantum algorithms lab Quantum Algorithms Lab Deutsch, Deutsch–Jozsa, Bernstein–Vazirani, Simon, Grover, QFT, phase estimation, Shor (small examples), teleportation, superdense coding and more. Interactive lab Quantum machine learning lab Quantum Machine Learning Lab Data encoding, feature maps, variational classifiers, the quantum kernel and hybrid models on real data such as Iris, with actually computed results. Interactive lab Quantum optimisation lab Quantum Optimization Lab The Max-Cut problem, the Ising model, QAOA and annealing, with an interactive graph simulator and a comparison with classical solutions. Interactive lab

Featured experiments

All experiments

Quantum algorithms

Beginner Deutsch's Algorithm Deutsch's Algorithm Deutsch's algorithm decides whether a one-bit function is constant or balanced with a single oracle query instead of two. Intermediate Deutsch–Jozsa Algorithm Deutsch–Jozsa Algorithm Deutsch–Jozsa decides with one query whether an n-bit function promised to be constant or balanced is which, versus 2^n−1+1 queries for an exact classical algorithm. Intermediate Bernstein–Vazirani Algorithm Bernstein–Vazirani Algorithm Bernstein–Vazirani recovers the hidden string s of f(x) = s·x mod 2 with one query, whereas any classical method needs n queries. Advanced Simon's Algorithm Simon's Algorithm Simon's algorithm finds the hidden period s of a two-to-one function with O(n) queries, whereas classical randomized algorithms need Ω(2^n/2). Intermediate Grover's Search Algorithm Grover's Search Algorithm Grover's algorithm finds a marked item among N with about (π/4)√(N/M) oracle queries instead of O(N/M): a provably optimal quadratic speed-up. Advanced Quantum Fourier Transform (QFT) Quantum Fourier Transform (QFT) The QFT applies the discrete Fourier transform to the amplitudes of an n-qubit state with O(n²) gates; a key subroutine of phase estimation and Shor's algorithm. Advanced Quantum Phase Estimation (QPE) Quantum Phase Estimation (QPE) QPE estimates the phase φ in U|u⟩ = e^2πiφ|u⟩ to t bits using t counting qubits, controlled-U^2^j and an inverse QFT. Advanced Shor's Factoring Algorithm Shor's Factoring Algorithm Shor's algorithm factors N in time polynomial in log N via quantum order finding, but needs a large fault-tolerant quantum computer that does not yet exist.

Algorithms lab

Quantum machine learning

Data encoding, feature maps, variational classifiers and quantum kernels, with results actually computed on real data and a fair comparison with classical models.

Quantum machine learning lab

Concept library

Beginner Measurement Basis Measurement Basis The measurement basis is the orthonormal basis onto which a state is projected; measuring in the X or Y basis is done by rotating the state before a computational-basis… Beginner Complex Numbers Complex Numbers Complex numbers z=a+ib are the language of quantum amplitudes; their polar form re^iφ makes a quantum phase a rotation in the complex plane. Beginner Bit vs Qubit Bit vs Qubit A classical bit takes the value 0 or 1; a qubit is in a state α|0⟩+β|1⟩ with complex amplitudes, yet measuring it yields only one bit. Beginner Quantum Superposition Quantum Superposition Quantum superposition is the fact that a state can be a linear combination of basis states; it is relative to the chosen basis, not literally 'being in two values at onc… Beginner Tensor Product Tensor Product The tensor product ⊗ combines subsystem spaces into the composite space, multiplying dimensions, and builds multi-qubit states and gates. Beginner Quantum State Quantum State A pure quantum state of n qubits is a unit vector in the Hilbert space ℂ^2^n, defined up to a global phase, that determines the probabilities of all possible measurement… Beginner Classical vs Quantum Computation Classical vs Quantum Computation A classical probabilistic state is a vector of non-negative probabilities evolved by stochastic matrices; a quantum state is a vector of complex amplitudes evolved by un… Beginner Probability Amplitudes Probability Amplitudes A probability amplitude is a complex number attached to each basis state; its squared modulus gives the outcome probability. Amplitudes, not probabilities, add and inter…

Knowledge library

Latest content

Lessons suggested for you

Suggestions change according to the lessons you have completed (stored in your browser only).

Quantum Assistant – Lab assistant

It answers from the lab's knowledge base only, suggests experiments and lessons, interprets simulation results and creates short quizzes. It needs no language model or external connection.

The lab's twelve modules

Quantum computing fundamentals Quantum Computing Fundamentals From the bit to the qubit: superposition, entanglement, interference, measurement, amplitudes, Dirac notation, Hilbert space and noise, with an interactive experiment for every lesson. Qubit simulator Qubit Simulator Enter the two amplitudes α and β as complex numbers, apply gates, and measure the qubit thousands of times to watch the Born rule hold before your eyes. Interactive lab 3D Bloch sphere Bloch Sphere Visualise the qubit's state as a vector on the Bloch sphere: rotate the sphere, set the angles θ and φ, and watch the effect of each gate and of noise. Interactive lab Quantum gate library Quantum Gates Library Every gate with its unitary matrix, its effect on basis states, a live simulation and a related circuit. Interactive lab Quantum circuit builder Quantum Circuit Builder Drag gates onto the wires, run the circuit, inspect the state, probabilities and histogram, and export to OpenQASM, Qiskit and JSON. Interactive lab Quantum entanglement lab Entanglement Lab Bell and GHZ states, the EPR experiment, measurement correlations and the CHSH inequality, showing that entanglement does not transmit information faster than light. Interactive lab Quantum measurement simulator Measurement Simulator Choose the number of shots and the measurement basis and compare theory with experiment, with a reproducible seed and readout error. Interactive lab Quantum algorithms lab Quantum Algorithms Lab Deutsch, Deutsch–Jozsa, Bernstein–Vazirani, Simon, Grover, QFT, phase estimation, Shor (small examples), teleportation, superdense coding and more. Interactive lab Quantum machine learning lab Quantum Machine Learning Lab Data encoding, feature maps, variational classifiers, the quantum kernel and hybrid models on real data such as Iris, with actually computed results. Interactive lab Qiskit lab Qiskit Lab Practical Qiskit lessons with copyable code, line-by-line explanations and real outputs, noting that they run on your machine, not inside WordPress. Quantum optimisation lab Quantum Optimization Lab The Max-Cut problem, the Ising model, QAOA and annealing, with an interactive graph simulator and a comparison with classical solutions. Interactive lab Knowledge library Quantum Knowledge Library Terms, concepts, equations, examples, FAQs and references, organised by level.

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.