Using quantum in a real application
Put a quantum circuit inside an ordinary program: where the circuit sits, what crosses the boundary, and whether quantum is worth it.
Builders are putting quantum circuits into applications in finance, music, art and chemistry, and building one is easier than it was a few years ago. You run circuits from your browser, on a free simulator or on IonQ hardware for credits, and you can fork any public project on Qollab. After Programming your first quantum circuits, where you write a circuit and read its tally, the next step is the program that sends the circuit and uses the tally.
What you'll learn
You look inside five projects, then build a weighted random picker around a one-qubit circuit and run it on the IonQ simulator.
- Where a circuit sits in an application, and what the program around it has to do
- What crosses the boundary in each direction, and why a circuit returns a distribution of outcomes
- How to turn application data into a circuit and decode the tally into a typed result
- How to drive an interface from circuit output, both while the run is in flight and when the run fails
- How to race a quantum approach against conventional code and judge the result against thresholds you set first
- How to go from an application idea to the circuit inside it, or rule the idea out quickly
Course contents
- 01Where the circuit sitsA risk pipeline, a music studio, a market tool, an artwork and a garden each call a quantum circuit from ordinary code.
- 02What crosses the boundaryA quantum computer sends its results back as a tally, and a program that needs the exact state simulates the circuit instead.
- 03Inputs in, a result outBuild the circuit from application data, run it, and decode the tally into a typed result.
- 04The app around the circuitA circuit run takes seconds and can fail, and your interface has to handle both.
- 05Is quantum worth it in your appRun the same job both ways and compare the counts and the timings.
- 06What to buildStart from the shape of the output your application needs.
Stay in the loop.
Get the latest tutorials, demos, and project showcases straight to your inbox. No noise, just the good stuff.
