Learn

Observe.
Then understand.

Reference

Glossary

Reference

Docs

KET is an ideal, noiseless state-vector simulator. Every amplitude is computed exactly in your browser; nothing about your circuits leaves the page unless you sync them or ask the Oracle.

Protocols

  • Pick a protocol in the left rail of the lab. Use Next step and Back to walk through it, or click any step in the staircase above the circuit.
  • Some protocols take an input: an angle for teleportation, bits for superdense coding, an oracle for Deutsch, a marked item for Grover.
  • Re-run draws fresh measurement outcomes. Download report saves every step, state and Bloch vector as a Markdown file.

Reading the panels

  • Bloch spheres show each qubit’s reduced state. A vector on the surface is pure; a shorter vector means the qubit is entangled with others.
  • Purity is Tr(ρ²), from 1 (pure) to 0.5 (maximally mixed).
  • The state vector lists every basis state with its amplitude, probability and phase dial.

Composer

  • Select a gate in the palette, then click a wire. For CX, CZ and SWAP click the control then the target in the same column; CCX takes two controls then a target.
  • Right-click or the ✕ tool removes a gate. Step walks column by column; Run all shows the final state.
  • Save stores the circuit in this browser. Copy share link creates a URL that opens the exact circuit for anyone.

Quests

  • Each quest gives a target state, the gates you may use and a par. The fidelity meter shows how close your circuit is; at 1.000 the quest is solved.
  • Solving at par or below counts as perfect. Solutions are checked again on the server before they reach the leaderboard.

BB84

  • Choose how many qubits Alice sends and whether Eve listens. The table shows every basis choice and result; matched bases are kept, half of them are compared, the rest form the key.
  • With Eve on, expect roughly 25% errors in the checked bits.

Gallery

  • Publish sends your circuit to the public Gallery with a name and an optional handle. Anyone can open it in the Composer, change it and publish their own version.
  • Likes are tied to your sync key, one per circuit.

OpenQASM and shots

  • Export OpenQASM copies your circuit in the standard OpenQASM 2.0 format, ready for other quantum toolkits. Import reads h, x, y, z, s, t, rx, ry, rz, cx, cz, swap, ccx and measure.
  • Sample 1024 shots runs the whole circuit 1024 times and records every final measurement as a histogram.

Keyboard

  • In a protocol, the right and left arrow keys step forward and back. Escape closes the Oracle.

Sync

  • Your sync key appears under Your circuits. Sync now merges this device’s circuits with the ones stored for that key.
  • On another device, choose Use another key, paste the same key, and your circuits follow you. Anyone with the key can read and write those circuits, so keep it private.

The Oracle

  • The Oracle receives the protocol, step, state vector and Bloch vectors you are looking at, plus your question.
  • Ask it to explain the current step, define a term, or predict what a gate will do next.

Conventions

  • Qubit 0 is the top wire and the leftmost digit of a basis label: |q0 q1 q2⟩.
  • Rotations follow Rn(θ) = exp(−iθσn/2). Measurement is in the computational basis.