Emerging technology | Computing with quantum physics
Quantum computing: a different model of computation
Learn what qubits and quantum gates actually do, why measurement matters, how quantum algorithms differ from classical ones, and what today’s noisy hardware can—and cannot—accomplish.
What quantum computing is
A quantum computer processes information using quantum states and operations. It is not simply a faster computer, and it does not try every answer in parallel in a way that lets a user read all answers at once. A useful quantum algorithm shapes probability amplitudes so that measurement is more likely to reveal a desired result.
Classical computers represent information with bits and manipulate them using Boolean operations. Quantum computers use qubits, which obey the mathematics of quantum mechanics. A quantum processor can be controlled through a circuit description, but real hardware must carefully create, manipulate, and measure delicate physical systems.
Quantum computing is a specialized tool. Many tasks—web applications, databases, ordinary numerical work, and most everyday programming—are already well served by classical hardware. A quantum approach is valuable only when an algorithm offers a useful advantage for a particular problem and can run within hardware constraints.
Qubits, states, and measurement
A classical bit is either 0 or 1. A pure qubit state can be described as a superposition α|0⟩ + β|1⟩, where α and β are complex amplitudes whose squared magnitudes sum to one. If measured in the computational basis, the result is 0 with probability |α|² and 1 with probability |β|².
Superposition does not mean that measurement reveals both values. A measurement produces one classical outcome and generally changes the state. Repeating the same preparation and measurement many times, or taking shots, gives a distribution that can be estimated statistically.
With multiple qubits, the joint state can represent correlations that cannot be described as independent states for each qubit. Entanglement is a property of such joint states. It is an important resource in quantum information, but it does not permit faster-than-light messaging or automatic access to every possible outcome.
Example: preparing a balanced qubit
Starting with a qubit in state |0⟩, a Hadamard gate creates an equal superposition of 0 and 1. Measuring once returns only one value. If the experiment is repeated many times, results should be close to half 0 and half 1, subject to statistical variation and hardware error. A balanced distribution by itself does not solve a problem; an algorithm must use later operations to make useful outcomes stand out.
Gates and quantum circuits
Quantum gates are reversible operations on qubit states. A circuit describes a sequence of gates, measurements, and sometimes classically controlled actions. A single-qubit gate changes one qubit; a two-qubit gate can create correlations or entanglement. The circuit’s depth and the connectivity of its gates matter because every physical operation can introduce error.
Unlike many classical logic operations, ideal quantum gates are reversible: their action can be undone by an inverse operation. Measurement is different—it maps a quantum state to a classical result and loses information about the original superposition. This distinction shapes how quantum programs are designed.
prepare |0⟩
apply H
apply a problem-specific circuit
measure
repeat and analyze the outcomes
Quantum software tools let developers build circuits, simulate small systems, and submit jobs to devices. A simulator can verify logic and explore ideal behavior, but it does not reproduce every hardware noise source or the cost of running on a real processor. Always distinguish simulated results from device measurements.
Interference and useful algorithms
Quantum amplitudes can combine constructively or destructively. A circuit can arrange interference to increase the probability of useful outcomes and reduce the probability of others. This is the key intuition behind many quantum algorithms: the sequence of operations matters because it steers amplitudes before measurement.
For example, Grover’s search algorithm can find a marked item in an unstructured space of N possibilities using on the order of √N oracle queries, compared with about N in a classical search. The improvement is quadratic, not exponential, and assumes an oracle that can test a candidate efficiently. Input loading, error, and readout also affect practical performance.
Shor’s algorithm provides a major theoretical speedup for factoring large integers on a sufficiently large, fault-tolerant quantum computer. This motivates post-quantum cryptography, but it does not mean today’s small noisy machines can break deployed public-key encryption. Classical algorithms and hardware continue to advance as well.
Algorithms and realistic speedups
Quantum advantage is not a single property of a device. Researchers may demonstrate a task that is faster or more feasible on one quantum system than on a specified classical baseline. A practical advantage requires solving a useful task, with reliable output, at competitive total cost—including data preparation, error correction, runtime, and classical post-processing.
Candidate areas include simulating quantum chemistry and materials, selected optimization formulations, and cryptographic analysis. The promise varies: some applications have clear theoretical motivation but are years from hardware requirements; others have uncertain or problem-dependent benefits. Claims should be evaluated against strong classical methods and reproducible benchmarks.
- Specify the exact problem and quality of answer required.
- Include data loading and result extraction costs.
- Compare against optimized classical approaches, not a weak baseline.
- Report hardware, error rates, circuit depth, and repetitions.
- Separate a theoretical speedup from demonstrated end-to-end usefulness.
Hybrid quantum-classical methods divide work between a quantum circuit and classical optimization. They are an active research area, not a guarantee of advantage. The classical optimizer may require many circuit evaluations, and noise can make small parameter differences difficult to measure.
Hardware approaches and noise
Several physical approaches are being developed, including superconducting circuits, trapped ions, neutral atoms, photons, and spin-based devices. They differ in how qubits are created, connected, controlled, and measured. No platform is best for every goal; engineering involves balancing gate speed, connectivity, fidelity, operating conditions, and manufacturability.
Qubits interact with their environment, causing decoherence, while imperfect controls and readout create additional errors. A physical qubit is therefore not a perfectly stable digital bit. Errors can accumulate as a circuit grows, limiting the size and depth of computations a noisy device can perform reliably.
Researchers report metrics such as gate fidelity, coherence time, connectivity, and circuit depth, but no single number fully describes application performance. Benchmarking should use tasks relevant to the intended algorithm and include calibration variation and statistical uncertainty.
Error correction and scaling
Quantum error correction encodes one logical qubit across multiple physical qubits. Carefully chosen measurements reveal information about errors without directly measuring and destroying the encoded computation. A decoder uses those error signals to infer corrections.
Redundancy is expensive: a logical qubit can require many physical qubits, and fault-tolerant operations may require additional resources. The exact overhead depends on the error-correcting code, hardware error rates, connectivity, and target computation. Large-scale useful machines therefore require not just more qubits, but high-quality qubits, reliable control, fast decoding, and scalable fabrication.
Error mitigation techniques can reduce some observed biases on current devices, but they do not provide the general guarantees of full fault tolerance. Mitigation can also increase sampling and compute costs. A result should state which error-management methods were used and what limitations remain.
Applications, security, and what to learn next
Quantum technology extends beyond computation: quantum sensing and communication study other ways to use quantum effects. These fields have distinct capabilities and maturity levels. A quantum computer is not a replacement for classical infrastructure; a useful system will likely combine classical processors, accelerators, and quantum devices where appropriate.
For developers, a practical learning path begins with linear algebra, probability, complex numbers, and basic programming. Then study qubit states, gates, circuits, and a few algorithms; use a simulator to understand small examples before interpreting hardware results. You do not need to be a physicist to learn quantum software, but physical constraints are essential to sound engineering.
Quantum risk to cryptography is a transition-planning issue. Organizations should inventory where public-key cryptography is used and follow standards for post-quantum cryptography migration. This is prudent preparation for future capability—not evidence that current consumer quantum devices can decrypt modern protected data.
Compact glossary
- Qubit
- A quantum information unit whose state can be a superposition of basis states.
- Amplitude
- A complex value whose squared magnitude contributes to a measurement probability.
- Measurement
- An operation that produces a classical outcome from a quantum state.
- Entanglement
- A joint-state correlation that cannot be represented as independent states of the parts.
- Decoherence
- Loss of quantum behavior as a system interacts with its environment.
- Logical qubit
- An error-protected qubit encoded across multiple physical qubits.
References and further reading
- IBM Quantum Learning. Quantum computing concepts. Learning resources.
- National Institute of Standards and Technology. Quantum Information Science. Research overview.
- Preskill, John. Quantum Computing in the NISQ era and beyond. Review article.
- Microsoft Quantum. Quantum concepts. Technical introduction.
Try it yourself
- Explain why measuring a qubit in superposition does not return both 0 and 1.
- Draw a circuit that prepares a balanced qubit and describe the distribution after many measurements.
- Compare Grover’s quadratic improvement with an exponential speedup claim. What work is included in each comparison?
- List three sources of noise or error in a quantum computation.
- Explain why adding physical qubits alone does not guarantee a fault-tolerant machine.
Remember: quantum computing is a developing, specialized technology. Focus on the model, algorithm, hardware assumptions, and evidence behind each claimed advantage.
Keep exploring
Try another topic
A fresh topic suggestion is ready for you.
Explore a topic