The unitary and the input state
The two input amplitudes are coherent. Measuring only the counting register cannot tell this superposition apart from an incoherent mixture with the same weights.
Q046 · Phase clocks / finite precision
In quantum phase estimation, how much more evolution does each extra bit of precision need? Twice as much. Each extra counting qubit doubles the longest controlled evolution. The inverse Fourier transform then piles the probability onto the phase bin nearest the true value; a phase that falls between bins still spreads over a few neighboring answers.
Set the phase on a clock, choose the size of the counting register and watch controlled evolutions write a pattern of phases onto it. The inverse Fourier transform turns that pattern into a number you can measure. Collect a histogram, then compare the precision you get with the total evolution it costs.
Simulated measurement record
Acquire a record to begin.
Colored bars and points come from records; thin gray marks are the model with the configured errors. Whiskers are pointwise 95% Wilson intervals for output or success fractions. They are not phase confidence intervals, simultaneous bands or guarantees after optional stopping.
Most frequent phase bin in the current records
Trials at current bit depth
All recorded unit evolutions
The modal bin uses counts only. More samples stabilize frequencies but do not change the register grid. A bias cannot be distinguished from the eigenphase without separate calibration; a two-eigenstate input can produce two peaks.
| Bits | Trials | Modal integer(s) | Unit evolutions |
|---|
| Trial | Setting | Reported bits | Integer | Circuit queries |
|---|
Physics tutorial
BackgroundA phase repeats after every full turn. Controlled evolution turns an eigenphase into a relative phase on a counting register, where interference can reveal it. Here the unitary is a given diagonal matrix with two orthogonal eigenstates.
Why it mattersA histogram shows the finite precision directly. Comparing different numbers of counting bits also shows how much longer the coherent evolution gets inside the higher controlled powers.
Start with the essentials
The two input amplitudes are coherent. Measuring only the counting register cannot tell this superposition apart from an incoherent mixture with the same weights.
The integer labels the counting basis state. The same bias is added for every unit evolution, so a higher controlled power multiplies it.
An exact finite Fourier transform is applied to each target branch. In the circuit diagram the controls are counted from the least significant bit, while output strings print the most significant bit first.
The target states are orthogonal and their register is not measured, so the cross terms vanish. Two peaks come from two separate phases, not from a single phase in between.
This count treats the unitary as a black box and adds up how many times the unit evolution is repeated. A compiled gate for a high power may cost a different amount, and nothing here estimates hardware time.
The most frequent bin is found from the reported outcomes alone, and ties stay tied. This is not a maximum-likelihood fit of a continuous phase, and it gives no confidence interval for the phase.
Typical misconceptionThe clock hands show qubits physically spinning.
Better mental modelThe hands show phases in a mathematical picture. Each row is an operation, not a path through space.
Typical misconceptionA phase of zero and a phase of one full turn are far apart.
Better mental modelThey give the same eigenvalue. When the phase is near this boundary, probability can show up in both the last bin and the first bin.
Typical misconceptionThe gray model curve is rebuilt from the detector clicks.
Better mental modelThe gray curve comes from the model with the current settings. The colored bars and the most-frequent-bin estimate use only the sampled outcomes. Error bars on the fractions do not set limits on the unknown phase.
Acquire Exactly on a bin, with no readout error.
What to observe: At the default eigenphase every outcome is the same, because the phase has an exact binary representation.Choose Between two bins, then compare 2–6 bits.
What to observe: The peak narrows as the bins get finer, but the number of unit evolutions grows. More trials with the same number of bits do not make the bins finer.Choose Two eigenphases and change the first-state weight.
What to observe: The heights of the two peaks change. Each measurement samples one eigenphase from the spectrum; it does not return their average.Choose Systematic bias, then increase bit depth.
What to observe: A narrower distribution can still be centered on the biased phase. Adding bits does not calibrate the unitary.