ripslinger17/Quantum-Circuit-Builder ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple web app where I can drag quantum gates onto qubit lines, set how many shots I want, and then run the circuit to see the results on the page.

I want the app to have a clean interface with a gate palette, a circuit area, a shots input, a Send button, and a Reset button. The user should be able to place gates like H, X, Y, Z, and I onto the circuit, then submit the circuit and get the simulated measurement output back in a readable way.

Please make it work with a small backend that receives the circuit data, saves it, runs the quantum simulation using Cirq in Python, and sends the results back to the frontend. If you need to check current docs for Node, Express, or Cirq details, go ahead and look them up. Also make sure the app is easy to run locally and the frontend talks to the backend correctly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab