Declared unitary and input
The two input amplitudes are coherent. Counting-only observations cannot distinguish their relative phase from an incoherent mixture with the same weights.
Q046 · Phase clocks / finite precision
Turn a phase clock, choose the counting register and watch controlled evolutions write a pattern of phases. The inverse Fourier transform turns that pattern into a measurable number. Acquire a histogram, then compare precision with the evolution budget.
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.
Modal phase bin from 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 is periodic. Controlled evolution makes it relative to a counting register, where interference can reveal it. The source here is a declared diagonal unitary with two orthogonal eigenstates.
Why it mattersA histogram makes finite precision visible. Comparing bit depths also exposes the longer coherent evolution hidden inside higher controlled powers.
Start with the essentials
The two input amplitudes are coherent. Counting-only observations cannot distinguish their relative phase from an incoherent mixture with the same weights.
The integer labels the counting basis. A common bias is added per unit evolution and is multiplied by the controlled power.
An exact finite Fourier transform is applied to each target branch. The circuit view counts controls from the least significant bit; output strings print the most significant bit first.
Orthogonal target states eliminate cross terms when their register is not observed. A second peak is not a single intermediate phase.
The budget counts repeated unit evolutions under a black-box model. A compiled high-power gate may have another implementation cost; no hardware timing is inferred.
The modal bin is computed only from reported outcomes. Tied modes remain tied. It is not a maximum-likelihood continuous phase fit or a phase confidence interval.
Typical misconceptionThe hands describe physical spinning qubits.
Better mental modelHands show phases in a mathematical representation. Each row represents an operation, not a trajectory.
Typical misconceptionThe phases at zero and one turn are far apart.
Better mental modelThey represent the same eigenvalue. Near the boundary, support can occur in both the last and first bins.
Typical misconceptionThe gray model curve is reconstructed from clicks.
Better mental modelThe gray reference uses the configured model. Colored bars and the modal estimate use only sampled records; errors on fractions do not bound the unknown phase.
Acquire Exactly on a bin, with no readout error.
What to observe: All outcomes agree at the default eigenphase. This is an exact binary representation.Choose Between two bins, then compare 2–6 bits.
What to observe: The peak narrows as the grid refines, while unit-evolution cost grows. More trials at a fixed depth do not create finer bins.Choose Two eigenphases and change the first-state weight.
What to observe: Peak weights change. The result samples the spectrum rather than returning its arithmetic average.Choose Systematic bias, then increase bit depth.
What to observe: A narrower distribution can be centered on a biased phase. Extra bits do not calibrate the unitary.