
Quantum Computing, Explained Through Amazon Braket
A plain-language tour of quantum computing: qubits, entanglement, history from Feynman to Sycamore, and hands-on examples with Amazon Braket.
A few weeks ago I built a small app that decides your daily fortune using a real quantum measurement instead of
Math.random() . It runs on Amazon Braket's local simulator, and honestly, the hardest part wasn't the quantum physics — it was explaining to friends why "the qubit is in superposition" doesn't mean "the computer is guessing really fast." That confusion is common, and it's the reason I wanted to write this piece.This is a long read, and I've tried to keep the physics as plain as possible. If you've never touched quantum computing before, you should be able to follow the whole thing. If you already know what a qubit is, feel free to skip ahead to the history section or the Braket walkthrough.
Why bits aren't enough
A classical computer, the one this article was written on, stores everything as bits: 0 or 1, on or off, nothing in between. Every photo, every spreadsheet, every line of code eventually boils down to long strings of those two values.
A quantum computer uses qubits instead. A qubit can be 0, can be 1, or can be in a mix of both at the same time — a state called superposition. That last part is the one people misread as "the computer tries every answer simultaneously," which isn't quite right either. A better way to think about it: a qubit's state is described by probabilities, not a fixed value, until you measure it. The moment you measure a qubit, it collapses into a plain 0 or 1, just like a coin lands on one face once it stops spinning.
The second ingredient is entanglement. Two entangled qubits are linked so tightly that measuring one instantly tells you something about the other, no matter how far apart they are. Einstein famously distrusted this and called it "spooky action at a distance." It's real, it's been tested repeatedly, and it's one of the two resources (along with superposition) that give quantum algorithms their power.
Here's the part that trips people up: superposition and entanglement don't make a quantum computer faster at everything. For most everyday tasks — sending an email, running a web server, editing a spreadsheet — a classical computer wins easily, and probably always will. Quantum computers are specialized tools that offer a real speed advantage for a narrow set of problems: simulating molecules, certain optimization problems, and breaking specific kinds of cryptography. It's less "faster computer" and more "different kind of computer," the way a GPU isn't a faster CPU, it's a different shape of tool suited to a different job.
A brief history, told through people
Quantum computing didn't start as an engineering project. It started as a physicist's complaint.
In 1981, Richard Feynman gave a talk arguing that classical computers are fundamentally bad at simulating quantum systems — the math explodes exponentially as you add particles. His suggestion: build a computer that uses quantum mechanics itself to do the simulating. That's the founding idea of the whole field.
A few years later, in 1985, David Deutsch formalized what a "universal quantum computer" would even mean, laying the theoretical groundwork. But for the next decade, this stayed mostly academic — interesting math, no obvious use case that justified the engineering effort.
Then in 1994, Peter Shor changed the calculus. He published an algorithm that lets a quantum computer factor large numbers exponentially faster than any known classical method. Since factoring large numbers is the backbone of RSA encryption — the thing protecting your online banking session — this was the moment quantum computing stopped being a curiosity and started being a national security topic. Governments and companies took notice fast.
In 1996, Lov Grover added another key algorithm, this one for searching unsorted databases quadratically faster than classical search. Less dramatic than breaking encryption, but useful across a much wider range of problems.
Hardware took longer to catch up. D-Wave Systems shipped the first commercial quantum annealer in 2011 — a specialized machine good at optimization problems, though its status as a "true" quantum computer was debated for years. IBM put a quantum processor on the cloud in 2016, letting anyone run a circuit on real hardware for the first time, which is arguably when this stopped being a lab-only field.
The most talked-about milestone came in 2019, when Google announced that its Sycamore processor performed a specific calculation in about 200 seconds that would take the best classical supercomputer of the time thousands of years. IBM disputed the comparison (their estimate was closer to a few days with optimized classical methods), and the calculation itself was a synthetic benchmark with no practical use. Still, the headline "quantum supremacy" stuck, and it marked a turning point in public attention even if the practical implications were modest.
Where we are now is often called the NISQ era — Noisy Intermediate-Scale Quantum. Machines have tens to a few hundred qubits, but the qubits are fragile and error-prone, so most current work focuses on finding useful things to do despite the noise, while separately racing toward the error-corrected machines that would remove that limitation.
Not all qubits are built the same
One thing that surprised me when I started experimenting with real hardware providers: "quantum computer" isn't one type of device. It's several competing physical approaches, each with different trade-offs.
Superconducting qubits, used by IBM and Google, are tiny circuits cooled to near absolute zero. They're fast and relatively easy to manufacture using existing chip fabrication techniques, but they need extreme cooling and tend to have short coherence times — meaning the quantum state degrades quickly.
Trapped ion qubits, the approach IonQ uses, hold individual charged atoms in place with electromagnetic fields and manipulate them with lasers. They tend to have longer coherence times and higher-fidelity operations, but they're slower to operate and harder to scale to large qubit counts.
Neutral atom qubits, which QuEra builds on, trap uncharged atoms using focused laser light (optical tweezers). This approach has shown promise for scaling to large numbers of qubits relatively cheaply, and it's a newer entrant compared to the other two.
There's also photonic quantum computing (using particles of light), which companies like Xanadu are pursuing, and it has the appeal of working at room temperature rather than near absolute zero.
None of these has definitively "won." That's actually the interesting part of where the field is right now — the industry hasn't converged on one hardware approach the way classical computing converged on silicon transistors.
Where Amazon Braket fits in
This is where Amazon Braket becomes useful for someone learning the field rather than researching hardware physics. Braket is a managed AWS service that gives you one consistent interface (the Braket SDK, mostly Python) to run circuits against multiple quantum hardware providers — IonQ's trapped ions, Rigetti's superconducting qubits, QuEra's neutral atoms — plus AWS's own high-performance simulators, all through the same API and billed through your AWS account.
That last part matters more than it sounds. Without something like Braket, experimenting with different hardware would mean signing up for separate accounts with IonQ, Rigetti, and everyone else individually, learning each of their SDKs, and managing separate billing relationships. Braket abstracts that away.
For learning and prototyping, you don't need real hardware time at all — Braket's
LocalSimulator runs entirely on classical infrastructure and doesn't cost anything beyond your compute. This is what I used for the fortune-telling app. Here's roughly what that circuit looked like:from braket.circuits import Circuitfrom braket.devices import LocalSimulator
# One qubit in superposition, then measure itcircuit = Circuit().h(0) # Hadamard gate: puts qubit 0 into superpositiondevice = LocalSimulator()result = device.run(circuit, shots=1).result()outcome = result.measurement_counts # {'0': 1} or {'1': 1}, roughly 50/50That
h(0) line applies a Hadamard gate, which takes a qubit sitting at a definite 0 and tips it into an even superposition of 0 and 1. Run it once, measure it, and you get a genuinely random bit — not pseudo-random, not seeded from the system clock, but random in the same sense that radioactive decay timing is random. It's a strange feeling to base an app's core logic on something with that kind of physical grounding.Once you're ready to move past the simulator, switching the
device variable to point at IonQ or Rigetti hardware is close to a one-line change, though you'll want to budget for actual per-shot pricing at that point, and expect noisier results than the simulator gives you.Braket also plugs into Amazon Braket Hybrid Jobs for combining quantum circuits with classical machine learning loops, which is where a lot of current near-term research energy is going — using quantum circuits as one component inside a larger classical pipeline rather than expecting an all-quantum program to outperform everything.
What quantum computers are (and aren't) good for today
It's worth being direct about the current state of things, because the field attracts a lot of overstatement.
Quantum computers are not going to replace your laptop. They're not faster at browsing the web, running a database, or training most machine learning models. For the vast majority of computing tasks, classical hardware remains the right tool, and that's likely to stay true even after error correction matures.
Where quantum computing shows real promise: simulating molecules and materials (chemistry and drug discovery, essentially using Feynman's original 1981 argument), certain classes of optimization problems (logistics, portfolio construction, scheduling), and — longer term, once hardware and error correction improve enough — breaking current public-key cryptography, which is precisely why organizations like NIST have already standardized post-quantum cryptographic algorithms as a precaution, years before quantum computers capable of the attack actually exist.
Today's machines are still small and noisy enough that claims of practical quantum advantage over classical methods remain rare and often contested when they appear. That's not a knock on the field, it's just an honest description of where a young technology sits.
What's likely next
The dominant theme in the field right now is error correction. Individual physical qubits are noisy and short-lived, so the near-term roadmap for essentially every major player — IBM, Google, IonQ, and others — centers on combining many noisy physical qubits into one more stable "logical qubit" using error-correcting codes. Google published results in 2024 showing error rates that, for the first time, decreased as they added more physical qubits per logical qubit, which is the direction you need error correction to go for it to eventually work at scale. That's an encouraging sign, though building a fault-tolerant machine with enough logical qubits to run Shor's algorithm against real-world encryption key sizes is still commonly estimated to be a decade or more away, and estimates like that have been wrong in both directions before.
In the nearer term, expect more hybrid quantum-classical applications, similar to what Braket Hybrid Jobs already supports — using a small quantum circuit for the part of a problem where it genuinely helps, and classical compute for everything else. Expect continued competition between hardware architectures rather than a single winner emerging soon. And expect quantum computing to keep showing up in cloud platforms the same way GPUs did: not as something every developer needs to master, but as a specialized resource available on demand for the specific problems that call for it.
Closing thought
I'll admit that before building the fortune-telling app, quantum computing felt abstract to me in a way that made it easy to dismiss as science-fiction hype. Running an actual circuit — even a trivial one-qubit circuit on a simulator — changed that. It's a young field with real physics behind it, real limitations today, and a genuinely uncertain but promising trajectory. If you want to get a feel for it yourself, Braket's free-tier simulator is a reasonable place to start: you don't need a physics background, and you don't need to spend money to run your first circuit.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article