QUANTHROPIC
Menu +
EXPLORE   /   A primer

From bits to qubits.

A plain-language guide to the ideas behind QUANTHROPIC: classical computing, artificial intelligence, quantum computing, and the questions where they meet.

Left: a bit has exactly two states, 0 and 1. Right: a qubit's pure states cover the whole surface of a sphere, with 0 and 1 at the poles.01|0⟩|1⟩
Bit · two states    Qubit · any point on the sphere
Chapter 1

Classical computing

A classical computer stores information in bits. Each bit is 0 or 1, and logic gates such as NOT, AND and OR combine bits into new bits. Every program, from a spreadsheet to a language model, runs as a long, ordered sequence of these operations.

Classical machines are fast and reliable, and they can simulate any physical process in principle, including quantum ones. The difficulty is scale. To describe n qubits exactly, a classical computer must store 2ⁿ complex numbers, so each added qubit doubles the memory.

Amplitudes, 2ⁿ
1,073,741,824
Memory at 16 bytes each
16 GiB
Full state vector · Double-precision complex numbers · Logarithmic axis: each added qubit doubles the memory

Simulation methods that exploit structure in a particular circuit can use far less memory than a full state vector. The figure shows the general, worst-case cost.

Chapter 2

Artificial intelligence

Most modern AI systems learn from examples. A model is a function with adjustable parameters. Training compares the model’s outputs with known answers and nudges each parameter to reduce the error, repeated over very large datasets.

The result estimates rather than proves. A trained model can generalize to inputs it has never seen, and it can also be confidently wrong. Today’s largest models have billions of parameters, and all of them are stored and updated on classical hardware.

A small neural network with three inputs, four hidden units and one output. Each of the 16 connecting lines carries one weight.
Toy network · 16 weights and 5 biases make 21 parameters
Chapter 3

Quantum computing

A qubit’s state is described by two amplitudes, one for |0⟩ and one for |1⟩. Gates rotate those amplitudes, and a measurement returns a single 0 or 1 with probabilities set by the squared sizes of the amplitudes. A state that combines |0⟩ and |1⟩ is called a superposition.

Amplitudes also carry phase. When a computation recombines them, phases decide whether contributions add or cancel. Several qubits can share an entangled state, which has no description qubit by qubit. Quantum algorithms use interference and entanglement to make the useful answer more likely when the final measurement is made.

The hard part is keeping states intact. Qubits are disturbed by their surroundings, gates are imperfect, and readout makes mistakes. Error correction can protect information, but it spends many physical qubits on each reliable logical qubit. Current devices are still small and noisy by that standard.

Chapter 4

The convergence

Quantum computing and AI meet in two directions. In the first, researchers ask whether quantum circuits can serve as parts of learning models, for example as trainable layers or as ways to compare data. In the second, learning methods are used to operate quantum hardware: tuning control pulses, characterizing noise and decoding error-correction measurements.

Claims of quantum advantage for learning need care. In 2018, Ewin Tang posted a classical algorithm (published at STOC 2019) that came within a polynomial factor of a quantum recommendation-system algorithm claimed to be exponentially faster than any classical method. Results like this one show why every proposed advantage has to be compared with the best classical method, including the cost of loading data and reading out answers.

QUANTHROPIC adds a third, conceptual direction. It asks whether quantum ideas such as superposition and interference change how we should think about reasoning under uncertainty. That is a question about ideas, not a description of any working system.

Chapter 5

What is known

Each statement below carries a status. Established means accepted mathematics or physics. Open and active research mean the answer is not settled. Speculative means there is no supporting evidence.

StatementStatusContext
A classical computer can simulate any quantum computation, given enough time and memory.EstablishedQuantum computers do not compute anything a classical machine cannot; the question is how efficiently.
A full description of n qubits takes 2ⁿ complex amplitudes.EstablishedThis is the arithmetic behind the memory figure above.
Shor’s algorithm factors integers in polynomial time on a quantum computer.Established in theoryRunning it at a useful size needs error-corrected hardware beyond today’s devices.
Grover’s algorithm searches an unstructured list with quadratically fewer queries.Established in theoryA square-root speedup, not an exponential one.
Quantum computers will make machine learning faster in general.OpenSome proposed speedups have been matched by new classical algorithms. Data loading and readout costs are part of the question.
Machine learning can help calibrate quantum devices and decode their errors.Active researchStudied in many groups; results depend on the device and the task.
A quantum computer could give an AI system human-like understanding.SpeculativeNo evidence supports this. QUANTHROPIC treats it as a question to think about, not a claim.
Reference

Glossary

Amplitude
A complex number attached to each basis state. Its squared size is the probability of that outcome.
Basis
The set of outcomes a measurement can return, such as |0⟩ and |1⟩ in the computational basis.
Bit
The classical unit of information. It is either 0 or 1.
Bloch sphere
A picture of one qubit’s pure state as a point on a sphere. The poles are |0⟩ and |1⟩.
Decoherence
The loss of phase relationships through contact with the environment. It turns superpositions into mixtures.
Density matrix
A description of a quantum state that also covers statistical mixtures. Its diagonal holds the probabilities.
Entanglement
A joint state of several qubits that cannot be written as separate states, one for each qubit.
Gate
An operation that changes a qubit’s state. A Hadamard gate, H, maps |0⟩ to |+⟩ and |+⟩ back to |0⟩.
Interference
Amplitudes adding or cancelling when contributions recombine.
Measurement
Reading a qubit in a basis. It returns one outcome and leaves the qubit in that outcome’s state.
Parameter
A number inside a learning model that training adjusts.
Qubit
A two-level quantum system. Its state is described by two amplitudes.
Superposition
A state that combines basis states with amplitudes, such as (|0⟩ + |1⟩)/√2.
Reference

Further reading

  • Michael A. Nielsen and Isaac L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 10th anniversary edition, 2010.
  • Richard P. Feynman, “Simulating Physics with Computers”, International Journal of Theoretical Physics 21, 1982.
  • Peter W. Shor, “Algorithms for Quantum Computation: Discrete Logarithms and Factoring”, Proceedings of the 35th Annual Symposium on Foundations of Computer Science, 1994.
  • Lov K. Grover, “A Fast Quantum Mechanical Algorithm for Database Search”, Proceedings of the 28th Annual ACM Symposium on Theory of Computing, 1996.
  • John Preskill, “Quantum Computing in the NISQ era and beyond”, Quantum 2, 79, 2018.
  • Ewin Tang, “A quantum-inspired classical algorithm for recommendation systems”, Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, 2019 (arXiv:1807.04271).
  • IBM Quantum Learning, superposition with Qiskit
  • OpenStax, University Physics Volume 1, Interference of Waves

Explore the possibilities of quantum intelligence.

An independent conceptual quantum AI research initiative.