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

Add ScaledChebyshevPolynomial bloq #1231

Merged
merged 7 commits into from
Jul 31, 2024

Conversation

charlesyuan314
Copy link
Contributor

This bloq is a wrapper around ChebyshevPolynomial that computes Chebyshev polynomials of block encodings $\mathcal{B}[A/\alpha]$ whose normalization factor $\alpha \neq 1$. Following the reference, it constructs a linear combination of Chebyshev polynomials to recover a block encoding of $\mathcal{B}[T_j(A)]$ which is not a scaled version of $\mathcal{B}[T_j(A/\alpha)]$ in general.

Copy link
Contributor

@anurudhp anurudhp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm % docstring nits

@charlesyuan314 charlesyuan314 enabled auto-merge (squash) July 31, 2024 20:34
@charlesyuan314 charlesyuan314 merged commit f2a182f into quantumlib:main Jul 31, 2024
8 checks passed
@charlesyuan314 charlesyuan314 deleted the chebyshev branch July 31, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants