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

Discussion: Add a Conjugate meta-bloq #1221

Open
anurudhp opened this issue Jul 30, 2024 · 0 comments
Open

Discussion: Add a Conjugate meta-bloq #1221

anurudhp opened this issue Jul 30, 2024 · 0 comments

Comments

@anurudhp
Copy link
Contributor

anurudhp commented Jul 30, 2024

This captures the pattern Conjugate(A, B) $= A^\dagger \cdot B \cdot A$. This has an efficient controlled version: C-Conjugate(A, B) = Conjugate(A, C-B) $= A^\dagger \cdot C\text{-}B \cdot A$.

Some bloqs which have custom controlled version to support the above optimization:

This would require carefully wiring up the registers, though. Especially when the registers of A and B don't match.
See LCUBlockEncodingZeroState for a similar decomposition.

Ref. https://dl.acm.org/doi/pdf/10.1145/3656397, Fig 14 (b). "Conditional Narrowing".

cc @charlesyuan314

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

No branches or pull requests

2 participants