Interactive experiments

Interactive Experiments

Each experiment opens the right simulator with ready-made settings, along with a goal, steps and what theory predicts; results are computed in your browser.

BeginnerQubit simulator 5 minutesEqual Superposition with a Hadamard GateSee how a Hadamard gate turns a basis state into an equal superposition, and compare the theoretical probability with the measured frequency.BeginnerQubit simulator 5 minutesA Qubit with Custom Complex AmplitudesRelate complex amplitudes to probabilities and to Bloch-sphere coordinates.IntermediateQubit simulator 5 minutesRotation R_X and Measurement ProbabilityVerify the relation P(1)=^2(θ/2) for the R_X gate.IntermediateQubit simulator 5 minutesA Phase the Z Measurement Cannot SeeDistinguish relative phase from global phase, and understand why a change of basis is needed.Beginner3D Bloch sphere 5 minutesPlacing a State with Bloch AnglesRelate the angles θ,φ to the amplitudes and to the Cartesian coordinates of the Bloch vector.Beginner3D Bloch sphere 5 minutesHadamard on the Bloch SphereSee the Hadamard gate as a rotation on the Bloch sphere.Intermediate3D Bloch sphere 5 minutesPhase Gates S and T as Z-RotationsUnderstand phase gates as rotations about the z axis and verify T^2=S and S^2=Z.Advanced3D Bloch sphere 8 minutesRelaxation and Dephasing: T1 and T2Watch how noise turns a pure state into a mixed state, and distinguish the effect of T_1 from that of T_2.BeginnerQuantum gate library 5 minutesHadamard on Basis StatesLearn the table of the H gate's effect on the Z and X bases.BeginnerQuantum gate library 5 minutesS Gate Turns |+⟩ into |i+⟩See the effect of a phase gate on the amplitudes without changing the probabilities.IntermediateQuantum gate library 5 minutesThe SWAP GateVerify the SWAP gate's table and understand the qubit-ordering convention.IntermediateQuantum gate library 5 minutesCZ Adds a −1 Phase to |11⟩See that some gates change phases rather than probabilities, and that their effect shows up in superpositions.BeginnerQuantum circuit builder 5 minutesBell Pair CircuitBuild your first entangled state and read the correlation in the measurement outcomes.IntermediateQuantum circuit builder 5 minutesThree-Qubit GHZ StateExtend entanglement to three qubits and observe the complete correlation.AdvancedQuantum circuit builder 10 minutesTeleportation Circuit with Deferred MeasurementFollow the state as it moves from q_0 to q_2 and verify it on the Bloch sphere.IntermediateQuantum circuit builder 5 minutesGrover Search on Two QubitsWatch amplitude amplification in the smallest possible example.BeginnerQuantum circuit builder 5 minutesInterference: HZH = XSee quantum interference in the simplest circuit.IntermediateQuantum entanglement lab 5 minutesBell State Φ+ in Different BasesExplore the structure of correlations in a Bell state and test that correlation does not allow signalling.IntermediateQuantum entanglement lab 5 minutesBell State Φ−Show that the relative phase in an entangled state is observed by changing the basis.IntermediateQuantum entanglement lab 5 minutesBell State Ψ+Compare the correlation pattern of |Ψ^+⟩ with the two states.IntermediateQuantum entanglement lab 5 minutesThe Singlet State Ψ−Verify that the singlet state is anti-correlated in every common basis.AdvancedQuantum entanglement lab 5 minutesGHZ CorrelationsObserve three-way correlations in the GHZ state.IntermediateQuantum entanglement lab 5 minutesProduct State vs Entangled StateQuantitatively distinguish a product state from an entangled state using entropy, concurrence and measurement in different bases.AdvancedQuantum entanglement lab 10 minutesCHSH TestMeasure the quantity S and compare it with the classical bound of 2.BeginnerQuantum measurement simulator 5 minutesChoosing the Measurement BasisUnderstand that the measurement outcome depends on the chosen basis.IntermediateQuantum measurement simulator 5 minutesMeasuring in the Y BasisMaster the change of basis to Y and understand complementary bases.BeginnerQuantum measurement simulator 5 minutesRandom Seed and ReproducibilityDistinguish the theoretical probability from the samples, and understand the seed's role in reproducibility.IntermediateQuantum measurement simulator 5 minutesReadout ErrorModel readout error and separate it from the quantum probability.BeginnerQuantum algorithms lab 5 minutesDeutsch Algorithm: Balanced FunctionImplement the first quantum algorithm that beats the classical query count for the same problem.IntermediateQuantum algorithms lab 5 minutesDeutsch–Jozsa with Three QubitsVerify that constant and balanced functions can be distinguished with one query.IntermediateQuantum algorithms lab 5 minutesBernstein–Vazirani: Recovering a 4-bit SecretExtract an entire secret string with a single query.AdvancedQuantum algorithms lab 5 minutesSimon's Algorithm with s = 110See how each shot gives a linear equation about s.IntermediateQuantum algorithms lab 5 minutesGrover Search over 8 ItemsVerify the success-probability formula and that an optimal number of iterations exists.AdvancedQuantum algorithms lab 5 minutesQuantum Fourier Transform of |5⟩See that the QFT encodes the number in the phases, not in the probabilities.AdvancedQuantum algorithms lab 5 minutesPhase Estimation with 4 Counting QubitsRead the phase of an eigenvalue in the counting register.AdvancedQuantum algorithms lab 12 minutesShor: Order Finding for a = 7, N = 15Follow the quantum part (order finding) and the classical part (continued fractions and gcd) of Shor's algorithm.IntermediateQuantum algorithms lab 5 minutesTeleportation Protocol with Classical Feed-forwardVerify that teleportation succeeds for every measurement outcome after the appropriate correction.IntermediateQuantum algorithms lab 5 minutesSuperdense Coding of the Message 10Send two bits with one qubit with the help of entanglement.IntermediateQuantum algorithms lab 5 minutesBB84 Key Distribution without an EavesdropperUnderstand the stages of BB84 (sending, measuring, sifting) in an ideal channel.IntermediateQuantum algorithms lab 5 minutesBB84 with an Intercept–Resend EavesdropperMeasure the effect of eavesdropping on the error rate and understand why it can be detected.AdvancedQuantum algorithms lab 5 minutesSwap Test for State OverlapEstimate the squared overlap between two states by measuring a single qubit.IntermediateQuantum machine learning lab 5 minutesThe ZZ Feature MapSee how a data point is encoded in a circuit, and how the similarity between two points changes with the map.IntermediateQuantum machine learning lab 8 minutesVariational Quantum Classifier on Simple BlobsFollow the training of a variational quantum model and read the loss and accuracy curves.IntermediateQuantum machine learning lab 8 minutesQuantum Kernel with an SVMBuild a quantum kernel matrix, train an SVM on it, and understand the role of each part.AdvancedQuantum machine learning lab 10 minutesHybrid Classical–Quantum ModelUnderstand the structure of the hybrid model and how derivatives propagate through both parts.AdvancedQuantum machine learning lab 8 minutesComparing Optimizers: GD, Adam and SPSACompare the behaviour of the optimisers and their cost in number of evaluations.AdvancedQuantum machine learning lab 10 minutesKernel Comparison: Quantum, RBF and LinearCompare kernels in a controlled way and understand the effect of the feature map.IntermediateQuantum machine learning lab 8 minutesIris Classification with a VQCApply a quantum classifier to small real data and interpret the results honestly.IntermediateQuantum machine learning lab 5 minutesLoss Landscape of a Two-Parameter ModelSee an entire quantum loss function and understand its periodic structure.IntermediateQuantum optimisation lab 5 minutesQAOA p = 1 on the Square GraphRun QAOA on the simplest graph and read the approximation ratio.AdvancedQuantum optimisation lab 8 minutesQAOA p = 2 on a Weighted GraphCompare the two depths on a weighted problem.IntermediateQuantum optimisation lab 5 minutesComparison with Classical MethodsPut QAOA in context by comparing it with standard classical algorithms.IntermediateQuantum optimisation lab 5 minutesIsing Formulation of Max-CutLink a graph problem to a physical Hamiltonian.