Lesson 2: Phase and the ± basis
A global phase changes nothing; a relative phase shows up in another basis
The interactive version checks every answer, gives hints and saves your progress in this browser. This page is the same lesson on one page, with the answers folded away.
1 / 11 · Learn
Before you start
Lesson 1 measured only in the 0/1 basis, where gives 0 or 1 just as a fair coin would. This lesson looks at the part of an amplitude that the 0/1 basis can’t see, its phase, and at a second basis that can.
By the end of this lesson you can:
- explain why multiplying a whole state by changes no prediction;
- show that a phase on one term changes what a ± measurement gives;
- rewrite a state in the ± basis and use ;
- tell a superposition from a 50/50 coin by experiment.
Check yourself
A warm-up: make a guess before reading on. The lesson comes back to it.
Register A holds 1000 qubits, each prepared in . Register B holds 1000 qubits, each prepared as or by a fair coin toss; nobody tells you which. Can any experiment tell the two registers apart?
- ANo. Both give 0 or 1 with probability 1/2, so they are physically the same.
- BYes. In the 0/1 basis A splits exactly 500/500, while B fluctuates.
- CYes. Measure every qubit in a different basis, the ± basis: A gives the same outcome every time, B does not.
- DThey differ in principle, but no experiment could ever show it.
Show the answer
Answer: C. Yes. Measure every qubit in a different basis, the ± basis: A gives the same outcome every time, B does not.
Measured in the ± basis, every qubit of A gives , while B gives about half the time. This lesson shows why.
Why not the others
- A. A very common idea is that is a coin you haven't looked at yet. If it were, nothing could tell A from B. But measure both in the ± basis: every qubit of A gives , while B gives only about half the time. is one definite state; its 50/50 belongs to the 0/1 basis, not to your ignorance.
- B. Probabilities predict frequencies, not exact counts. A scatters around 500 just as B does, so in the 0/1 basis the two registers give the same statistics. It is tempting because "superposition" sounds more orderly than a coin, but you need a second basis to see the difference.
- D. The difference is not just a matter of words. Measure every qubit in the ± basis: A gives every time, B only about half the time. It is tempting to think so because the 0/1 basis, the only measurement met so far, really cannot see it.
Refresher: Complex numbers Phase is the angle of a complex number. Open this if or is rusty.
2 / 11 · Learn
Phase on a dial
Every amplitude is a complex number, and any complex number can be written : a size (its magnitude, ) and a phase , which is an angle. The circle notation below draws both. Each basis state gets a circle. The filled disc's radius is the size ; the needle points along the phase, with 0° to the right and angles growing counter-clockwise. The exact amplitude, its phase in degrees and the probability are printed underneath, so you never have to judge an angle by eye.
Here is :
Check yourself
You measure this state in the 0/1 basis. What is ?
Hints
- What is the size of ?
- A probability is , and for any angle.
Show the answer
Answer:
The needle's direction does not affect the size: , so , the same as the disc radius squared.
Common slips
- : That squares the amplitude itself, phase and all. The Born rule squares the size: , because a phase factor has size 1. A probability is always a real number between 0 and 1.
- : That keeps only the real part, , before squaring. Use the whole amplitude: its size is whatever its phase, so .
Now multiply the whole state by one phase factor . Every size stays the same and every needle turns by the same angle . This is a global phase. Since no size changes, no 0/1 probability changes. In fact no measurement in any basis can detect it (you will check this for the ± basis shortly), so and describe the same physical state.
Check yourself
Which of these is the same physical state as ?
- A
- B
- C
- DNone of these: any change of sign or phase gives a different state.
Show the answer
Answer: C.
multiplies both amplitudes, so both needles turn by 180° together: a global phase. The other states change one needle only.
Why not the others
- A. Same sizes, so the same 0/1 statistics, but here only the needle turned (by 180°). The needles no longer point the same way, so this is not a global phase. It is the state , and the next segment shows a measurement that tells it apart from .
- B. Equal sizes again, but only the needle turned (by 90°), so the angle between the needles changed. Matching 0/1 probabilities are not enough to call two states the same.
- D. A common idea is that any sign change makes a new state. Multiplying every amplitude by turns both needles by 180° together and changes no size, so no probability in any basis changes. Only phase differences between the terms are physical.
3 / 11 · Learn
A second basis: plus and minus
Compare with . Their sizes match, so in the 0/1 basis both give 50/50. Yet they are not related by a global phase. To see the difference you need a measurement that asks a different question. Any two orthogonal unit vectors can serve as a measurement basis, as the inner-product refresher explains, and is such a pair: the ± basis. Its outcomes are and . Measured in it, gives every time and gives every time. How such a measurement is built comes in Lesson 5.
Check yourself
In which basis do and give identical statistics?
- AOnly the 0/1 basis.
- BNeither: they are different states, so every measurement can tell them apart.
- CBoth bases: they differ only by a sign.
- DOnly the ± basis.
Hints
- In the 0/1 basis, what decides the probabilities: the sizes or the signs?
- In the lab, measure the preset and then 1000 times in Z, then in X, and compare the histograms.
Show the answer
Answer: A. Only the 0/1 basis.
Equal sizes give equal 0/1 statistics (50/50). The ± basis is where they differ completely: every time versus every time.
Why not the others
- B. Different states need not differ in every basis. In the 0/1 basis both give 0 or 1 with probability 1/2 each, so that measurement cannot separate them; the ± basis can.
- C. The sign sits on one term only, so it is a relative phase, not a global one. Try it in the lab: in the X (±) basis the two histograms are opposite. It is tempting because their 0/1 histograms really are identical.
- D. In the ± basis they are as different as possible: gives every time and gives every time. It is in the 0/1 basis that both give 50/50.
To get the ± odds of any state, rewrite it in terms of and , then apply the Born rule to the new coefficients:
Expand the right-hand side with the definitions of and you get back the left. So and . Check with : and give .
Check yourself
You measure in the ± basis. What is ?
Hints
- Which coefficient goes with when you rewrite the state, and what are and here?
- , with .
- . Now divide by 2.
Show the answer
Answer:
. This state, called , gives 50/50 in both bases you know so far; Lesson 3 shows where it sits on the Bloch sphere.
Common slips
- : That treats as if it were 1, as for . The phase counts: and , so .
- : That treats as , which would give . Here , so .
4 / 11 · Learn
Global phase, relative phase
Now separate the two kinds of phase. Write a state with equal sizes as . The global phase turns both needles together. The relative phase is the angle between the needles: has and has . In the lab, move one slider at a time and watch both rows of probabilities.
Check yourself
Which slider changes a probability in some basis?
- AOnly : turning both needles is the bigger change.
- BBoth of them.
- CNeither: a phase never changes a probability.
- DOnly , the relative phase. It changes the ± probabilities, while the 0/1 ones stay at 50%.
Show the answer
Answer: D. Only , the relative phase. It changes the ± probabilities, while the 0/1 ones stay at 50%.
multiplies every amplitude, in every basis, by the same , so no probability changes. changes the angle between the needles: the 0/1 row stays at 50/50, but runs from 100% at to 0 at .
Why not the others
- A. Turning both needles by the same angle keeps every size and the angle between them, so every probability stays put. Drag all the way round and watch: neither row moves. It feels like a bigger change because two needles move instead of one.
- B. Only does. Move alone: both needles turn, but the probabilities in both rows stay exactly the same, because for every amplitude in every basis.
- C. That is true in the 0/1 basis only. Set to 180° and the ± row goes from 100% to 100% . A probability is a squared size, but in the ± basis the sizes are , and those depend on the angle between the needles.
Why can never matter? In the ± basis the coefficients are . Multiply both and by and each becomes : the same size, so the same probability. Any other basis works the same way, because each new coefficient is a fixed combination of and , so a common factor comes straight out. Multiply alone by and the sum is no longer a common factor times , so its size can change. One caution: a state with one term, such as , has no second needle to compare with, so a factor on that term is a global phase.
Check yourself
A state with equal sizes has its needles at 30° (on ) and 120° (on ). A second state has equal sizes and needles at 0° and 90°. What is the relationship?
- AOrthogonal states, because the needles turned by 30°.
- BDifferent states: each needle's direction is measurable.
- CSame physical state: both needles differ by 30°, and the angle between them is 90° in both.
Hints
- Turn both needles of the first state back by 30°. Where do they point now?
- Turning every needle by the same angle is a global phase. Compare the angle between the needles in each state.
Show the answer
Answer: C. Same physical state: both needles differ by 30°, and the angle between them is 90° in both.
Both states have relative phase 90°; the 30° offset is a global phase. Both are up to a global phase.
Why not the others
- A. Turning both needles by the same angle gives the same state, not an orthogonal one. Orthogonal states, like and , differ in the angle between the needles (0° versus 180°).
- B. Turning both needles back by 30° is multiplying by , a global phase. What a measurement can see is the angle between the needles, 90° in both cases. In the lab, set and move : nothing changes.
Why does the ± basis give 50% at both 90° and 270°?
Try it in the lab: and both give . In general , which is the same for and . The two states are still different: a third basis, with , tells them apart. Lesson 3 shows all three bases on the Bloch sphere.
5 / 11 · Learn
Superposition or coin?
Back to the opening question. Register A holds 1000 copies of one definite state, . Register B is a mixture: each qubit really is or , set by a coin, and you just don't know which. Before you press anything, recall your opening guess and use the formula to predict what each register gives in each basis. Then run both measurements on both registers.
Check yourself
Source 1 emits every time. Source 2 tosses a fair coin and emits or . Which measurement, repeated on many qubits from each source, tells the sources apart?
- AThe 0/1 basis.
- BNo measurement: both sources give 50/50.
- CThe ± basis.
- DEither basis works.
Show the answer
Answer: C. The ± basis.
In the ± basis Source 1 gives every time; Source 2 gives or according to its coin, about half each. In the 0/1 basis both look like 50/50.
Why not the others
- A. and both give 50/50 in the 0/1 basis, so both sources give 50/50 there. In the ± basis Source 1 gives every time and Source 2 splits about evenly.
- B. They give 50/50 in the 0/1 basis only. Source 1 is a definite state, , so in the ± basis it gives every time; Source 2's coin shows up as a 50/50 split there.
- D. In the 0/1 basis both sources give 50/50, so that basis cannot separate them. Only the ± basis does.
6 / 11 · Explore
Is a definite state definite in every basis?
Predict, then see
A qubit in gives 0 every time it is measured in the 0/1 basis. You prepare 1000 fresh copies of and measure each one in the ± basis instead. What do you expect?
- A every time.
- BAbout half and half .
- C every time: the qubit already has a definite value.
- DIt can't be done: only the 0/1 basis is a real measurement.
Show what happens
What happens: B. About half and half .
Compare the two histograms with your prediction. Then pick, below, the explanation that fits what you saw.
Why not the others
- A. Nothing in favours : with and the formula gives .
- C. A natural idea is that a qubit that is certain in one basis has a definite answer to every question. The data say otherwise: about half and half . Certainty belongs to a state and a basis together.
- D. Any orthonormal basis can be measured. In practice you apply a gate and then measure in the 0/1 basis (Lesson 5), and a Stern–Gerlach magnet turned along does the same job for an atom.
Check yourself
Which explanation fits the data: gives 0 every time in the 0/1 basis, yet about half and half in the ± basis?
- AIn the ± basis only the amplitude counts: .
- BThe ± measurement is less precise, so it scrambles the answer.
- C is secretly a coin that is or , each half the time.
- DRewritten in the ± basis, has two coefficients of equal size, each, so each outcome has probability .
Show the answer
Answer: D. Rewritten in the ± basis, has two coefficients of equal size, each, so each outcome has probability .
Rewritten in the ± basis, , so . A state can be certain in one basis and as uncertain as possible in another: is to the ± basis what is to the 0/1 basis. Being definite is a property of a state together with a basis, not of the state alone.
Why not the others
- A. Right number, wrong rule. Both amplitudes enter: . Your rule would give a of 0, yet also gives 50/50 in the ± basis, and it would give only 1/4 instead of 1.
- B. The ± basis is just as sharp as the 0/1 basis: measured in it, gives every time. The 50/50 comes from the state, , not from a sloppy apparatus.
- C. Such a coin would also give 0 and 1 equally often in the 0/1 basis, because and each do. gives 0 every time, so it is one definite state, a superposition of and , not a coin.
Check yourself
Now write in the ± basis: enter the coefficients of and .
Hints
- For , what are and ?
- Use and .
Show the answer
Answer:
and , so . Like , it gives 50/50 in the ± basis.
7 / 11 · Worked example
Rewriting a state in the ± basis
Worked example
A state with unequal sizes
Find the ± coefficients and probabilities of . (In the 0/1 basis its probabilities are 3/4 and 1/4.)
Step 1
Read off and . The coefficient of is and that of is .
Step 2
and .
Step 3
So . Both coefficients are real, so each probability is just the coefficient squared.
Your turn
What is when is measured in the ± basis? (An exact form such as
(2+sqrt(3))/4or a decimal is fine.)Hint
- Square the coefficient of from Step 3.
Show the answer
Answer:
.
Common slips
- : 0.75 is , the probability in the 0/1 basis. This question is about the ± basis: square the coefficient of from Step 3.
Your turn
And ?
Hint
- Square , or use .
Show the answer
Answer:
, and . In the ± basis this state is more lopsided (93/7) than in the 0/1 basis (75/25).
Common slips
- : 0.25 is , the 0/1-basis probability. Square the coefficient of instead.
Here is one more worked example with different numbers.
Another worked example
A second state
, so and .
Coefficient of : . Coefficient of : .
Square them: and , which add to 1. The minus sign on the coefficient disappears when you square, but it is still part of the state.
Check yourself
Now on your own. You measure in the ± basis. What is ?
Hints
- Which formula gives from and ?
- , and .
- .
Show the answer
Answer:
, and . So .
Common slips
- : That treats as if it were 1. A phase on one term changes : here .
- : 1/2 is the 0/1-basis probability. In the ± basis use .
- : You found ; divide by 2.
8 / 11 · Practice
Practice
Check yourself
Can any measurement tell from ?
- AYes. They differ by a relative phase: the 0/1 statistics agree, but a ± measurement tells them apart.
- BYes. Any change of phase, even one on every term, makes a different state.
- CNo. They differ only by a global phase, so every probability in every basis is the same.
- DNo. Their 0/1 probabilities are equal, and that is all a measurement can show.
Hints
- Divide each amplitude of by the matching amplitude of . Are the two ratios equal?
- Equal ratios mean one common factor : a global phase. Different ratios mean a relative phase.
- Compare for the two states using .
Show the answer
Answer: A. Yes. They differ by a relative phase: the 0/1 statistics agree, but a ± measurement tells them apart.
Here only the amplitude changes sign: a relative phase. In the ± basis is 98% for but 2% for .
The two ratios differ: only the amplitude changes sign. The 0/1 probabilities match, but the relative phase does not. In the ± basis is 98% for but 2% for .
Why not the others
- B. Right verdict, wrong reason. A phase on every term would change nothing; what matters here is that only the amplitude changes sign, a relative phase. In the ± basis is 98% for but 2% for .
- C. Look again: only the amplitude changes sign, so the needles do not turn together. That is a relative phase. In the ± basis is 98% for but 2% for .
- D. Equal 0/1 probabilities do not make equal states. Here only the amplitude changes sign. In the ± basis is 98% for but 2% for .
Check yourself
You measure in the ± basis. What is ?
Hints
- Which coefficient goes with when you rewrite the state?
- The coefficient is , and is its size squared.
- Here and .
Show the answer
Answer:
, , so .
Common slips
- : That is in the 0/1 basis. The ± basis needs the coefficient of : .
- : That is . You still need to divide by 2.
- : That is . For use .
Check yourself
Write in the ± basis: enter the coefficients of and .
Hints
- What are and here?
- The coefficients are on and on .
- The coefficient is .
Show the answer
Answer:
With and read from : and . Their sizes squared add to 1.
9 / 11 · Explain
Two students disagree
Explain it
Ana says and are physically the same state. Ben says that, by the same logic, and are also the same. Who is right, and why?
Show a model answer
Ana is right. In her pair the factor multiplies the whole state, a global phase, so every in every basis is unchanged. Ben is wrong. In his pair the phase sits on one term only, so it changes the relative phase between and . The 0/1 statistics still match (50/50), but in the ± basis is for his first state and for .
A good answer covers
- Ana is right: a global phase multiplies every amplitude by the same factor, so no probability in any basis changes.
- Ben is wrong: in his pair the phase is on one term only, which changes the relative phase.
- Names a measurement that shows the difference: the ± basis, where is instead of .
10 / 11 · Mastery check
Mastery check
Check yourself
This was your opening guess. Register A holds 1000 qubits, each prepared in . Register B holds 1000 qubits, each prepared as or by a fair coin toss; nobody tells you which. Can any experiment tell the two registers apart?
- ANo. Both give 0 or 1 with probability 1/2, so they are physically the same.
- BYes. In the 0/1 basis A splits exactly 500/500, while B fluctuates.
- CThey differ in principle, but no experiment could ever show it.
- DYes. Measure every qubit in a different basis, the ± basis: A gives the same outcome every time, B does not.
Show the answer
Answer: D. Yes. Measure every qubit in a different basis, the ± basis: A gives the same outcome every time, B does not.
In the ± basis every qubit of A gives ; B gives about half the time. In the 0/1 basis they look alike.
A superposition is a definite state. gives with certainty in the ± basis, while each of B's qubits ( or ) gives with probability 1/2. Measuring every qubit in the ± basis therefore separates the registers; the 0/1 basis cannot.
Why not the others
- A. A very common idea is that is a coin you haven't looked at yet. If it were, nothing could tell A from B. But measure both in the ± basis: every qubit of A gives , while B gives only about half the time. is one definite state; its 50/50 belongs to the 0/1 basis, not to your ignorance.
- B. Probabilities predict frequencies, not exact counts. A scatters around 500 just as B does, so in the 0/1 basis the two registers give the same statistics. It is tempting because "superposition" sounds more orderly than a coin, but you need a second basis to see the difference.
- C. The difference is not just a matter of words. Measure every qubit in the ± basis: A gives every time, B only about half the time. It is tempting to think so because the 0/1 basis, the only measurement met so far, really cannot see it.
Check yourself
Consider , and . Which of the three pairs can some measurement tell apart?
- A– and –, but not –
- BOnly –
- COnly –: changing every term is a bigger change than changing one.
- DAll three pairs: they all differ in sign or phase.
- ENo pair: all three have the same 0/1 statistics.
Show the answer
Answer: A. – and –, but not –
is times one common factor (a global phase). flips the sign of one term (a relative phase): in the ± basis is 93.3% for and 6.7% for , and behaves exactly like .
is multiplied by , so no measurement separates them. changes the sign of the term only: the 0/1 statistics match, but in the ± basis is 93.3% for and 6.7% for . So – and – can be told apart.
Why not the others
- B. is physically the same state as , so any measurement that separates from also separates from .
- C. It is the other way round. Multiplying every amplitude by the same factor is a global phase and invisible; changing one term is a relative phase.
- D. is times one common factor, : a global phase, which changes no probability in any basis.
- E. Equal 0/1 statistics do not make states equal: in the ± basis is 93.3% for and 6.7% for .
Check yourself
The state is measured in the ± basis. What is ?
Show the answer
Answer:
, , so .
Common slips
- : That is in the 0/1 basis. In the ± basis use .
- : That is ; divide by 2.
Check yourself
A lab says its source emits every time. A rival says the source really tosses a fair coin and emits or . You may measure many qubits from the source, all in one basis. Which plan settles the dispute?
- AMeasure in the 0/1 basis. The lab is right if every outcome is the same.
- BMeasure in the 0/1 basis. The lab is right if the split is exactly 50/50.
- CNo plan can settle it: both sources give 50/50.
- DMeasure in the ± basis. The lab is right if every outcome is .
Show the answer
Answer: D. Measure in the ± basis. The lab is right if every outcome is .
In the ± basis gives every time, while and each give with probability 1/2.
Pick the basis in which the claimed state is certain: the ± basis. There the lab predicts on every qubit, and the coin predicts about half the time. In the 0/1 basis both predict about 50/50.
Why not the others
- A. A definite state is certain in one basis only. is certain in the ± basis; in the 0/1 basis it gives both outcomes equally often, just like the coin.
- B. Both claims predict about 50/50 in the 0/1 basis, and neither predicts an exact split: counts scatter around 50%. That basis cannot settle it.
- C. They give 50/50 in the 0/1 basis only. is a definite state: in the ± basis it gives every time, while each coin-toss qubit gives only half the time.
Check yourself
You measure in the ± basis. What is ?
Show the answer
Answer:
The factor in front multiplies every amplitude, so it is a global phase and changes nothing. Use : , , so .
Common slips
- : That applies to the first term only. The factor multiplies the whole state, a global phase, so is the same as for .
11 / 11 · Recap
Recap
From memory
Before reading the summary, write down what you remember. Pulling it back from memory is what makes it last.
What is the difference between a global phase and a relative phase, and which one can a measurement detect?
Show the key points
- A global phase multiplies every amplitude by the same : every needle turns together.
- It changes no probability in any basis, so and are the same physical state.
- A relative phase changes the angle between the terms: the 0/1 statistics stay the same, but the ± statistics can change.
How do you find the ± basis probabilities of ?
Show the key points
- Rewrite the state: coefficient on and on .
- .
- Example: gives 50/50 in the ± basis, though it is certain in the 0/1 basis.
How can you tell 1000 copies of from 1000 coin-toss qubits, each or ?
Show the key points
- In the 0/1 basis both give about 50/50.
- In the ± basis gives every time, while the coin-toss qubits give about half the time.
- A superposition is a definite state, not ignorance about a hidden 0 or 1.
Key ideas
An amplitude has a size and a phase. In circle notation the disc radius is the size and the needle is the phase.
A global phase turns every needle together and changes no prediction in any basis.
A relative phase, the angle between the needles, is physical. It is invisible in the 0/1 basis and can show up in the ± basis: and differ only in this way.
In the ± basis, , so .
Certainty belongs to a state and a basis together: is certain in the 0/1 basis and 50/50 in the ± basis. A ± measurement also tells a superposition from a 50/50 coin.
Go further
Free resources for when you want more than this lesson covers.
- e^(iπ) in 3.14 minutes, using dynamics3Blue1Brown · Video
A short animation of why multiplying by e^(iφ) turns a point around the unit circle, the rule behind every phase dial here.
- Multiplying by a global phase doesn’t make a differenceRyan O’Donnell, Carnegie Mellon · Video
A 12-minute university lecture proving that a global phase never changes what any measurement can reveal.
- Phase shifter in a Mach–Zehnder interferometerQuVis, University of St Andrews · Interactive
Send single photons through an interferometer and see a phase shift change which detector clicks: relative phase in the lab.
Math refreshers
The toolkit topics this lesson leans on.
- Complex numbersMagnitude, phase, and why a phase factor has size 1
- Inner products and bases⟨φ|ψ⟩, orthogonality, and |⟨φ|ψ⟩|² as a probability