QSA exact rational matched platform evidence - #81
Draft
Inserian wants to merge 7 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Begins the first fair platform-level exact-mathematics evidence lane above accepted PR80 without changing QSA semantics.
The initial carrier defines one deterministic exact-rational construction/evaluation workload in C++ using QSA
QRationaland an independently implemented matched Python control usingsympy.Rational. Both use the same(a+b)*(c-d)expression family, the same deterministic integer operands, two warmups, seven measured rounds and eight exact canonical sample outputs. The control refuses to report timing evidence unless exact sample outputs match.The only admissible performance statement from this lane is workload-specific.
sympy_over_qsa_median_time_ratio > 1may establish that QSA is faster on this exact in-process rational workload; it cannot establish general CAS superiority, NumPy/Qiskit/Aer superiority, quantum advantage or universal asymptotic advantage.This PR remains incomplete until the benchmark is executed by the existing QSA Runtime Evidence carrier with all construction/observation work charged. No throwaway workflow will be added. The result must be used to choose at most one concrete QSA arithmetic optimization rather than creating a benchmark loop.
Research-only stacked successor to accepted PR80; no merge or production promotion is authorized.