-
Notifications
You must be signed in to change notification settings - Fork 52
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
Simplify QubitizationWalkOperator
: remove specializations for control/adjoint and use defaults instead
#1481
Merged
mpharrigan
merged 18 commits into
quantumlib:main
from
anurudhp:2024/10/29-refactor-walk-op
Nov 4, 2024
Merged
Simplify QubitizationWalkOperator
: remove specializations for control/adjoint and use defaults instead
#1481
mpharrigan
merged 18 commits into
quantumlib:main
from
anurudhp:2024/10/29-refactor-walk-op
Nov 4, 2024
Conversation
This file contains 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
This was referenced Oct 29, 2024
anurudhp
force-pushed
the
2024/10/29-refactor-walk-op
branch
from
October 29, 2024 12:36
ed3f295
to
5ea723a
Compare
… and controlled versions do not match
anurudhp
force-pushed
the
2024/10/29-refactor-walk-op
branch
from
October 29, 2024 14:39
e7f4b2e
to
1df30f6
Compare
mpharrigan
reviewed
Oct 30, 2024
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.
initial review, thanks for the ping
anurudhp
force-pushed
the
2024/10/29-refactor-walk-op
branch
from
October 30, 2024 19:41
c8afa13
to
e1dabca
Compare
mpharrigan
reviewed
Nov 1, 2024
mpharrigan
reviewed
Nov 1, 2024
anurudhp
force-pushed
the
2024/10/29-refactor-walk-op
branch
from
November 1, 2024 20:08
5579ff0
to
b1165b3
Compare
mpharrigan
reviewed
Nov 4, 2024
qualtran/bloqs/chemistry/hubbard_model/qubitization/select_hubbard.py
Outdated
Show resolved
Hide resolved
mpharrigan
approved these changes
Nov 4, 2024
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.
towards #1266
QubitizationWalkOperator
does not need a specialized control, it is handled automatically by the select and reflect ops it decomposes to. The bloq/cirq diagrams also match the default inControlled
.TwoBitSwap
,ZGate
,YGate
.AdjointWithSpecializedCtrl
metabloq, which pushes single bit controls to the subbloq. This fixesAdjoint
prevents specialized control bloqs from being constructed #1480SelectHubbard
. Also fix a bug in it: the decomp does not account forcontrol_val=0
, so use default for that case.