Primer

Volume II · 00 · The stack · 層次

Volume II · Quantum量子

A state is a direction. Measurement is a question you only get to ask once.

Eight labs: a qubit on a sphere, a measurement that cannot be undone, then Deutsch — the smallest quantum advantage that is actually an advantage.

In English

A qubit is not a magical bit that is 0 and 1 at once. It is a direction you can rotate, and a question you can ask only once. This volume builds that picture until Deutsch — the smallest demo that quantum looking is actually cheaper.

Try this
Start with Superposition and drag the sphere. Come back here if a later lab feels abstract.
Keep this
States are directions. Measurement is a one-shot question.

The stack · click a layer

  1. 08Decoherence退相干
  2. 07Deutsch多伊奇
  3. 06Circuits電路
  4. 05Gates閘
  5. 04Entanglement糾纏
  6. 03Interference干涉
  7. 02Measurement測量
  8. 01Superposition疊加

What this is

A working 1- and 2-qubit state vector you can rotate, measure, entangle, and decohere. Deutsch’s algorithm is the smallest quantum advantage that is actually an advantage.

What this is not

Not a hardware emulator and not a substitute for Nielsen & Chuang. Phases, Born-rule shots, and density-matrix damping are computed for real. The Bloch drawing is a projection.

  1. 01 · The stateSuperposition疊加Drag a state. Read the amplitudes.A qubit is a direction. The chances are the square of the amplitudes.
  2. 02 · The questionMeasurement測量Fire shots. Watch the state collapse.One measurement, one bit, a new state. The Born rule is the chance, not a hidden label.
  3. 03 · AmplitudesInterference干涉Turn a phase. Kill a path.Amplitudes add, and a minus can cancel a path. Probabilities cannot do that.
  4. 04 · Two qubitsEntanglement糾纏Make a Bell pair. Measure one side.Entanglement is one state for two qubits, not a wire between them.
  5. 05 · The verbsGates閘Tap X, H, Z. Watch the sphere.Gates rotate. They do not erase. X / H / Z are the starter verbs.
  6. 06 · CompositionCircuits電路Build a one-qubit circuit and run it.A circuit is multiply-the-rotations, then look.
  7. 07 · An algorithmDeutsch多伊奇Run Deutsch on four oracles.Deutsch is the smallest quantum speedup that is actually a speedup.
  8. 08 · The systemDecoherence退相干Decay the Bloch vector. Try to interfere.Decoherence is an unscheduled measurement. Error correction is the harness.