What is Qompile?¶
Qompile is a browser-based quantum circuit composer, part of the Qucan platform. It's a visual workspace for building, editing, and exploring quantum circuits.
At its core, Qompile gives you two equivalent ways to build the same circuit:
- Drag-and-drop — assemble a circuit by dragging gates from a catalog onto a canvas of quantum and classical registers.
- Code — write the circuit directly in OpenQASM, Qiskit, Cirq, or Q#.
These two views are fully synced: change the circuit visually and the code updates instantly, or edit the code and watch the circuit diagram redraw itself. Neither view is the "source of truth" — they're two windows onto the same underlying circuit.
Alongside the editor, Qompile includes a set of live visualization panels — Probabilities, Q-Sphere, and Statevector — that update in real time as you build, so you can see the effect of every gate on the quantum state immediately rather than only after running the circuit.
Qompile also ships with a library of ready-made algorithms (Bell states, Grover's, Shor's, and others) that you can load directly, making it a practical way to study canonical algorithms as well as build your own circuits from scratch.
Get started¶
- Take the grand tour — Tour of Qompile walks through every part of the interface.
- See what it can do — Capabilities overview for a quick summary.
- Browse algorithms — Ready algorithms covers all 12 built-in algorithms.
You might also like¶
- Learn with QCAP — structured quantum computing curriculum with modules and live sessions.
- Explore Qanvas — freeform whiteboard for quantum building blocks.
- Gate reference — all 29 quantum gates with matrices, symbols, and worked examples.
- Read & publish on Sqope — quantum computing news, research, and conversations.