Skip to content
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

[QHC-865] Follow up on Drag Bunching #868

Draft
wants to merge 54 commits into
base: solving-transpilation
Choose a base branch
from

Conversation

GuillermoAbadLopez
Copy link
Contributor

@GuillermoAbadLopez GuillermoAbadLopez commented Jan 14, 2025

TODOs in this PR:

  • Make bunching of consecutive Drag Gates if phis diff! (fill bunch_drag_gates(... only_same_phi=False))
  • Cover changes with tests.

Copy link

linear bot commented Jan 14, 2025

Copy link

🔗Pullpo.io Slack channel

Copy link

pullpo-for-slack bot commented Jan 14, 2025

AI Analysis

Review:

The removal of the TODO comment suggests that the task related to adding bunching drag gates for different phi's has been completed or deemed unnecessary. Changing the parameter only_same_phi to False in the function call may indicate a functional enhancement or a modification in the behavior of the bunch_drag_gates function. Overall, the changes seem to be straightforward and related to improving the functionality of the code.

Detailed file changes

(dropdown):

In circuit_optimizer.py:

  • Removed a TODO comment related to adding bunching drag gates for different phi's.
  • Changed the parameter only_same_phi to False in the bunch_drag_gates function call.

@GuillermoAbadLopez GuillermoAbadLopez self-assigned this Jan 14, 2025
GuillermoAbadLopez and others added 22 commits January 14, 2025 15:51
GuillermoAbadLopez added a commit that referenced this pull request Jan 22, 2025
### TODOs in this PR:
- [x] Make the deletion of gates with no amplitude (fill
`delete_gates_with_no_amplitude(...)`)
- [x] Make bunching of consecutive Drag Gates if phis equal (fill
`bunch_drag_gates(... only_same_phi=True)`)
- [x] Make tests to cover this, and manually check it works!

---
### And in the [next
PR](#868), we will
follow up on Drag Bunching, for different phis.

---------

Co-authored-by: Vyron Vasileiadis <[email protected]>
Base automatically changed from adding_optimize_transpiled_gates to solving-transpilation January 22, 2025 18:20
@GuillermoAbadLopez GuillermoAbadLopez changed the title [QHC-845] Follow up on Drag Bunching [QHC-865] Follow up on Drag Bunching Jan 23, 2025
Copy link

linear bot commented Jan 23, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant