-
Notifications
You must be signed in to change notification settings - Fork 152
Update AI transpiler tutorial for local mode, revised benchmarks, and Qiskit API updates #4227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… refreshed benchmarks - Converted tutorial to use local mode with `generate_ai_pass_manager` instead of the Transpiler Service - Updated circuit generation: EfficientSU2 → efficient_su2, QFT → synth_qft_full, Permutation → PermutationGate - Removed Quantum Volume benchmark (outdated) - Added requirement: `pip install 'qiskit-ibm-transpiler[ai-local-mode]'` - Revised tutorial narrative to reference local AI passes instead of QTS - Switched backend to ibm_torino (133 qubits) and adjusted circuit sizes accordingly - Simplified benchmarking workflow using the new `transpile_with_metrics` helper function - Reran experiments and updated results, plots, and commentary - Removed ACG synthesis path and increased the number of circuits for more stable averages
|
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 |
- Replaced backend selection with service.least_busy(...) for flexibility - Updated markdown text to remove device-specific references - Added note explaining that transpilation may differ across backends
miamico
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
| "\n", | ||
| "2. Apply permutations:\n", | ||
| " We generate five random permutation patterns (`pattern_1` through `pattern_5`) using a fixed seed (42) for reproducibility. Each permutation pattern is applied to a separate quantum circuit (`qc_1` through `qc_5`).\n", | ||
| " We generate five random permutation patterns (`pattern_1` through `pattern_10`) using a fixed seed for reproducibility. Each permutation pattern is applied to a separate quantum circuit (`qc_1` through `qc_10`).\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this now ten random permutation patterns?
|
@henryzou50 whenever you have a minute please check Abby's comment. We should be close to finishing this up! |
This PR overhauls the AI transpiler tutorial following the migration of the Transpiler Service and recent improvements in Qiskit’s standard transpiler stack. In addition to resolving issue #3631 , it updates the tutorial to work entirely in local mode, refreshes benchmarks and analysis, and aligns the notebook with the latest Qiskit APIs and documentation.
Key changes:
generate_ai_pass_managerinstead of the Transpiler Servicepip install 'qiskit-ibm-transpiler[ai-local-mode]'ibm_torino(133 qubits) and adjusted circuit sizes accordinglytranspile_with_metricshelper and updated benchmarking codeResolves: #3631