Repository navigation
Add verified resumable WQBench data engine foundation - #2
Merged
Merged
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.
Summary
Adds
westquant.wqbench, a stricter, resumable compilation-data foundation that sits alongside the legacygenerate_training_dataAPI (applied fromWQBench_Dataengine_v0_1.patch, rebased cleanly on current main).root_idlineage key with a deterministic 80/10/10 splitUNKNOWN, never an unverifiedEXACTdocs/wqbench/README.md,PLAN_v0_1.mdandAUDIT.md(audit of the legacy generator)No package version change. The module is not yet part of a PyPI release.
Reproduction against the control package (WQBench_Dataengine_Kontroll_v0_1)
circuits.jsonlandbackends.jsonlare byte-identical to the controlsuccess,EXACT, target-valid. Resume run: 0 created, 192 cache hitscompiled_qasm3differ from the control (allrandomfamily, optimization level 1–3). 18 differ structurally and 17 only in angles. 15 rows differ in size/op counts and 7 in depth and the proxy metrics. Two-qubit counts are identical in all 192.run_idhashes Qiskit version, engine hash and git commit, but not platform/NumPy/Python. Two machines on the same commit can therefore produce the samerun_idwith different compiled circuits. Consider adding those toenvironment.Test plan
python -m westquant.wqbench --dry-run, full run and resume run reproduce the expected countsGenerated with Devin