Skip to content

Quantiom 1.0.0

Latest

Choose a tag to compare

@thepacket thepacket released this 10 Jun 13:22
· 25 commits to main since this release

A browser-native, research-grade quantum circuit editor, simulator, and visualizer — no install, no account. Quantiom is serious enough for research and advanced coursework while staying approachable. The advanced features stay available rather than hidden behind modes.

Highlights

  • Multi-tab editor over a 64-gate palette: arbitrary-angle rotations, arbitrary unitary matrices, custom gates & subroutines, classical registers, mid-circuit measurement, conditional and anti-controlled gates, barriers, snippet blocks, drag-rectangle selection, zoom/fold, and a right-click gate context menu.
  • Three simulators: a pure-TypeScript dense statevector engine (≤ 20 qubits), an Aaronson–Gottesman stabilizer-tableau engine for Clifford circuits (≤ 1024 qubits), and a quantum-trajectory noisy simulator.
  • ~70 collapsible peer panels (≈ 40 visualizers) updated on every edit — statevector / probabilities / Bloch / phase disks, plus entanglement, correlations, phase-space (Wigner, Husimi-Q, Q-sphere), magic, dynamics (OTOC, Loschmidt/DQPT, space–time, Krylov), operator & spectrum (PTM, unitary heatmap, Hamiltonian spectrum, ZX), and circuit-structure graphs.
  • Interoperability: OpenQASM 3 round-trip (parses OpenQASM 2) and exports to Qiskit, Cirq, Braket, Q#, PyQuil, pytket, OpenQASM 2, Stim, and quantikz LaTeX.

Compile, transpile & synthesis

  • One-click compile pipeline (Transpile → Optimise → Route → Optimise) for Clifford+T, IBM heavy-hex, and Rigetti gate sets, with a peephole optimiser, greedy SWAP router, and Cartan (KAK) decomposition of arbitrary 2-qubit gates.
  • Synthesis: target-statevector preparation (Möttönen), arbitrary-unitary synthesis (Givens), and Hamiltonian → Trotter circuit building (1st/2nd/4th order + qDrift).

Noise, error mitigation & characterization

  • Quantum-trajectory noise (depolarising, T1/T2 damping, crosstalk, custom Kraus) with an IBM-backend importer; zero-noise extrapolation, probabilistic error cancellation, readout mitigation, and classical shadows.
  • Full benchmarking suite: randomized benchmarking (standard / interleaved / unitarity), quantum volume, mirror/volumetric, XEB, simultaneous-RB crosstalk, T1/T2 experiments, and a Pauli error budget.

AI assistant

Optional, bring-your-own-key (OpenRouter) chat panel with three modes:

  • Chat — grounded in the live circuit (auto-attached OpenQASM), renders Markdown + LaTeX, auto-opens suggested circuits as tabs.
  • Dialogue — two model instances debate your circuit, each turn checkable against the simulator; exportable as Markdown.
  • Agent — the model acts on Quantiom through 37 tools: it reads the state/resources/expectations, analyses (entanglement, magic, purity) and benchmarks (RB/QV/XEB) with numbers it can't fabricate, then builds, edits, optimises, transpiles, routes, prepares states, opens panels, and plots — every change undo-able.
  • A searchable prompt library (~170 prompts across 14 categories), including build-and-explain prompts for the canonical QC lecture sequence (Bell → Grover → QFT → Shor) and animatable visual demos.

Custom plots

On-demand visualizations from a validated spec (no code execution) or a sandboxed (data) => scene program (Web Worker, neutered globals, hard timeout) — both AI-emittable.

Quality

  • 1012-test Vitest suite (~96% statement coverage) in CI on every commit, validating the simulator, every gate's unitarity and identities, the stabilizer tableau (cross-checked vs the dense engine), the OpenQASM round-trip, all emitters, transpiler/router, optimiser, KAK, and the visualizer substrates against analytic ground truth.
  • An in-app Self-test button re-runs ~460 of these checks live in the browser, so correctness can be verified rather than taken on trust.

Developed by Claude Code in collaboration with Andre Paquette. MIT licensed.