Input
LinkedIn explanation + authoritative QPE reference.
Source identifiedHow MantiQ handles an algorithm explanation: make its assumptions explicit, build it, test it, and show exactly what the evidence supports.
A working educational case study. Browser simulation, independent Wolfram results, and a scoped Lean proof. No quantum hardware used.
Then try 1/3. The certainty disappears.
The verification requirement does not.
The supplied LinkedIn post describes the standard QPE flow. MantiQ turns that narrative into testable statements.
Controlled powers encode phase.
An inverse QFT makes it observable.
Measurement gives a binary estimate.
Correct as a high-level description. But which input state, which bit order, and what does “accuracy” mean?
The screenshot was inspected manually. No OCR or automated document-ingestion capability is claimed here.
Technical reference: IBM Quantum Learning, “Phase estimation procedure”. Source links and reproducible artifacts are on the final slide.
This case study executes the modeling and verification steps. The stage map explains the methodology, not an autonomous ingestion product.
LinkedIn explanation + authoritative QPE reference.
Source identifiedManual transcription of the mathematical scope. OCR unnecessary.
Explicitly manualEigenstates, phase range, bit order, exactness and cost.
Assumptions recordedWolfram Fourier-sum model and a browser gate simulator.
Two implementationsIndependent probabilities, fault tests and a Lean cost proof.
Bounded evidenceInteractive controls, circuit trace, sampling and failure gates.
Runnable artifactDownloadable source, notebook, proof and execution evidence.
Reproducible packageφ is a fraction of a full turn, not an angle in radians. With N = 2ᵐ, outcome y represents phase y/N, modulo one.
Independent browser oracle: the squared sine ratio obtained from the finite geometric series, with the removable singularity handled explicitly.
One target qubit with a diagonal unitary:
U = diag(e2πiφA, e2πiφB)
Single eigenstate: target |0⟩.
Superposition: √w |0⟩ + √(1−w) |1⟩.
The browser evolves the joint state using Hadamard gates, controlled powers, swaps, and inverse-QFT controlled-phase gates. It sums over the target qubit to obtain the displayed marginal.
Real calculations in your browser. No backend, no hardware, no canned output.
| Bits | Phase | Simulated | Reference | Count |
|---|
Start with 3/8 and three estimation qubits. Each mistake below changes the simulated distribution while the independent reference remains unchanged.
The sign error sends phase 3/8 to 5/8. The result is sharply peaked, but wrong. A clean-looking chart is not sufficient evidence.
The same bits become a different number: 6/8 instead of 3/8. Asymmetric test inputs expose an error that 000 or 111 would hide.
One qubit no longer accumulates its required phase. The probability distribution disagrees with the reference and the gate blocks a pass.
A fault can be invisible for special inputs, such as zero phase. This is why the test suite uses many phases rather than relying on one successful run.
The statuses apply to the stated scope. They do not combine into a blanket “QPE formally verified” claim.
| Claim | Evidence status | Artifact and boundary |
|---|---|---|
| QPE-01 · Exact 3/8 example | SYMBOLICALLY VALIDATED | Wolfram exact amplitudes and normalization; 62 dyadic cases across m = 1…5. |
| QPE-02 · Non-dyadic and mixed inputs | NUMERICALLY TESTED | Direct Fourier sum versus geometric formula; independent exported vectors, bounded cases. |
| QPE-03 · Browser gate simulator | RUNTIME CHECK PENDING | Runtime comparison loads the independently generated Wolfram vectors. |
| QPE-04 · Repeated-U resource count | FORMALLY PROVED | Lean 4: cost(m) + 1 = 2ᵐ. Only this recurrence is proved; not the simulator or full QPE. |
| QPE-05 · Hardware performance / speedup | NOT ESTABLISHED | No device run, no noise calibration, no speedup benchmark, no physical measurement. |
Open the notebook, inspect the proof, or rerun the checks. Nothing here requires access to the private MantiQ product.
node validate.mjs wolframscript -file evidence/build.wls # From evidence/lean: lake build
Download the folder from the public source repository, preserving its structure. The HTML runs standalone; the external Wolfram comparison requires serving the folder over HTTP.
Browser-model test source · Wolfram build script · Lean build evidence
Primary technical reference:
IBM Quantum Learning: Phase estimation procedure ↗Input inspiration: the user-supplied LinkedIn group post. Screenshot inspected privately; not republished. No affiliation or endorsement by IBM or the post’s author is implied.