Omega the Quantum Circuit Studio

:rocket: Excited to introduce Omega the Quantum Circuit Studio, it’s an open-source, full-stack visual quantum composer & simulator built entirely with Plotly Dash, Qiskit 2.x and Qiskit Aer! :atom_symbol:

Ever wanted an interactive interface for quantum circuit design with zero vendor lock-in that runs locally or seamlessly on the web?

Quantum Circuit Studio brings an IBM Composer-inspired workflow directly into the Python scientific stack featuring drag-and-drop circuit assembly, sub-millisecond eager updates, synchronized bidirectional code generation and real-time statevector simulation.

Key Highlights & Capabilities:

:puzzle_piece: Interactive Drag-and-Drop Canvas - Assemble quantum algorithms with 1-qubit, 2-qubit, multi-qubit, and parameterized gates (H, X, Y, Z, S, T, RX, RY, RZ, U, CX, CZ, SWAP, CCX). Features pointer-based drop target snapping, dynamic wire expansion, and full keyboard shortcuts (`Ctrl+Z`, `Ctrl+Y`, `Delete`, `Ctrl+S`).

:atom_symbol: Live Aer & Statevector Simulation - Instant statevector evolution as you compose. Switch effortlessly between:

• State Probabilities: Real-time Dirac notation $|\psi\rangle$ distributions.
• 3D Q-Sphere: Multi-qubit phase angles and quantum entanglement spheres.
• Bloch Multiview: Individual single-qubit state projections.
• Noisy/Ideal Shot Simulator: Run full Qiskit Aer simulations from 100 to 8,192 shots with measurement histograms and execution metadata.

:counterclockwise_arrows_button: Three-Way Bidirectional Code Sync - Bi-directional synchronization between the visual canvas, OpenQASM 3.0, OpenQASM 2.0 and Qiskit 2.x Python. Edit code directly in the integrated editor or manipulate gates on the canvas both update in real time.

:magnifying_glass_tilted_left: Step-by-Step Circuit Inspector - Step through circuit execution slice-by-slice with active column highlighting to inspect intermediate statevectors, amplitudes and phase angles at each gate transition.

:floppy_disk: Production-Ready & Enterprise-Deployable - Engineered with modular domain models, comprehensive pytest coverage (58/58 passing) and packaged for one-click deployment to Plotly Cloud or Dash Enterprise.

:link: Live Interactive App: https://omega.plotly.app/

:star: GitHub Repository: GitHub - Arkay92/Plotly-Quantum-Circuit-Designer: A graphic interface for creating and running quantum circuits powered by plotly, dash and qiskit · GitHub

Whether you’re teaching quantum computing, experimenting with novel quantum algorithms or building Dash data applications, I’d love to hear your thoughts and feedback!

Thanks for sharing this! It looks super cool. I’m curious how you achieved the drag-and-drop in this app? Is there a custom dash component behind the scenes?

Great question!

No custom React component needed here it’s actually implemented with vanilla Pointer Events and Dash’s clientside API:

  1. Native Pointer Events (assets/): A lightweight client-side script in assets/ listens to pointerdown, pointermove, and pointerup on the gate palette and circuit canvas.
  2. Plotly Coordinate Mapping: During drag/drop, it reads the graph’s internal scale (_fullLayout.xaxis.p2d() / yaxis.p2d()) to snap coordinates directly into circuit time slots and qubit wire lanes.
  3. Eager Ghosting for 0ms Latency: The moment you release a gate, an eager ghost element is placed immediately in the DOM for instant visual feedback.
  4. Bridge to Python via set_props: It dispatches the drop event to Python using dash_clientside.set_props('circuit-action', ...) to trigger Qiskit circuit updates and Aer simulation in the background.

Feel free to inspect assets/circuit_interactions.js in the repo to see the exact implementation!

Nice breakdown. Since _fullLayout.xaxis.p2d() is an internal Plotly API, I’d suggest pinning the Plotly version and adding a small regression test around the drag-to-coordinate mapping, so a future Plotly update doesn’t silently break gate placement.