Level 2, Tinkerer

Global phase

The right column is the left column with a minus on every amplitude. The puzzles treat the two columns as the same answer, because no measurement can see an overall minus.

A global phase is an overall factor in front of every amplitude, such as a minus sign applied to the whole state. No measurement can see it, which is why the puzzle on this site treats two columns that differ only by that factor as the same answer.

Keith lost an afternoon to an overall minus and called the bench unfair. The bench was following the rule, and the rule is now written on the inside cover of the lab book, where the argument used to start.

An example

Take two qubits. P holds 0.6 and 0.8. Q holds −0.6 and −0.8, which is P with a minus on the whole state.

Read straight away, both give 0.36 and 0.64. Press H first and P becomes (0.6 + 0.8) ÷ 1.41 and (0.6 − 0.8) ÷ 1.41, about 0.99 and −0.14. Q becomes about −0.99 and 0.14. The squares are 0.98 and 0.02 for each, so the counts still match.

That is no accident. A gate builds each new amplitude by multiplying the old ones by fixed numbers and adding. A factor on every old amplitude comes out on every new one, so after any gates Q is still P with a minus in front. Reading in another arrangement, such as |+⟩ against |−⟩, is a gate followed by a plain reading. So no basis tells P from Q.

The factor can be i instead. That gives 0.6i and 0.8i, with squared sizes of 0.36 and 0.64 again, because |i|² = 1.

Now move the minus onto the amplitude for 1 only, giving 0.6 and −0.8. A plain reading still gives 0.36 and 0.64, but H gives about −0.14 and 0.99, a 1 in 98 runs out of 100. That minus is a relative phase, and it shows.

What it is not

A global phase is not a weaker relative phase. No experiment sees it at all, so physicists treat P and Q as one state written two ways.

One catch. The factor must sit on the whole state of everything involved. X on |−⟩ only puts a minus in front, so on its own it looks idle. Make that X a controlled NOT, with |+⟩ on the control, and the minus lands only on the terms where the control reads 1. It then appears as a relative phase on the control, which becomes |−⟩.

The phase you can see is the relative phase, and both are kinds of phase. The factor i is a complex number, and the catch is worked out under controlled NOT. The note The sign is what cancels meets an overall minus, and the puzzle accepts any overall factor.

Used in

All the words