The six key states
Six states sit where the axes meet the sphere. They come up everywhere in quantum computing, and most gates are easiest to understand by where they send these six.
Two are the poles, and . The other four are on the equator: equal superpositions of and , with 50/50 odds of measuring either, that differ only in their phase.
The six states
| State | As a ket | (x, y, z) | P(0) | Where |
|---|---|---|---|---|
| (0, 0, 1) | 100% | top | ||
| (0, 0, −1) | 0% | bottom | ||
| (1, 0, 0) | 50% | front, toward you | ||
| (−1, 0, 0) | 50% | back | ||
| (0, 1, 0) | 50% | right | ||
| (0, −1, 0) | 50% | left |
"Where" is in the app's starting view; drag the sphere and it turns with you. Some books write and as and , or as and .
Opposite pairs are bases
Each pair of opposite states is a basis: two states that are completely distinguishable, so that a measurement can ask "which of the two?".
- Z basis: and , along the z axis. This is the "computational basis", the one ordinary measurements use.
- X basis: and , along x.
- Y basis: and , along y.
The three axes are at right angles, and that has a striking consequence: a state that is certain in one basis is completely random in the other two. always measures as 0, but asked " or ?" it answers each half the time.
Try it
In the app, Set state ▸ Presets puts the selected qubit on any of the six. Next: measuring a qubit.