Update Hamiltonian simulation compilation tutorial to new template#4969
Open
henryzou50 wants to merge 4 commits intoQiskit:mainfrom
Open
Update Hamiltonian simulation compilation tutorial to new template#4969henryzou50 wants to merge 4 commits intoQiskit:mainfrom
henryzou50 wants to merge 4 commits intoQiskit:mainfrom
Conversation
…utorial Replace the old notebook with a revised version that follows the tutorial template and focuses exclusively on Hamiltonian simulation circuits from the Hamlib benchmark collection (removing the EfficientSU2 section). Key changes: - Compare SABRE, AI transpiler, and Rustiq on Hamlib circuits split into small-scale (<20 qubits) and large-scale (>=20 qubits) groups - Filter out circuits exceeding backend qubit count or 5000 decomposed gates - Add styled summary tables with mean/stdev and % improvement over SABRE - Add per-circuit comparison tables with best-value highlighting - Improve plots: line charts by circuit index, % improvement over SABRE, grouped bar charts for best-performing method with tie tracking - Add mirror circuit execution for noise evaluation (Aer sim for small-scale, real hardware for large-scale) with survival probability metric - Revise all commentary to reflect benchmark observations
Contributor
|
One or more of the following people are relevant to this code:
|
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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
Revised
compilation-methods-for-hamiltonian-simulation-circuits.ipynbto follow the Tutorial_Template structure, focusing exclusively on benchmarking SABRE, AI transpiler, and Rustiq compilation methods on Hamiltonian simulation circuits from the Hamlib collection.Key changes from the old notebook:
efficient_su2circuits. The revised version focuses entirely on Hamlib Hamiltonian simulation circuits built withPauliEvolutionGateibm_torinotoleast_busy()Tutorial structure: