Quantum Bits is intended to introduce quantum computing terms in a fun and accessible way. It is a personal project of Yuval Boger, whose day job is Chief Commercial Officer at QuEra Computing. You might also know Yuval from his Superposition Guy's Podcast series (listen here)

Subscribe on Substack at https://qubitguy.substack.com/ to get both comics and podcasts.


 

Latest Posts

Qiskit

A quantum comic strip about qiskit

Qiskit is an open-source quantum software development kit created by IBM. It is the most widely used framework for writing, compiling, and executing quantum programs, and it has become the default entry point for much of the quantum computing community.

Developers write quantum programs in Python using Qiskit’s circuit-building tools. A typical workflow involves constructing a quantum circuit by specifying gates and measurements, transpiling that circuit for a specific backend (which handles gate decomposition, qubit routing, and optimization), and then executing it on either a classical simulator or real quantum hardware accessible through IBM’s cloud platform.

Qiskit is organized into modular components. The core library handles circuit construction and transpilation. Qiskit Runtime provides an optimized execution environment for hybrid algorithms, managing the quantum-classical loop with reduced latency. Separate modules support specific application domains including quantum chemistry, optimization, and machine learning.

The framework also serves as an educational on-ramp. Because Qiskit runs on any laptop with Python installed and provides access to real quantum processors through the cloud, it allows researchers, students, and developers to gain practical experience with quantum programming on current hardware. This matters strategically: when more capable hardware arrives, the community of practitioners, algorithms, and tooling built around frameworks like Qiskit will determine how quickly quantum computing delivers practical value.

Subscribe on Substack at https://qubitguy.substack.com/

Surface Codes

A quantum comic strip about surface codes

The surface code is the most widely studied quantum error correction scheme, and for good reason: it has a high error threshold (approximately 1% for standard noise models), meaning it can tolerate relatively noisy physical qubits compared to other codes. Its structure maps naturally onto the two-dimensional grid layouts that many quantum hardware platforms already use.

The basic idea: arrange physical qubits in a two-dimensional grid. Some qubits store the actual computation (data qubits). Others exist solely to detect errors (ancilla qubits, sometimes called “syndrome” qubits). Each ancilla qubit interacts only with its immediate neighbors, measuring a collective property that reveals whether a nearby error has occurred, without revealing the actual quantum information being protected.

This indirect detection is essential. Quantum mechanics forbids copying an unknown quantum state (the no-cloning theorem), and directly measuring a data qubit would destroy its quantum information. The ancilla qubits sidestep this by checking for consistency between neighbors rather than reading the data itself.

When an error does occur, it shows up as a pattern of unexpected measurements across multiple ancilla qubits. A classical decoding algorithm analyzes this pattern and determines the most likely error, allowing the system to correct it. The process runs continuously during computation.

A key parameter is the code distance, which determines how many errors the code can correct. A distance-d surface code can correct up to (d-1)/2 errors. Increasing the code distance requires a larger grid of physical qubits, which is the fundamental source of the surface code’s overhead.

That overhead is substantial. Current estimates suggest that producing one high-quality logical qubit requires roughly 1,000 or more physical qubits at today’s typical error rates, though this number drops as hardware improves. This is why scaling up quantum hardware matters so much.

Subscribe on Substack at https://qubitguy.substack.com/

Fault Tolerant Computing

A quantum comic strip about fault tolerant computing

A fault-tolerant quantum computer is a machine that can perform arbitrarily long calculations even though its underlying components are unreliable. In a classical computer, transistors rarely fail, but quantum bits are entirely different. Regardless of the underlying hardware platform, physical qubits lose their quantum states quickly due to environmental noise and imperfect control pulses. Without a way to manage these errors, quantum calculations degrade into useless noise after just a few steps.

To achieve fault tolerance, physicists build protected units of information called logical qubits. A logical qubit is not a single physical object. It is a shared, entangled state distributed across tens, hundreds, or thousands of physical qubits. This distributed approach is necessary because the no-cloning theorem, a fundamental rule of quantum mechanics, forbids making a backup copy of an unknown quantum state. Instead, information is woven into the collective properties of a group. Through careful parity measurements that check relationships between qubits without reading their individual states, the system can detect and correct the errors.

Detecting an error is only part of the process. The operations used to check for errors can themselves introduce new errors. A system is fault-tolerant only if the error-correcting steps remove errors faster than they create them. This requirement defines the error threshold. If the physical hardware has an error rate below this specific mathematical limit, adding more physical qubits to each logical qubit will lower the overall logical error rate. If the hardware errors are above the threshold, adding more qubits simply creates a larger, messier problem.

The hardware industry is currently navigating the transition from noisy systems to early fault-tolerant machines. Researchers have successfully demonstrated the basic principles of logical qubits across multiple hardware platforms. Scaling these demonstrations to the millions of physical qubits needed for practical fault-tolerant computing remains the field’s central engineering challenge.

Subscribe on Substack at https://qubitguy.substack.com/

Laser Cooling

A quantum comic strip about laser cooling

Atoms at room temperature move at hundreds of meters per second, far too fast to serve as qubits. To use individual atoms for quantum computing, scientists must slow them almost to a standstill. Laser cooling is the primary technique for doing this.

The mechanism relies on the Doppler effect. A laser is tuned to a frequency slightly below an atom’s absorption resonance. An atom moving toward the laser beam sees the light blue-shifted into resonance, absorbs a photon, and receives a momentum kick in the opposite direction, slowing it down. An atom moving away from the beam sees the light red-shifted further from resonance and ignores it. The net effect: atoms moving in any direction get slowed, while while nearly stationary atoms experience minimal net force.

By arranging six laser beams in three perpendicular pairs (pointing inward from all directions), scientists create what is called optical molasses. Atoms caught in this intersection are slowed from every direction simultaneously. Temperatures below one millikelvin are routinely achieved, and more advanced techniques like Sisyphus cooling and evaporative cooling can push temperatures into the microkelvin and nanokelvin range.

Laser cooling is not unique to quantum computing. It earned Steven Chu, Claude Cohen-Tannoudji, and William Phillips the 1997 Nobel Prize in Physics, and it underpins atomic clocks, cold-atom physics experiments, and Bose-Einstein condensate research. In quantum computing, laser cooling is a prerequisite step for neutral-atom and trapped-ion platforms: atoms must be cold enough that their thermal motion does not disrupt gate operations or cause them to escape their traps.

The technique is mature and reliable. The remaining engineering challenges are about integration: combining laser cooling with optical trapping, Rydberg excitation, and readout in a single apparatus that can scale to thousands of atoms.

Subscribe on Substack at https://qubitguy.substack.com/

Quantum Key Distribution

A quantum comic strip about quantum key distribution

Quantum Key Distribution (QKD) is the most mature application of quantum cryptography. It solves a specific problem: allowing two parties to generate a shared secret key with a guarantee, based on physics, that no eavesdropper has a copy.

The best-known protocol, BB84, works like this. The sender transmits individual photons, each prepared with a specific polarization. Think of polarization like the orientation of a wave. In BB84, each photon is prepared in one of four orientations grouped into two pairs. Within each pair, the orientations are perpendicular: vertical versus horizontal, or diagonal-right versus diagonal-left.

The receiver measures each incoming photon to determine its polarization. The quantum mechanical constraint is this: to measure a photon’s polarization, you must choose which pair of orientations to check for. If a photon was prepared as vertical and you measure using the vertical/horizontal pair, you’ll correctly identify it as vertical. But if you measure that same vertical photon using the diagonal pair instead, you’ll get a random result.

Both sender and receiver randomly choose which pair to use for each photon. After transmission, they publicly announce their choices for each position (but not what they measured). They keep only the results where they happened to choose the same pair, forming their raw key.

The physics then provides the security. If an eavesdropper intercepted a photon to learn its polarization, they would face the same challenge: choosing which pair to measure with. When they guess wrong (which happens half the time), their measurement disturbs the photon. If they forward a replacement photon to avoid detection, it won’t always match the original. This introduces errors that the sender and receiver can detect by comparing a sample of their key bits. Too many errors means someone was listening, and they discard the key.

Subscribe on Substack at https://qubitguy.substack.com/

Y2Q

A quantum comic strip about y2q

Y2Q, “Years to Quantum,” refers to the estimated time remaining before a quantum computer capable of breaking widely deployed public-key cryptography becomes operational. It is a planning horizon, not a fixed date, and it drives urgency across government, finance, and technology sectors.

The threat is specific. RSA and elliptic-curve cryptography, which secure most internet traffic, rely on the computational difficulty of factoring large integers and computing discrete logarithms. Shor’s algorithm can solve both problems efficiently on a fault-tolerant quantum computer. No such machine exists today. Current processors are orders of magnitude too small and too error-prone to threaten real-world encryption keys. Estimates for when a cryptographically relevant quantum computer might be built range from ten to thirty years, with significant uncertainty.

The timeline matters now because of the “harvest now, decrypt later” threat. Adversaries can intercept and store encrypted communications today, then decrypt them once sufficiently powerful quantum hardware becomes available. Data with long-term sensitivity, such as government communications, medical records, and financial transactions, is already at risk even though the decryption capability does not yet exist.

This is why the migration to post-quantum cryptography has begun well ahead of Y2Q. NIST finalized its first post-quantum cryptographic standards in 2024, and major technology companies are integrating these algorithms into their infrastructure. The transition is complex, touching every layer of digital communication, and will take years to complete. Organizations that delay risk finding themselves exposed when the timeline, however uncertain, eventually arrives.

Subscribe on Substack at https://qubitguy.substack.com/

Quantum Phase Estimation

A quantum comic strip about quantum phase estimation

Quantum Phase Estimation (QPE) is an algorithm that extracts a hidden angle, called a phase, from a quantum operation. When certain quantum operations act on specific quantum states, they rotate those states by a characteristic angle. QPE determines what that angle is.

This matters because many important physical quantities correspond directly to these phases. The energy levels of a molecule, for example, are encoded as phases of the quantum operation that describes that molecule’s behavior. Finding these phases is equivalent to finding the energy levels, a task where classical computers struggle because the computational cost grows exponentially with the size of the molecule.

The algorithm works by applying the quantum operation in a controlled way across a set of auxiliary qubits, then using the Quantum Fourier Transform to convert the phase information into a measurement result. The more auxiliary qubits used, the more precisely the phase can be determined.

QPE is not just a standalone algorithm. It appears as a subroutine inside several major quantum algorithms. Shor’s algorithm uses it to extract periods in its factoring routine. Quantum chemistry algorithms use it to determine molecular energy levels. Quantum simulation algorithms use it to measure properties of physical systems.

The practical challenge is significant. QPE requires deep circuits running across many qubits, making it highly sensitive to hardware errors. Running it on problems beyond classical reach will require large-scale fault-tolerant quantum computers. Until that hardware matures, researchers are developing variational alternatives that approximate QPE’s results using shallower circuits better suited to near-term processors.

Subscribe on Substack at https://qubitguy.substack.com/

Hadamard Gate

A quantum comic strip about hadamard gate

Quantum computers manipulate qubits through operations called gates, and the Hadamard is one of the most important. It is often the first operation in a quantum algorithm, and understanding it unlocks much of what follows in this book.

Here is what it does: it takes a qubit in a definite state, say 0, and transforms it into an equal superposition of 0 and 1. Mathematically, the qubit’s amplitude is split evenly between both possibilities. If you immediately measure the qubit after applying a Hadamard gate, you get 0 or 1 with exactly 50-50 odds.

Why is this useful? Because superposition is the raw material that quantum algorithms need. Before a quantum computer can exploit interference to amplify correct answers and suppress wrong ones, it must first create superpositions to work with. The Hadamard gate is the standard tool for that job.

One elegant property: applying a Hadamard gate twice returns the qubit to its original state. The first application creates superposition; the second undoes it. This reversibility is characteristic of quantum gates in general and reflects a deep principle: quantum operations (other than measurement) are always reversible.

How the gate is physically implemented depends on the hardware. In superconducting systems, it is a precisely calibrated microwave pulse applied to a tiny circuit. In trapped-ion computers, it is a laser pulse tuned to a specific atomic transition. In neutral-atom systems like those built by QuEra, it is similarly a laser pulse, but applied to atoms held in optical tweezers. The physics differs, but the mathematical effect is identical across all platforms.

When you apply Hadamard gates to many qubits at once, you create a superposition over all possible combinations of 0s and 1s. This is the starting configuration for algorithms like Grover’s search and the Deutsch-Jozsa algorithm, where the computation begins by exploring all possibilities equally before interference narrows the outcomes.

Subscribe on Substack at https://qubitguy.substack.com/

Quantum Teleportation

A quantum comic strip about quantum teleportation

Quantum teleportation transfers the exact quantum state of one particle to another particle at a distant location, without physically moving anything between them. Despite the name, it has nothing to do with science fiction transportation. It is a precisely defined quantum information protocol, first proposed by Charles Bennett and colleagues in 1993 and experimentally demonstrated in 1997.

The protocol requires three ingredients: the source qubit whose state you want to transfer, a pair of entangled qubits (one held by the sender, one by the receiver), and a classical communication channel.

The sender performs a joint measurement on the source qubit and their half of the entangled pair. This measurement yields two classical bits of information and destroys the source qubit’s quantum state. The measurement also instantaneously changes the state of the receiver’s entangled qubit, but in a way that depends on the measurement outcome. The sender transmits the two classical bits to the receiver through an ordinary channel. The receiver applies a specific quantum gate chosen based on those two bits. After this correction, the receiver’s qubit is in exactly the state the source qubit originally held.

The original state is destroyed in the process, consistent with the no-cloning theorem: information is moved, not copied. The protocol cannot transmit information faster than light, because the receiver must wait for the classical message. And the entangled pair is consumed: each teleportation requires a fresh one.

Quantum teleportation is a foundational building block for quantum networking, enabling quantum information to be transmitted between distant nodes without exposing it to decoherence in a physical channel. It also appears in certain quantum computing architectures and in error correction protocols. It is not a curiosity. It is infrastructure.

Subscribe on Substack at https://qubitguy.substack.com/

Quantum Measurement

A quantum comic strip about measurement

Carpenters say “measure twice, cut once.” Quantum physicists would say “measure once, and whatever you had is gone.” Measurement in quantum mechanics isn’t a gentle peek at what’s inside. It’s the end of the road for the superposition you worked so hard to create. Quantessa explains:

Measurement is where quantum mechanics meets classical reality. It is the act of extracting information from a qubit, and it is irreversible.

A qubit in superposition carries amplitudes for both 0 and 1. These amplitudes determine the probability of each outcome when measured: if the amplitude for 1 is larger, measuring 1 is more likely. But measurement does not simply reveal a pre-existing value. It forces the qubit to commit. The superposition collapses, the qubit becomes a definite 0 or 1, and the quantum state that existed before measurement is gone permanently. If you measure the same qubit again, you will get the same result every time. The superposition is not hiding somewhere waiting to return. It has been destroyed.

This is not a limitation of our instruments. It is a fundamental feature of quantum mechanics. The information encoded in the amplitudes and phase of a superposition cannot be fully extracted by measurement. You get one classical bit out. The rest is lost.

This creates the central design constraint of quantum computing. During computation, qubits must remain unmeasured to preserve their superpositions and entanglement. At the end, measurement must occur to extract the answer. The entire art of quantum algorithm design is arranging the computation so that when measurement finally happens, the correct answer appears with high probability — not certainty, but close enough that running the algorithm a few times all but guarantees it.

Measurement also plays a constructive role. In quantum error correction, ancilla (helper) qubits are measured mid-computation to detect errors on data qubits. These measurements are carefully designed to reveal information about errors without revealing (and thus destroying) the protected quantum information. Mid-circuit measurement combined with feed-forward, where subsequent operations depend on measurement outcomes, enables real-time error correction and is a prerequisite for fault-tolerant quantum computing.

Subscribe on Substack at https://qubitguy.substack.com/