Primer

Volume IV · 00 · The language · 語言

Volume IV · Algebra代數

The shared language. Vectors, maps, the arrows that only stretch.

A qubit is a vector. Attention is a matrix. Grover is a rotation. If those sentences are fog, this volume is the dictionary.

In English

Later volumes talk about vectors, matrices, and rotations as if you already loved them. This volume is the picture: arrows, machines that move arrows, special arrows that only stretch, and dropping a perpendicular.

Try this
Start with Vector and drag. Come back whenever an LLM or qubit lab says “projection” and your eyes glaze.
Keep this
Arrows, maps, eigen, projection. That is the shared language.

The stack · click a layer

  1. 06Projection投影
  2. 05Eigen本徵
  3. 04Composition複合
  4. 03Matrix矩陣
  5. 02Basis基底
  6. 01Vector向量

What this is

A 2D plane you can drag. Vectors, bases, 2×2 maps, composition, eigenvectors, projection — the objects hiding inside attention, gates, and Grover.

What this is not

Not a linear-algebra course and not n dimensions. The pictures are 2D so you can see them. The claims (order matters, some maps only stretch, projection is attention’s skeleton) are the real ones.

  1. 01 · ObjectsVector向量Drag an arrow. Read [x, y].Vector = arrow. Coordinates = a label in a basis.
  2. 02 · ObjectsBasis基底Rotate the axes. Watch the coordinates.Change the basis, change the numbers, not the object.
  3. 03 · MapsMatrix矩陣Pick a map. See the unit square go.A matrix is a linear map. It moves the whole space.
  4. 04 · MapsComposition複合Swap the order. The arrow lands elsewhere.Order matters. BA means A first.
  5. 05 · InvariantsEigen本徵Find the arrows that do not turn.Eigen = “this arrow only stretches.” Not every map has one you can see.
  6. 06 · InvariantsProjection投影Project onto an axis. Read the leftover.Projection is the shadow. Attention is a learned, weighted shadow.