Uniform preparation
Targets are a cyclic consecutive set starting at the selected index. Their values are already known to the simulator.
Q047 · Mark / reflect / stop
Choose a small search space, mark its target entries and move the round selector. Follow the phase oracle and reflection as probability flows toward the targets and back out again. Sample the readout and find a stopping point from the recorded success rates.
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.
Recorded success, 95% Wilson range
Best observed round among sampled settings
All circuit / verification queries
The best observed round is a descriptive choice from this finite scan, not a certified optimum. Every output is checked against the known teaching oracle; that adds one verification query. No real-data oracle construction or hardware advantage is demonstrated.
| Rounds | Trials | Successes | Circuit / verification queries |
|---|
| Trial | Setting | Reported bits | Integer | Circuit queries |
|---|
Physics tutorial
BackgroundThe input starts with equal amplitudes across a small declared search space. An oracle changes the phase of marked entries; a second unitary reflects amplitudes about the uniform direction.
Why it mattersProbability is redistributed rather than created. Once the state passes a favorable orientation, repeating the same operations can reduce success.
Start with the essentials
Targets are a cyclic consecutive set starting at the selected index. Their values are already known to the simulator.
The phase offset is entered in degrees and converted to radians. A coherent error is not a probabilistic bit flip.
The leading global minus sign makes the zero-error operator the usual inversion about the mean. The imperfect operator remains unitary.
All complex components are updated explicitly. The operation slider can show the state immediately after an oracle or reflection.
This rotation formula applies to ideal phases before readout errors. It is an independent benchmark, not the rule used to generate the state vector.
Each reported output is additionally checked once against the target set. The separate verification counter includes that extra query.
Typical misconceptionThe simulator discovers a secret in a real database.
Better mental modelThe target set is supplied to the teaching oracle. Constructing a real oracle can be costly and is outside this model.
Typical misconceptionA negative arrow represents a negative chance.
Better mental modelArrow direction is complex phase and length is amplitude magnitude. Probability is the squared magnitude and remains nonnegative.
Typical misconceptionFast browser animation proves quantum advantage.
Better mental modelThis is a small classical simulation. The query ledger describes a declared model, not measured quantum hardware or a complete classical comparison.
Choose Before amplification, set one round and inspect its oracle step.
What to observe: The marked amplitude changes sign but its probability does not yet increase.Compare Stop near the peak with Go too far.
What to observe: The same target set can become much less likely after extra rounds.Acquire the full round scan.
What to observe: Success fractions fluctuate. The highest observed setting is a descriptive result from the finite record, not a guaranteed optimum.Try an imperfect oracle and readout flips separately.
What to observe: Coherent phase errors change the evolved amplitudes. Readout flips distort the reported bit strings after evolution.