-
Notifications
You must be signed in to change notification settings - Fork 33
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
Remove transpilations inside subexperiment generation #556
Conversation
Pull Request Test Coverage Report for Build 8820682434Details
💛 - Coveralls |
@garrison @ibrahim-shehzad I do think we should move away from DAGCircuit in our workflow until we decide to move entirely to it. This chart shows a pretty dramatic time cost as experiments scale up if we continue using transpiler passes to clean up resets. |
Something funny going on with the reno linter in CI for this PR hmmm |
Docs build is broken on main branch now as well. Submitted #559 to address |
…toolbox into no-transpiles
The chart was made using Tutorial 1 at 100 qubits on the All-Z observable. So 2 partitions, 1 observable. |
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.
The speedup is really impressive! Thanks for putting this all together, it looks great to me.
releasenotes/notes/subexperiment-gen-speedup-41a4e8679353d1d9.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Jim Garrison <[email protected]>
Co-authored-by: Jim Garrison <[email protected]>
…knitting-toolbox into no-transpiles
…yaml Co-authored-by: Jim Garrison <[email protected]>
…knitting-toolbox into no-transpiles
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 great, thanks!
This is due to python 3.8 no longer being available on the macos-latest CI runner. This also restores the ubuntu minimum version to 3.8 so that we test on 3.8 somewhere. #515 (comment) We might see intermittent CI failures again until #556 is merged (expected to be very soon).
…toolbox into no-transpiles
* Bump macos-latest python version This is due to python 3.8 no longer being available on the macos-latest CI runner. This also restores the ubuntu minimum version to 3.8 so that we test on 3.8 somewhere. #515 (comment) We might see intermittent CI failures again until #556 is merged (expected to be very soon). * Update test_latest_versions.yml use python 3.12 on macos, because then we will skip cplex
Fixes #529
Fixes #530
The copies used in the transpilation passes in subexperiment generation start becoming a bottleneck for larger experiments. This PR removes the transpilation in favor of modifying the QuantumCircuit objects directly and in-place. This is more in-line with the rest of our workflow and scales much better in that context.